diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index 801fd4ee..5fad3241 100644 --- a/configure.ac +++ b/configure.ac @@ -1,29 +1,39 @@ -# make sure we're interpreted by some minimal autoconf +dnl Copyright (C) 2006 Google Inc. +dnl +dnl Licensed under the Apache License, Version 2.0 (the "License"); +dnl you may not use this file except in compliance with the License. +dnl You may obtain a copy of the License at +dnl +dnl http://www.apache.org/licenses/LICENSE-2.0 +dnl +dnl Unless required by applicable law or agreed to in writing, software +dnl distributed under the License is distributed on an "AS IS" BASIS, +dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +dnl See the License for the specific language governing permissions and +dnl limitations under the License. + + AC_PREREQ(2.57) AC_INIT(airbag, 0.1, opensource@google.com) -# The argument here is just something that should be in the current directory -# (for sanity checking) +dnl Sanity check: the argument is just a file that should exist. AC_CONFIG_SRCDIR(README) -AM_INIT_AUTOMAKE +AC_CONFIG_AUX_DIR(autotools) + +AM_INIT_AUTOMAKE(subdir-objects) AM_CONFIG_HEADER(src/config.h) -# Checks for programs. AC_PROG_CC AC_PROG_CPP AC_PROG_CXX +dnl Prevent AC_PROG_LIBTOOL from looking for Fortran support. We don't use +dnl any Fortran here. +define(AC_PROG_F77) AC_PROG_LIBTOOL AC_SUBST(LIBTOOL_DEPS) -# Check whether some low-level functions/files are available AC_HEADER_STDC -# Find out what namespace 'normal' STL code lives in, and also what namespace -# the user wants our classes to be defined in -AC_CXX_STL_NAMESPACE -AC_DEFINE_GOOGLE_NAMESPACE(google_airbag) - -# Write generated configuration file AC_CONFIG_FILES([Makefile]) AC_OUTPUT |