configure.in
changeset 605 6399f4e90211
parent 599 28f43c832aaa
child 608 d0fecf67cd93
     1.1 --- a/configure.in	Thu Mar 06 06:02:16 2003 +0000
     1.2 +++ b/configure.in	Thu Mar 06 06:12:41 2003 +0000
     1.3 @@ -415,14 +415,22 @@
     1.4          have_nas=no
     1.5          if test -r /usr/X11R6/include/audio/audiolib.h; then
     1.6              have_nas=yes
     1.7 -        fi
     1.8 -        AC_MSG_RESULT($have_nas)
     1.9 -        if test x$have_nas = xyes; then
    1.10              CFLAGS="$CFLAGS -DNAS_SUPPORT"
    1.11              SYSTEM_LIBS="$SYSTEM_LIBS -laudio -lXt"
    1.12              AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas"
    1.13              AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la"
    1.14 +
    1.15 +        dnl On IRIX, the NAS includes are in a different directory,
    1.16 +        dnl and libnas must be explicitly linked in
    1.17 +
    1.18 +        elif test -r /usr/freeware/include/nas/audiolib.h; then
    1.19 +            have_nas=yes
    1.20 +            CFLAGS="$CFLAGS -DNAS_SUPPORT"
    1.21 +            SYSTEM_LIBS="$SYSTEM_LIBS -lnas -lXt"
    1.22 +            AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas"
    1.23 +            AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la"
    1.24          fi
    1.25 +        AC_MSG_RESULT($have_nas)
    1.26      fi
    1.27  }
    1.28