]> git.lyx.org Git - features.git/commitdiff
Add defines needed on cygwin
authorEnrico Forestieri <forenr@lyx.org>
Tue, 12 Sep 2006 00:54:07 +0000 (00:54 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 12 Sep 2006 00:54:07 +0000 (00:54 +0000)
* configure.ac: define BOOST_POSIX_API and BOOST_POSIX_PATH
on cygwin (needed by boost 1.34).

* development/scons/SConstruct: ditto.

* development/cmake/config.h.cmake: ditto.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14980 a592a061-630c-0410-9148-cb99ea01b6c8

configure.ac
development/cmake/config.h.cmake
development/scons/SConstruct

index 5d1bbb19f75f82514fcb9996a2345ad83ee6e4e0..c2c89c2abad6c5677640805ce9895715da893c89 100644 (file)
@@ -404,6 +404,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)
index 4fd101b168281bd790ba1b0d91d39d763199413b..eb0ec2469fc213d955a82fa98306567ed4900001 100644 (file)
 
 #ifdef __CYGWIN__
 #  define BOOST_POSIX 1
+#  define BOOST_POSIX_API 1
+#  define BOOST_POSIX_PATH 1
 #endif
 
 #if defined(HAVE_NEWAPIS_H)
 
 
 
-#endif
\ No newline at end of file
+#endif
index 49edb08738e901d2e472c05a53d45a206f4653a9..e52c9e9ec517768ee6b35d96c64d168325d2abec 100644 (file)
@@ -931,6 +931,8 @@ if not fast_start or not os.path.isfile(boost_config_h) \
 
 #ifdef __CYGWIN__
 #  define BOOST_POSIX 1
+#  define BOOST_POSIX_API 1
+#  define BOOST_POSIX_PATH 1
 #endif
 
 #define BOOST_ALL_NO_LIB 1
@@ -1105,7 +1107,13 @@ int count()
                 'libstdc++ pedantic debug mode'
             ),
             (os.name != 'nt', 'BOOST_POSIX',
-                'Indicates to boost which API to use (posix or windows).'
+                'Indicates to boost < 1.34 which API to use (posix or windows).'
+            ),
+            (os.name != 'nt', 'BOOST_POSIX_API',
+                'Indicates to boost 1.34 which API to use (posix or windows).'
+            ),
+            (os.name != 'nt', 'BOOST_POSIX_PATH',
+                'Indicates to boost 1.34 which path style to use (posix or windows).'
             ),
             (spell_engine is not None, spell_engine,
                 'Spell engine to use'