comparison configure.in @ 690:b87d8d4c205d

Fixed use of SDL with XInitThreads()
author Sam Lantinga <slouken@libsdl.org>
date Sat, 23 Aug 2003 23:12:19 +0000
parents 91400ecf307d
children 6c119628180d
comparison
equal deleted inserted replaced
689:5bb080d35049 690:b87d8d4c205d
551 , enable_video_x11=yes) 551 , enable_video_x11=yes)
552 if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then 552 if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then
553 AC_PATH_X 553 AC_PATH_X
554 AC_PATH_XTRA 554 AC_PATH_XTRA
555 if test x$have_x = xyes; then 555 if test x$have_x = xyes; then
556 CFLAGS="$CFLAGS $X_CFLAGS -DENABLE_X11 -I$srcdir/include -I$srcdir/src/video" 556 CFLAGS="$CFLAGS $X_CFLAGS -DENABLE_X11 -DXTHREADS -I$srcdir/include -I$srcdir/src/video"
557 if test x$ac_cv_func_shmat != xyes; then 557 if test x$ac_cv_func_shmat != xyes; then
558 CFLAGS="$CFLAGS -DNO_SHARED_MEMORY" 558 CFLAGS="$CFLAGS -DNO_SHARED_MEMORY"
559 fi 559 fi
560 SYSTEM_LIBS="$SYSTEM_LIBS $X_LIBS -lX11 -lXext" 560 SYSTEM_LIBS="$SYSTEM_LIBS $X_LIBS -lX11 -lXext"
561 VIDEO_SUBDIRS="$VIDEO_SUBDIRS x11" 561 VIDEO_SUBDIRS="$VIDEO_SUBDIRS x11"