From bae7f79e03d6405f5ceec0e3e24671e6b30f29ed Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 4 Aug 2006 23:10:59 +0000 Subject: Initial CVS checkin of gold --- gold/configure.ac | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 gold/configure.ac (limited to 'gold/configure.ac') diff --git a/gold/configure.ac b/gold/configure.ac new file mode 100644 index 0000000..9e2aba0 --- /dev/null +++ b/gold/configure.ac @@ -0,0 +1,33 @@ +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT +AC_CONFIG_SRCDIR([gold.cc]) + +AC_CANONICAL_TARGET + +AM_INIT_AUTOMAKE(gold, 0.1) + +AM_CONFIG_HEADER(config.h:config.in) + +AC_PROG_CC +AC_PROG_CXX +AC_PROG_INSTALL +ZW_GNU_GETTEXT_SISTER_DIR +AM_PO_SUBDIRS + +AC_EXEEXT + +AM_BINUTILS_WARNINGS + +WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'` +AC_SUBST(WARN_CXXFLAGS) + +dnl Force support for large files by default. This may need to be +dnl host dependent. If build == host, we can check getconf LFS_CFLAGS. +LFS_CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" +AC_SUBST(LFS_CXXFLAGS) + +AM_MAINTAINER_MODE + +AC_OUTPUT(Makefile po/Makefile.in:po/Make-in) -- cgit v1.1