Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Look for NAS libraries in normal paths (where Ubuntu installs them).
  • Loading branch information
icculus committed Oct 7, 2006
1 parent 5f12a7a commit 2e54c0ffeb81a8ceb9c09cc9b6d462df4a6dd271
Showing with 8 additions and 1 deletion.
  1. +8 −1 configure.in
@@ -513,7 +513,14 @@ AC_HELP_STRING([--enable-nas], [support the NAS audio API [[default=yes]]]),
if test x$enable_audio = xyes -a x$enable_nas = xyes; then
AC_MSG_CHECKING(for NAS audio support)
have_nas=no
if test -r /usr/X11R6/include/audio/audiolib.h; then
AC_CHECK_HEADER(audio/audiolib.h, have_nas_hdr=yes)
AC_CHECK_LIB(audio, AuOpenServer, have_nas_lib=yes)

if test x$have_nas_hdr = xyes -a x$have_nas_lib = xyes; then
have_nas=yes
NAS_LIBS="-laudio"

elif test -r /usr/X11R6/include/audio/audiolib.h; then
have_nas=yes
NAS_CFLAGS="-I/usr/X11R6/include/"
NAS_LIBS="-L/usr/X11R6/lib -laudio -lXt"

0 comments on commit 2e54c0f

Please sign in to comment.