diff options
author | Ian Lance Taylor <iant@google.com> | 2006-08-04 23:10:59 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-08-04 23:10:59 +0000 |
commit | bae7f79e03d6405f5ceec0e3e24671e6b30f29ed (patch) | |
tree | 4b9df8c6433411b45963dd75e3a6dcad9a22518e /gold/configure.ac | |
parent | c17d87de17351aed016a9d0b0712cdee4cca5f9e (diff) | |
download | gdb-bae7f79e03d6405f5ceec0e3e24671e6b30f29ed.zip gdb-bae7f79e03d6405f5ceec0e3e24671e6b30f29ed.tar.gz gdb-bae7f79e03d6405f5ceec0e3e24671e6b30f29ed.tar.bz2 |
Initial CVS checkin of gold
Diffstat (limited to 'gold/configure.ac')
-rw-r--r-- | gold/configure.ac | 33 |
1 files changed, 33 insertions, 0 deletions
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) |