Commit | Line | Data |
---|---|---|
bae7f79e ILT |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | ||
3 | AC_PREREQ(2.59) | |
4 | AC_INIT | |
5 | AC_CONFIG_SRCDIR([gold.cc]) | |
6 | ||
7 | AC_CANONICAL_TARGET | |
8 | ||
9 | AM_INIT_AUTOMAKE(gold, 0.1) | |
10 | ||
11 | AM_CONFIG_HEADER(config.h:config.in) | |
12 | ||
13 | AC_PROG_CC | |
14 | AC_PROG_CXX | |
15 | AC_PROG_INSTALL | |
16 | ZW_GNU_GETTEXT_SISTER_DIR | |
17 | AM_PO_SUBDIRS | |
18 | ||
19 | AC_EXEEXT | |
20 | ||
21 | AM_BINUTILS_WARNINGS | |
22 | ||
23 | WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'` | |
24 | AC_SUBST(WARN_CXXFLAGS) | |
25 | ||
26 | dnl Force support for large files by default. This may need to be | |
27 | dnl host dependent. If build == host, we can check getconf LFS_CFLAGS. | |
28 | LFS_CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" | |
29 | AC_SUBST(LFS_CXXFLAGS) | |
30 | ||
31 | AM_MAINTAINER_MODE | |
32 | ||
33 | AC_OUTPUT(Makefile po/Makefile.in:po/Make-in) |