Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
2162:1d23870d8c49 | 2163:5f96cf74b782 |
---|---|
72 esac | 72 esac |
73 BUILD_CFLAGS="$CFLAGS $CPPFLAGS" | 73 BUILD_CFLAGS="$CFLAGS $CPPFLAGS" |
74 EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS" | 74 EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS" |
75 BUILD_LDFLAGS="$LDFLAGS" | 75 BUILD_LDFLAGS="$LDFLAGS" |
76 EXTRA_LDFLAGS="$BASE_LDFLAGS" | 76 EXTRA_LDFLAGS="$BASE_LDFLAGS" |
77 # I can't remember why I added this. I'm sure it'll come to me... | 77 ## These are common directories to find software packages |
78 #for path in /usr/local; do | 78 #for path in /usr/freeware /usr/pkg /usr/X11R6 /usr/local; do |
79 # if test -d $path/include; then | 79 # if test -d $path/include; then |
80 # EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include" | 80 # EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include" |
81 # fi | 81 # fi |
82 # if test -d $path/lib; then | 82 # if test -d $path/lib; then |
83 # EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib" | 83 # EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib" |
564 if test x$have_loadso != xyes && \ | 564 if test x$have_loadso != xyes && \ |
565 test x$enable_nas_shared = xyes; then | 565 test x$enable_nas_shared = xyes; then |
566 AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic NAS loading]) | 566 AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic NAS loading]) |
567 fi | 567 fi |
568 if test x$have_loadso = xyes && \ | 568 if test x$have_loadso = xyes && \ |
569 test x$enable_nas_shared = xyes && test x$alsa_lib != x; then | 569 test x$enable_nas_shared = xyes && test x$nas_lib != x; then |
570 AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_NAS_DYNAMIC, "$nas_lib") | 570 AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_NAS_DYNAMIC, "$nas_lib") |
571 else | 571 else |
572 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $NAS_LIBS" | 572 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $NAS_LIBS" |
573 fi | 573 fi |
574 | 574 |