+2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * configure.ac: also check for <ios> header
+
2003-05-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
- * relyx_configure.ac:
+ * relyx_configure.ac:
* relyx_configure.in: add AM_MAINTAINER_MODE here too.
2003-05-20 Angus Leeming <leeming@lyx.org>
LYX_STD_COUNT
dnl we disable rtti for now
dnl LYX_CXX_RTTI
-AC_CHECK_HEADERS(ostream istream sstream locale limits)
+AC_CHECK_HEADERS(ostream istream sstream locale limits ios)
LYX_CXX_STL_MODERN_STREAMS
### and now some special lyx flags.
+2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * main.C: protect <ios> with HAVE_IOS
+ (main): protect sync_with_stdio with HAVE_IOS
+
2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
* text2.C (cutSelection): adjust
#include "gettext.h"
#include "support/os.h"
+#ifdef HAVE_IOS
#include <ios>
+#endif
int main(int argc, char * argv[])
{
- std::ios::sync_with_stdio(false);
+#ifdef HAVE_IOS
+ std::ios_base::sync_with_stdio(false);
+#endif
os::init(&argc, &argv);