comparison configure.in @ 666:fbec2501cf9f

ate: Mon, 4 Aug 2003 19:10:14 +0300 From: "Mike Gorchak" Subject: SDL/QNX forgotten fixes Just found, that one chunk for configure.in has not been applied and one for\ gotten by me :) Please add it to CVS. P.S. Now QNX6.2.1 have the dlopen in libc and in the libltdl. So libc's vari\ ant more prefered, and ltdl rest for compatibility. In this small patch I wa\ s added proper checks.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 06 Aug 2003 20:20:30 +0000
parents 8bedd6d61642
children 73506d26a1f4
comparison
equal deleted inserted replaced
665:d27aab66c5d6 666:fbec2501cf9f
1052 AC_MSG_RESULT($video_opengl) 1052 AC_MSG_RESULT($video_opengl)
1053 if test x$video_opengl = xyes; then 1053 if test x$video_opengl = xyes; then
1054 CFLAGS="$CFLAGS -DHAVE_OPENGL" 1054 CFLAGS="$CFLAGS -DHAVE_OPENGL"
1055 SYSTEM_LIBS="$SYSTEM_LIBS -lGL" 1055 SYSTEM_LIBS="$SYSTEM_LIBS -lGL"
1056 if test x$use_dlopen != xyes; then 1056 if test x$use_dlopen != xyes; then
1057 AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl") 1057 AC_CHECK_LIB(c, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS", AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl"))
1058 fi 1058 fi
1059 fi 1059 fi
1060 fi 1060 fi
1061 } 1061 }
1062 1062
2213 CheckPTHREAD 2213 CheckPTHREAD
2214 # Set up files for the main() stub 2214 # Set up files for the main() stub
2215 COPY_ARCH_SRC(src/main, linux, SDL_main.c) 2215 COPY_ARCH_SRC(src/main, linux, SDL_main.c)
2216 # Set up files for the audio library 2216 # Set up files for the audio library
2217 if test x$enable_audio = xyes; then 2217 if test x$enable_audio = xyes; then
2218 CFLAGS="$CFLAGS -DALSA_SUPPORT" 2218 CFLAGS="$CFLAGS -DQNXNTOAUDIO_SUPPORT"
2219 SYSTEM_LIBS="$SYSTEM_LIBS -lasound" 2219 SYSTEM_LIBS="$SYSTEM_LIBS -lasound"
2220 AUDIO_SUBDIRS="$AUDIO_SUBDIRS nto" 2220 AUDIO_SUBDIRS="$AUDIO_SUBDIRS nto"
2221 AUDIO_DRIVERS="$AUDIO_DRIVERS nto/libaudio_nto.la" 2221 AUDIO_DRIVERS="$AUDIO_DRIVERS nto/libaudio_nto.la"
2222 fi 2222 fi
2223 # Set up files for the joystick library 2223 # Set up files for the joystick library