Update of /cvsroot/liboss/liboss
In directory usw-pr-cvs1:/tmp/cvs-serv23624
Modified Files:
TODO configure.in
Log Message:
Now soundcard.h uses inline functions. We need to write liboss-config or use pkgconfig, but arts may compile (manually) now
Index: TODO
===================================================================
RCS file: /cvsroot/liboss/liboss/TODO,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TODO 22 Oct 2002 19:46:13 -0000 1.5
+++ TODO 23 Oct 2002 01:28:12 -0000 1.6
@@ -21,3 +21,5 @@
- Are there any flags and such that are needed for eventual support
of other platforms (pure darwin, darwin x86, etc.)?
+
+- Add liboss-config, or an alternate method of adding '-Dopen=___sys_open -Dioctl=___sys_ioctl -Dclose=___sys_close -include @prefix@/include/liboss/soundcard.h -Wno-precomp' to clients.
Index: configure.in
===================================================================
RCS file: /cvsroot/liboss/liboss/configure.in,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- configure.in 22 Oct 2002 19:46:14 -0000 1.22
+++ configure.in 23 Oct 2002 01:28:12 -0000 1.23
@@ -101,10 +101,12 @@
dnl Common cflags for all platforms
CFLAGS="$CFLAGS $nocpp $wall -I${prefix}/include"
NONPIC_CFLAGS="$CFLAGS $nopic"
+CLIENT_CFLAGS="$CFLAGS $INCLUDES -Dopen=___sys_open -Dclose=___sys_close -Dioctl=___sys_ioctl -include soundcard.h"
CPPFLAGS="$CPPFLAGS $CFLAGS"
DEBUG_CFLAGS="$CFLAGS $DEBUG_CFLAGS"
LDFLAGS="$LDFLAGS -L${prefix}/lib"
AC_SUBST(NONPIC_CFLAGS)
+AC_SUBST(CLIENT_CFLAGS)
dnl
dnl Libtool
@@ -161,7 +163,7 @@
dnl dlcompat has a function that's a drop-in replacement
dnl for dlsym that will automatically prepend underscores on a failed lookup
DLSYM_UNDERSCORE=
-AC_CHECK_LIB(dl,dlsym_prepend_underscore,[DLSYM_UNDERSCORE="-Ddlsym=dlsym_prepend_underscore"])
+dnl AC_CHECK_LIB(dl,dlsym_prepend_underscore,[DLSYM_UNDERSCORE="-Ddlsym=dlsym_prepend_underscore"])
AC_SUBST(DLSYM_UNDERSCORE)
AC_ARG_WITH(esd,
|