comparison 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
comparison
equal deleted inserted replaced
1798:49b4b8413734 1799:50e9cca3fe7b
831 831
832 X_CFLAGS="$X_CFLAGS -DXTHREADS" 832 X_CFLAGS="$X_CFLAGS -DXTHREADS"
833 if test x$ac_cv_func_shmat != xyes; then 833 if test x$ac_cv_func_shmat != xyes; then
834 X_CFLAGS="$X_CFLAGS -DNO_SHARED_MEMORY" 834 X_CFLAGS="$X_CFLAGS -DNO_SHARED_MEMORY"
835 fi 835 fi
836 CFLAGS="$CFLAGS $X_CFLAGS"
837 LDFLAGS="$LDFLAGS $X_LIBS"
836 838
837 AC_DEFINE(SDL_VIDEO_DRIVER_X11) 839 AC_DEFINE(SDL_VIDEO_DRIVER_X11)
838 SOURCES="$SOURCES $srcdir/src/video/x11/*.c" 840 SOURCES="$SOURCES $srcdir/src/video/x11/*.c"
839 EXTRA_CFLAGS="$EXTRA_CFLAGS $X_CFLAGS" 841 EXTRA_CFLAGS="$EXTRA_CFLAGS $X_CFLAGS"
840 if test x$have_loadso != xyes && \ 842 if test x$have_loadso != xyes && \