Check for artsc library
Jacek Caban
jack at itma.pwr.wroc.pl
Fri Mar 25 14:54:18 CST 2005
Currently the configure script looking for arts checks only artsc-config
and header files, what is not enought for bi-arch systems with 64-bit
arts available, but with no 32-bit libraries. This patch solves this
problem.
Changelog:
Added checking for artsc library
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.344
diff -u -r1.344 configure.ac
--- configure.ac 19 Mar 2005 17:08:18 -0000 1.344
+++ configure.ac 25 Mar 2005 20:23:31 -0000
@@ -671,10 +671,11 @@
ARTSC_LIBS=`$ARTSCCONFIG --libs`
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ARTSC_CFLAGS"
- AC_TRY_COMPILE([#include <artsc.h>],[arts_stream_t stream;],
- [AC_SUBST(ARTSLIBS, $ARTSC_LIBS)
- AC_SUBST(ARTSINCL, $ARTSC_CFLAGS)
- AC_DEFINE(HAVE_ARTS, 1, [Define if you have ARTS sound server])])
+ AC_CHECK_LIB(artsc,arts_init,
+ [AC_TRY_COMPILE([#include <artsc.h>],[arts_stream_t stream;],
+ [AC_SUBST(ARTSLIBS, $ARTSC_LIBS)
+ AC_SUBST(ARTSINCL, $ARTSC_CFLAGS)
+ AC_DEFINE(HAVE_ARTS, 1, [Define if you have ARTS sound server])])],)
CFLAGS="$save_CFLAGS"
fi
More information about the wine-patches
mailing list