Commit 6f670b13 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

The NAS headers and libraries are sometimes stored in the X

directories.
parent 3fcf37a0
......@@ -326,6 +326,15 @@ This prevents linking to OpenGL. Delete the file and restart configure.])
fi
fi
dnl **** Check for NAS ****
AC_SUBST(NASLIBS,"")
AC_CHECK_HEADERS(audio/audiolib.h,
[AC_CHECK_HEADERS(audio/soundlib.h,,,[#include <audio/audiolib.h>])
AC_CHECK_LIB(audio,AuCreateFlow,
[AC_DEFINE(HAVE_NAS,1,[Define if you have NAS including devel headers])
NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"],,
[-lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS])])
CPPFLAGS="$ac_save_CPPFLAGS"
XFILES='$(XFILES)'
else
......@@ -604,15 +613,6 @@ then
ALSALIBS="-lasound")
fi
dnl **** Check for NAS ****
AC_SUBST(NASLIBS,"")
AC_CHECK_HEADERS(audio/audiolib.h,
[AC_CHECK_HEADERS(audio/soundlib.h,,,[#include <audio/audiolib.h>])
AC_CHECK_LIB(audio,AuCreateFlow,
[AC_DEFINE(HAVE_NAS,1,[Define if you have NAS including devel headers])
NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"],,
[-lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS])])
dnl **** Check for libaudioio (which can be used to get solaris audio support) ****
AC_SUBST(AUDIOIOLIBS,"")
......@@ -969,7 +969,6 @@ AC_CHECK_HEADERS(\
float.h \
ieeefp.h \
io.h \
libaudioio.h \
libio.h \
libutil.h \
link.h \
......
......@@ -4,6 +4,7 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = winenas.drv
IMPORTS = winmm user32 kernel32
EXTRAINCL = @X_CFLAGS@
EXTRALIBS = @NASLIBS@
LDDLLFLAGS = @LDDLLFLAGS@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment