Fresco/Prague configure.ac,1.43,1.44
Tobias Hunger <[email protected]> Wed, 14 May 2003 17:42:15 -0500
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco/Prague
In directory purcel:/tmp/cvs-serv20833/Prague
Modified Files:
configure.ac
Log Message:
A couple of buildsystem fixes:
* Reactivated some old code from Havard: --enable-optimization and
--enable-debugging should work again (closes bug45)
* --enable-c++-demos renamed to --enable-cxx-demos: Looks like
autoconf does not like + in options (closes bug173)
* Toplevel Makefile should check for "Makefile" in the subproject's dirs:
--disable-sdl should now work, even if builddir == srcdir
(closes bug209)
* Remove -rdynamic flag: We need gcc > 3.0 now and I can't find any
documentation on this flag anymore (closes bug79)
* Various small cleanups like replacing macros that are getting obsolete)
Index: configure.ac
===================================================================
RCS file: /cvs/fresco/Fresco/Prague/configure.ac,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- configure.ac 8 May 2003 04:11:32 -0000 1.43
+++ configure.ac 14 May 2003 22:42:12 -0000 1.44
@@ -31,17 +31,21 @@
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_HEADER(include/Prague/acconfig.hh:config/acconfig.hh.in)
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_HOST
AC_PROG_MAKE_SET
+FRESCO_PROG_CC_CXX
+FRESCO_FLAG_SO
+FRESCO_CHECK_OPTIMIZE
+FRESCO_CHECK_DEBUGGING
dnl ------------------------------------------------------------------
dnl Environment (this needs to go before AC_LANG(C++)
dnl ------------------------------------------------------------------
+AC_LANG(C)
AC_HEADER_STDC
AC_CHECK_FUNCS(getenv putenv setenv unsetenv)
-
AC_LANG(C++)
dnl ------------------------------------------------------------------
@@ -61,8 +65,6 @@
AC_SEARCH_LIBS(recv, [socket resolv])
AC_CHECK_LIB(z, gzsetparams, AC_DEFINE(HAVE_ZLIB, 1, [Define if you have the zlib library.]), [AC_MSG_ERROR([update your zlib, please])])
-
-FRESCO_FLAG_SO
dnl ------------------------------------------------------------------
dnl Thread support