## ## Copyright (C) 2004-2007 Autodesk, Inc. ## ## This library is free software; you can redistribute it and/or ## modify it under the terms of version 2.1 of the GNU Lesser ## General Public License as published by the Free Software Foundation. ## ## This library is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## Lesser General Public License for more details. ## ## You should have received a copy of the GNU Lesser General Public ## License along with this library; if not, write to the Free Software ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## #------------------configure.in---------------------------------------- dnl Configure.in for OSGeo FDO KingOracle Provider #---------------------------------------------------------------------- # Variables # Following are the makefile directories #---------------------------------------------------------------------- AC_INIT(FDOKINGORACLE,4.2.0,http://fdo.osgeo.org) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR(configure.in) AM_INIT_AUTOMAKE # Enable silent rules if supported. Allows for less verbose output while still displaying any compiler/linker warnings/errors m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) AC_PREFIX_DEFAULT(/usr/local/fdo-4.2.0) AC_LANG_C AC_PROG_CC AC_LANG_CPLUSPLUS AC_PROG_CXX AC_PROG_YACC AC_DISABLE_STATIC AM_PROG_LIBTOOL AC_SUBST(VERSION, "4.2.0") # Check for Debug or Release build settings AC_ARG_ENABLE([debug], MAP_HELP_STRING([--enable-debug], [enable debug build [[default=no]]]), [enable_debug=$enableval], [enable_debug=no]) if test $enable_debug = yes; then AC_MSG_NOTICE([Using debug configuration]) CXXFLAGS="-g -MMD -MT " AC_SUBST(CXXFLAGS, ["-g -MMD -MT "]) else AC_MSG_NOTICE([Using optimized configuration]) CXXFLAGS="-MMD -MT " AC_SUBST(CXXFLAGS, ["-O2 -MMD -MT "]) fi ##output Makefiles## AC_CONFIG_FILES(Makefile) AC_CONFIG_FILES([\ inc/Makefile \ src/Makefile \ src/Message/Makefile \ src/Overrides/Makefile \ src/Provider/Makefile]) AC_OUTPUT