CVS: winex configure.ac,1.108,1.109

[email protected] 31 Jul 2007 19:40:29 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex configure.ac,1.108,1.109Update of /var/lib/cvsd/cvsroot/winex
In directory agravaine:/tmp/cvs-serv31318

Modified Files:
	configure.ac 
Log Message:

- workaround to get X11 Cider builds working


Index: configure.ac
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/configure.ac,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -d -r1.108 -r1.109
--- configure.ac	31 Jul 2007 18:06:31 -0000	1.108
+++ configure.ac	31 Jul 2007 19:40:26 -0000	1.109
@@ -408,6 +408,11 @@
 if test "$have_x" = "yes"
 then
     XLIB="-lXext -lX11"
+    dnl *** For some reason, the X include path isn't getting detected
+    dnl properly on MacOS X; thus for now we'll hardcode it
+    case $host in
+        *darwin*) X_CFLAGS="$X_CFLAGS -I/usr/X11R6/include" ;;
+    esac
     ac_save_CPPFLAGS="$CPPFLAGS"
     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
     LIBTSX11='-L$(TOPOBJDIR)/tsx11 -lwine_tsx11'