diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-08-30 20:05:05 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-08-30 20:05:05 +0000 |
commit | 425d256321f590e4ca86e3294055e9fad135f9b2 (patch) | |
tree | 9bbac135a6bb23998867d4bc3c96d0fddf7ffa0a /configure.ac | |
parent | Cleanup from #7 (diff) | |
download | breakpad-425d256321f590e4ca86e3294055e9fad135f9b2.tar.xz |
Make build system less annoying (#8) r=bryner
- Place objects in the appropriate directories, instead of filling up
the root directory.
- Remove namespace macros, which made maintenance troublesome and which
created a dependency on config.h in public headers
- Skip useless Fortran checks at configure time
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@8 4c0a9323-5329-0410-9bdc-e9ce6186880e
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 |