trunk/contrib/daVinci/configure.ac |
|
File:
[Fresco] /
trunk /
contrib /
daVinci / configure.ac
(
download)
Revision:
1628,
Wed May 14 22:42:13 2003 UTC (7 years, 3 months ago) by
tobias
File size: 2400 byte(s)
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)
dnl $Id$
dnl
dnl This source file is a part of the Fresco Project.
dnl Copyright (C) 2000 Stefan Seefeld <stefan@fresco.org>
dnl http://www.fresco.org/
dnl
dnl This library is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl
dnl You should have received a copy of the GNU Library General Public
dnl License along with this library; if not, write to the
dnl Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
dnl MA 02139, USA.
dnl
dnl Process this file with autoconf to produce a configure script.
dnl ------------------------------------------------------------------
dnl Autoconf initialization
dnl ------------------------------------------------------------------
AC_PREREQ(2.53)
AC_REVISION($Revision$)
AC_INIT(daVinci, M2, devel@fresco.org)
AC_CONFIG_SRCDIR(LICENSE)
AC_CONFIG_HEADER(include/daVinci/acconfig.hh:config/acconfig.hh.in)
AC_CONFIG_AUX_DIR(config)
AC_CANONICAL_HOST
AC_PROG_MAKE_SET
FRESCO_PROG_CC_CXX
FRESCO_CHECK_OPTIMIZE
FRESCO_CHECK_DEBUGGING
FRESCO_FLAG_SO
AC_LANG(C++)
dnl ------------------------------------------------------------------
dnl Prague, Babylon, and Fresco
dnl ------------------------------------------------------------------
FRESCO_PACKAGE(Prague, Prague, $PACKAGE_VERSION, ../..)
CPPFLAGS="$CPPFLAGS $Prague_BUILD_CPPFLAGS"
LIBS="$LIBS $Prague_BUILD_LIBS"
FRESCO_PACKAGE(Babylon, Babylon, $PACKAGE_VERSION, ../..)
CPPFLAGS="$CPPFLAGS $Babylon_BUILD_CPPFLAGS"
LIBS="$LIBS $Babylon_BUILD_LIBS"
FRESCO_PACKAGE(Fresco-C++, Fresco_CXX, $PACKAGE_VERSION, ../..)
CPPFLAGS="$CPPFLAGS $Fresco_CXX_BUILD_CPPFLAGS"
LIBS="$LIBS $Fresco_CXX_BUILD_LIBS"
dnl ------------------------------------------------------------------
dnl Output substitution
dnl ------------------------------------------------------------------
AC_MSG_NOTICE([Output Substitution])
AC_CONFIG_FILES([config/local.mk config/synopsis.py])
AC_CONFIG_FILES([Makefile src/Makefile])
mkdir -p lib
mkdir -p bin
AC_OUTPUT