30 lines
731 B
Text
30 lines
731 B
Text
|
# make sure we're interpreted by some minimal autoconf
|
||
|
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)
|
||
|
AC_CONFIG_SRCDIR(README)
|
||
|
AM_INIT_AUTOMAKE
|
||
|
AM_CONFIG_HEADER(src/config.h)
|
||
|
|
||
|
# Checks for programs.
|
||
|
AC_PROG_CC
|
||
|
AC_PROG_CPP
|
||
|
AC_PROG_CXX
|
||
|
|
||
|
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
|