comparison configure.in @ 419:3d8ad40ef561

Allow building from another top level directory
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jun 2002 17:47:18 +0000
parents 104f32d04cd1
children edbbe5775244
comparison
equal deleted inserted replaced
418:337f3ec4c385 419:3d8ad40ef561
546 , enable_video_x11=yes) 546 , enable_video_x11=yes)
547 if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then 547 if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then
548 AC_PATH_X 548 AC_PATH_X
549 AC_PATH_XTRA 549 AC_PATH_XTRA
550 if test x$have_x = xyes; then 550 if test x$have_x = xyes; then
551 CFLAGS="$CFLAGS $X_CFLAGS -DENABLE_X11 -Iinclude -Isrc/video" 551 CFLAGS="$CFLAGS $X_CFLAGS -DENABLE_X11 -I\$(top_srcdir)/include -I\$(top_srcdir)/src/video"
552 if test x$ac_cv_func_shmat != xyes; then 552 if test x$ac_cv_func_shmat != xyes; then
553 CFLAGS="$CFLAGS -DNO_SHARED_MEMORY" 553 CFLAGS="$CFLAGS -DNO_SHARED_MEMORY"
554 fi 554 fi
555 SYSTEM_LIBS="$SYSTEM_LIBS $X_LIBS -lX11 -lXext" 555 SYSTEM_LIBS="$SYSTEM_LIBS $X_LIBS -lX11 -lXext"
556 VIDEO_SUBDIRS="$VIDEO_SUBDIRS x11" 556 VIDEO_SUBDIRS="$VIDEO_SUBDIRS x11"