diff configure.in @ 1799:50e9cca3fe7b

Fixed X11 support on Mac OS X Universal build
author Sam Lantinga <slouken@libsdl.org>
date Wed, 10 May 2006 05:17:58 +0000
parents c546353b1ad4
children 8baf6641cd57
line wrap: on
line diff
--- a/configure.in	Wed May 10 04:05:46 2006 +0000
+++ b/configure.in	Wed May 10 05:17:58 2006 +0000
@@ -833,6 +833,8 @@
             if test x$ac_cv_func_shmat != xyes; then
                 X_CFLAGS="$X_CFLAGS -DNO_SHARED_MEMORY"
             fi
+            CFLAGS="$CFLAGS $X_CFLAGS"
+            LDFLAGS="$LDFLAGS $X_LIBS"
 
             AC_DEFINE(SDL_VIDEO_DRIVER_X11)
             SOURCES="$SOURCES $srcdir/src/video/x11/*.c"