Fresco/Berlin configure.ac,1.63,1.64

Tobias Hunger <[email protected]> Wed, 14 May 2003 17:42:42 -0500
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin
In directory purcel:/tmp/cvs-serv20833/Berlin

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/Berlin/configure.ac,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- configure.ac	25 Apr 2003 18:41:13 -0000	1.63
+++ configure.ac	14 May 2003 22:42:10 -0000	1.64
@@ -33,16 +33,14 @@
 AC_CONFIG_HEADER(include/Berlin/acconfig.hh:config/acconfig.hh.in)
 AC_CONFIG_AUX_DIR(config)
 
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_HOST
 
 AC_PROG_MAKE_SET
-AC_LANG(C++)
-
-dnl ------------------------------------------------------------------
-dnl General flags
-dnl ------------------------------------------------------------------
-
+FRESCO_PROG_CC_CXX
+FRESCO_CHECK_OPTIMIZE
+FRESCO_CHECK_DEBUGGING
 FRESCO_FLAG_SO
+AC_LANG(C++)
 
 dnl ------------------------------------------------------------------
 dnl Text rendering
@@ -53,7 +51,7 @@
 FRESCO_FREETYPE_CHECK(9.2.3,,[AC_MSG_ERROR([can't compile Server without freetype])])
 
 AC_ARG_WITH(png-prefix,
-  [  --with-png-prefix=PFX   Prefix where PNG library is installed (optional)],
+  AC_HELP_STRING([--with-png-prefix=PFX], [Prefix where PNG library is installed (optional)]),
   [png_prefix="$withval"; png_path="$PATH:$withval/bin"],
   [png_prefix=""; png_path="$PATH"])