summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-07-04 23:40:09 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-07-04 23:40:09 +0000
commit426282268bcdd0e0ca973fa79b414e9065fbfd9d (patch)
tree74475ddedbd8a01ff2d315c66fdffe7b59156162 /configure.ac
parent845a0ac68b02148db6f2cca81debf20b2331607b (diff)
Build miinitext.c and fbcmap.c as DDX specific files
Do not define _POSIX_SOURCE on cygwin.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ea958f0ae..7fdd41137 100644
--- a/configure.ac
+++ b/configure.ac
@@ -609,7 +609,14 @@ AC_DEFINE(XFree86XDGA,1,[Build XDGA support])
AC_DEFINE(XF86BIGFONT,1,[Build XFree86 BigFont extension])
AC_DEFINE(XResExtension,1,[Build XRes extension])
AC_DEFINE(DPMSExtension,1,[Build DPMS extension])
-AC_DEFINE(_POSIX_SOURCE,500,[POSIX-compliant source])
+
+dnl CYGWIN does not define fd_set if _POSIX_SOURCE is defined
+case $host_os in
+ cygwin*) ;;
+ *)
+ AC_DEFINE(_POSIX_SOURCE,500,[POSIX-compliant source])
+ ;;
+esac
AC_DEFINE(_XOPEN_SOURCE,1,[X/Open-compliant source])
AC_DEFINE(_BSD_SOURCE,1,[BSD-compliant source])