configure.in
changeset 666 fbec2501cf9f
parent 663 8bedd6d61642
child 675 73506d26a1f4
--- a/configure.in	Wed Aug 06 20:12:00 2003 +0000
+++ b/configure.in	Wed Aug 06 20:20:30 2003 +0000
@@ -1054,7 +1054,7 @@
             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 @@
         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"