[Liboss-commit] CVS: liboss configure.in,1.15,1.16
Brought to you by:
thesin
|
From: Alexander S. <mrv...@us...> - 2002-10-18 22:00:56
|
Update of /cvsroot/liboss/liboss
In directory usw-pr-cvs1:/tmp/cvs-serv3128
Modified Files:
configure.in
Log Message:
More changes. It now compiles. osscat crashes trying to call a symbol acquired from dlsym (open), but i don't think it's dlcompat's fault
Index: configure.in
===================================================================
RCS file: /cvsroot/liboss/liboss/configure.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- configure.in 18 Oct 2002 02:50:50 -0000 1.15
+++ configure.in 18 Oct 2002 22:00:23 -0000 1.16
@@ -86,12 +86,14 @@
dnl Flags not supported by all *cc* variants
AC_TRY_CFLAGS("-Wall", wall="-Wall", wall="")
AC_TRY_CFLAGS("-no-cpp-precomp", nocpp="-no-cpp-precomp", nocpp="")
+AC_TRY_CFLAGS("-mdynamic-no-pic", nopic="-mdynamic-no-pic", nopic="")
dnl
dnl debug cflags
dnl
AC_SUBST(DEBUG_CFLAGS)
-DEBUG_CFLAGS="-g -DDEBUG"
+dnl DEBUG_CFLAGS="-g -DDEBUG"
+DEBUG_CFLAGS=""
dnl
dnl Some include paths ( !!! DO NOT REMOVE !!! )
@@ -101,9 +103,11 @@
dnl Common cflags for all platforms
CFLAGS="$CFLAGS $nocpp $wall -I$prefix/include"
+NONPIC_CFLAGS="$CFLAGS $nopic"
CPPFLAGS="$CPPFLAGS $CFLAGS"
DEBUG_CFLAGS="$CFLAGS $DEBUG_CFLAGS"
LDFLAGS="$LDFLAGS -L$prefix/lib"
+AC_SUBST(NONPIC_CFLAGS)
dnl
dnl Libtool
@@ -154,6 +158,13 @@
AC_SUBST(COREAUDIO_CFLAGS)
AC_SYS_LONG_FILE_NAMES
+
+dnl
+dnl Required libraries
+dnl
+
+AC_CHECK_LIB(dl,dlsym)
+AC_CHECK_LIB(esd,esd_open_sound)
AC_CONFIG_FILES([
Makefile
|