bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame^] | 1 | # make sure we're interpreted by some minimal autoconf |
| 2 | AC_PREREQ(2.57) |
| 3 | |
| 4 | AC_INIT(airbag, 0.1, opensource@google.com) |
| 5 | # The argument here is just something that should be in the current directory |
| 6 | # (for sanity checking) |
| 7 | AC_CONFIG_SRCDIR(README) |
| 8 | AM_INIT_AUTOMAKE |
| 9 | AM_CONFIG_HEADER(src/config.h) |
| 10 | |
| 11 | # Checks for programs. |
| 12 | AC_PROG_CC |
| 13 | AC_PROG_CPP |
| 14 | AC_PROG_CXX |
| 15 | |
| 16 | AC_PROG_LIBTOOL |
| 17 | AC_SUBST(LIBTOOL_DEPS) |
| 18 | |
| 19 | # Check whether some low-level functions/files are available |
| 20 | AC_HEADER_STDC |
| 21 | |
| 22 | # Find out what namespace 'normal' STL code lives in, and also what namespace |
| 23 | # the user wants our classes to be defined in |
| 24 | AC_CXX_STL_NAMESPACE |
| 25 | AC_DEFINE_GOOGLE_NAMESPACE(google_airbag) |
| 26 | |
| 27 | # Write generated configuration file |
| 28 | AC_CONFIG_FILES([Makefile]) |
| 29 | AC_OUTPUT |