Mercurial > sdl-ios-xcode
comparison configure.in @ 605:6399f4e90211
IRIX patches from Andrea Suatoni
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 06 Mar 2003 06:12:41 +0000 |
parents | 28f43c832aaa |
children | d0fecf67cd93 |
comparison
equal
deleted
inserted
replaced
604:31d3af76488b | 605:6399f4e90211 |
---|---|
413 if test x$enable_audio = xyes -a x$enable_nas = xyes; then | 413 if test x$enable_audio = xyes -a x$enable_nas = xyes; then |
414 AC_MSG_CHECKING(for NAS audio support) | 414 AC_MSG_CHECKING(for NAS audio support) |
415 have_nas=no | 415 have_nas=no |
416 if test -r /usr/X11R6/include/audio/audiolib.h; then | 416 if test -r /usr/X11R6/include/audio/audiolib.h; then |
417 have_nas=yes | 417 have_nas=yes |
418 fi | |
419 AC_MSG_RESULT($have_nas) | |
420 if test x$have_nas = xyes; then | |
421 CFLAGS="$CFLAGS -DNAS_SUPPORT" | 418 CFLAGS="$CFLAGS -DNAS_SUPPORT" |
422 SYSTEM_LIBS="$SYSTEM_LIBS -laudio -lXt" | 419 SYSTEM_LIBS="$SYSTEM_LIBS -laudio -lXt" |
423 AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas" | 420 AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas" |
424 AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la" | 421 AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la" |
425 fi | 422 |
423 dnl On IRIX, the NAS includes are in a different directory, | |
424 dnl and libnas must be explicitly linked in | |
425 | |
426 elif test -r /usr/freeware/include/nas/audiolib.h; then | |
427 have_nas=yes | |
428 CFLAGS="$CFLAGS -DNAS_SUPPORT" | |
429 SYSTEM_LIBS="$SYSTEM_LIBS -lnas -lXt" | |
430 AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas" | |
431 AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la" | |
432 fi | |
433 AC_MSG_RESULT($have_nas) | |
426 fi | 434 fi |
427 } | 435 } |
428 | 436 |
429 dnl rcg07142001 See if the user wants the disk writer audio driver... | 437 dnl rcg07142001 See if the user wants the disk writer audio driver... |
430 CheckDiskAudio() | 438 CheckDiskAudio() |