diff configure.in @ 2163:5f96cf74b782

NAS dynamic loading is going to be have to looked at... *sigh*
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Jul 2007 15:51:17 +0000
parents eff395617ed8
children 2032348afed1
line wrap: on
line diff
--- a/configure.in	Tue Jul 10 14:44:20 2007 +0000
+++ b/configure.in	Tue Jul 10 15:51:17 2007 +0000
@@ -74,8 +74,8 @@
 EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS"
 BUILD_LDFLAGS="$LDFLAGS"
 EXTRA_LDFLAGS="$BASE_LDFLAGS"
-# I can't remember why I added this.  I'm sure it'll come to me...
-#for path in /usr/local; do
+## These are common directories to find software packages
+#for path in /usr/freeware /usr/pkg /usr/X11R6 /usr/local; do
 #    if test -d $path/include; then
 #        EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
 #    fi
@@ -566,7 +566,7 @@
                 AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic NAS loading])
             fi
             if test x$have_loadso = xyes && \
-               test x$enable_nas_shared = xyes && test x$alsa_lib != x; then
+               test x$enable_nas_shared = xyes && test x$nas_lib != x; then
                 AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_NAS_DYNAMIC, "$nas_lib")
             else
                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $NAS_LIBS"