]> git.lyx.org Git - lyx.git/blobdiff - configure.ac
MacOSX compile fix.
[lyx.git] / configure.ac
index 8f63d1d759ea69638b4f596aa347e8da906557f4..ecb4cd26c3f99829f953deb2ec3ea1baf7b8511e 100644 (file)
@@ -64,6 +64,9 @@ AC_PROG_CC
 AC_ISC_POSIX
 AC_AIX
 
+### we need to know the byte order for unicode conversions
+AC_C_BIGENDIAN
+
 ### check which frontend we want to use
 LYX_USE_FRONTENDS
 
@@ -144,6 +147,9 @@ AC_SUBST(AIKSAURUS_LIBS)
 
 LYX_USE_INCLUDED_BOOST
 
+# Needed for our char_type
+AC_CHECK_SIZEOF(wchar_t)
+
 ### Setup libtool
 dnl Dirty trick ahead: disable libtool checking for a fortran compiler
 dnl see http://permalink.gmane.org/gmane.comp.gnu.libtool.general/6699
@@ -401,6 +407,8 @@ int mkstemp(char*);
 
 #ifdef __CYGWIN__
 #  define BOOST_POSIX 1
+#  define BOOST_POSIX_API 1
+#  define BOOST_POSIX_PATH 1
 #endif
 
 #if defined(HAVE_NEWAPIS_H)