configure.in
changeset 1799 50e9cca3fe7b
parent 1783 c546353b1ad4
child 1806 8baf6641cd57
--- 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"