[Liboss-commit] CVS: liboss configure.in,1.33,1.34
Brought to you by:
thesin
|
From: Alexander S. <mrv...@us...> - 2003-01-11 23:56:02
|
Update of /cvsroot/liboss/liboss
In directory sc8-pr-cvs1:/tmp/cvs-serv1554
Modified Files:
configure.in
Log Message:
It now compiles. Also, I made it so it should dlopen() libc.so on non-Darwin platforms, so this should, theorectically, be cross-platform. Someone go try it.
Index: configure.in
===================================================================
RCS file: /cvsroot/liboss/liboss/configure.in,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- configure.in 6 Jan 2003 21:52:54 -0000 1.33
+++ configure.in 11 Jan 2003 23:55:58 -0000 1.34
@@ -65,7 +65,9 @@
AM_INIT_AUTOMAKE([dist-bzip2])
AC_PROG_CC
+AC_PROG_CPP
AC_PROG_CXX
+AC_PROG_CXXCPP
AC_PROG_GCC_TRADITIONAL
AC_PROG_INSTALL
AC_PROG_MAKE_SET
@@ -89,6 +91,11 @@
dnl
INCLUDES='-I$(top_srcdir) -I$(top_srcdir)/include'
AC_SUBST(INCLUDES)
+
+dnl where's 'open'?
+SYSTEMLIB="/usr/lib/libc.so"
+AC_CHECK_LIB(System,ioctl,[SYSTEMLIB="/usr/lib/libSystem.dylib"])
+AC_SUBST(SYSTEMLIB)
dnl Common cflags for all platforms
CFLAGS="$CFLAGS $nocpp $wall -I${prefix}/include -O2 -fprefetch-loop-arrays -frename-registers -mcpu=750 -mtune=750 -mmultiple -mstring"
|