[ gas/ChangeLog ]
[binutils.git] / gold / configure.ac
blob9e2aba0bfbe13123d6578333d4680c11748bfb46
1 dnl Process this file with autoconf to produce a configure script.
3 AC_PREREQ(2.59)
4 AC_INIT
5 AC_CONFIG_SRCDIR([gold.cc])
7 AC_CANONICAL_TARGET
9 AM_INIT_AUTOMAKE(gold, 0.1)
11 AM_CONFIG_HEADER(config.h:config.in)
13 AC_PROG_CC
14 AC_PROG_CXX
15 AC_PROG_INSTALL
16 ZW_GNU_GETTEXT_SISTER_DIR
17 AM_PO_SUBDIRS
19 AC_EXEEXT
21 AM_BINUTILS_WARNINGS
23 WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
24 AC_SUBST(WARN_CXXFLAGS)
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)
31 AM_MAINTAINER_MODE
33 AC_OUTPUT(Makefile po/Makefile.in:po/Make-in)