Mercurial > sdl-ios-xcode
comparison configure.in @ 3823:c562b1a12f82 SDL-ryan-multiple-audio-device
Look for NAS libraries in normal paths (where Ubuntu installs them).
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 07 Oct 2006 06:18:15 +0000 |
parents | da2ea0694d11 |
children | 76c5a414b996 |
comparison
equal
deleted
inserted
replaced
3822:748707e2ddd1 | 3823:c562b1a12f82 |
---|---|
511 AC_HELP_STRING([--enable-nas], [support the NAS audio API [[default=yes]]]), | 511 AC_HELP_STRING([--enable-nas], [support the NAS audio API [[default=yes]]]), |
512 , enable_nas=yes) | 512 , enable_nas=yes) |
513 if test x$enable_audio = xyes -a x$enable_nas = xyes; then | 513 if test x$enable_audio = xyes -a x$enable_nas = xyes; then |
514 AC_MSG_CHECKING(for NAS audio support) | 514 AC_MSG_CHECKING(for NAS audio support) |
515 have_nas=no | 515 have_nas=no |
516 if test -r /usr/X11R6/include/audio/audiolib.h; then | 516 AC_CHECK_HEADER(audio/audiolib.h, have_nas_hdr=yes) |
517 AC_CHECK_LIB(audio, AuOpenServer, have_nas_lib=yes) | |
518 | |
519 if test x$have_nas_hdr = xyes -a x$have_nas_lib = xyes; then | |
520 have_nas=yes | |
521 NAS_LIBS="-laudio" | |
522 | |
523 elif test -r /usr/X11R6/include/audio/audiolib.h; then | |
517 have_nas=yes | 524 have_nas=yes |
518 NAS_CFLAGS="-I/usr/X11R6/include/" | 525 NAS_CFLAGS="-I/usr/X11R6/include/" |
519 NAS_LIBS="-L/usr/X11R6/lib -laudio -lXt" | 526 NAS_LIBS="-L/usr/X11R6/lib -laudio -lXt" |
520 | 527 |
521 dnl On IRIX, the NAS includes are in a different directory, | 528 dnl On IRIX, the NAS includes are in a different directory, |