Patch: fix configure.ac test to include -lm for libaudio(NAS)
sol11x86 at comcast.net
sol11x86 at comcast.net
Sat Apr 21 10:54:26 CDT 2007
This patches fixes the configure to recognize libaudio (NAS) on
Solaris. Prior to this patch, no sound was made. small progress
after the patch was static, though no surprising given most of
the commets I've read regarding audio.
Ben
---
configure.ac | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7895ec5..4bf3102 100644
--- a/configure.ac
+++ b/configure.ac
@@ -459,11 +459,11 @@ then
AC_CHECK_LIB(audio,AuCreateFlow,
[AC_DEFINE(HAVE_NAS,1,[Define if you have NAS including devel headers])
AC_CHECK_LIB(Xau,XauGetBestAuthByAddr,
- [NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"],
- [NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"],
- [$X_LIBS])
+ [NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS -lm"],
+ [NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS -lm"],
+ [$X_LIBS -lm])
],,
- [-lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS])])
+ [-lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS -lm])])
CPPFLAGS="$ac_save_CPPFLAGS"
XFILES='$(XFILES)'
--
1.5.1.1
More information about the wine-patches
mailing list