# HG changeset patch
# User Sam Lantinga <slouken@libsdl.org>
# Date 1184082677 0
# Node ID 5f96cf74b78250372a910f191763ba546a2e5780
# Parent  1d23870d8c493e460807f44578445c771df00e32
NAS dynamic loading is going to be have to looked at... *sigh*

diff -r 1d23870d8c49 -r 5f96cf74b782 configure.in
--- 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"