From 0918a8972ccd909863e958909180e3c31be42cb2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 6 Aug 2003 20:20:30 +0000 Subject: [PATCH] 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. --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index ff3929804..dd55d26d1 100644 --- a/configure.in +++ b/configure.in @@ -1054,7 +1054,7 @@ CheckOpenGLQNX() CFLAGS="$CFLAGS -DHAVE_OPENGL" SYSTEM_LIBS="$SYSTEM_LIBS -lGL" if test x$use_dlopen != xyes; then - AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl") + AC_CHECK_LIB(c, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS", AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl")) fi fi fi @@ -2215,7 +2215,7 @@ case "$target" in COPY_ARCH_SRC(src/main, linux, SDL_main.c) # Set up files for the audio library if test x$enable_audio = xyes; then - CFLAGS="$CFLAGS -DALSA_SUPPORT" + CFLAGS="$CFLAGS -DQNXNTOAUDIO_SUPPORT" SYSTEM_LIBS="$SYSTEM_LIBS -lasound" AUDIO_SUBDIRS="$AUDIO_SUBDIRS nto" AUDIO_DRIVERS="$AUDIO_DRIVERS nto/libaudio_nto.la"