Add defines needed on cygwin

* 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
This commit is contained in:
Enrico Forestieri 2006-09-12 00:54:07 +00:00
parent d17a57a6f3
commit 1435670790
3 changed files with 14 additions and 2 deletions

View 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)

View File

@ -136,6 +136,8 @@
#ifdef __CYGWIN__
# define BOOST_POSIX 1
# define BOOST_POSIX_API 1
# define BOOST_POSIX_PATH 1
#endif
#if defined(HAVE_NEWAPIS_H)
@ -151,4 +153,4 @@
#endif
#endif

View 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'