aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/configure.ac
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-10 16:14:50 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-10 16:14:50 +0000
commitb702665739598ec762119fda6dec4a09adc48fc0 (patch)
treecd8672d7e0fc0aae734995f2bd6037d9d620c1da /sim/igen/configure.ac
parent4d074752ec75ec4580c7bea882334755a1ab1e2f (diff)
downloadgdb-b702665739598ec762119fda6dec4a09adc48fc0.zip
gdb-b702665739598ec762119fda6dec4a09adc48fc0.tar.gz
gdb-b702665739598ec762119fda6dec4a09adc48fc0.tar.bz2
Index: arm/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Replace configure.in. Requires autoconf 2.59 and correctly calls AC_CONFIG_SUBDIRS. * configure: Re-generate. Index: common/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * aclocal.m4 (SIM_AC_COMMON): Delete call to AC_CONFIG_AUX_DIR. * configure: Re-generate. Index: d10v/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: erc32/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: frv/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: h8300/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: igen/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: m32r/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: m68hc11/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: mcore/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: mips/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: mn10300/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: ppc/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: sh/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: testsuite/d10v-elf/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: testsuite/frv-elf/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: testsuite/m32r-elf/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: testsuite/mips64el-elf/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: testsuite/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: v850/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate.
Diffstat (limited to 'sim/igen/configure.ac')
-rw-r--r--sim/igen/configure.ac52
1 files changed, 52 insertions, 0 deletions
diff --git a/sim/igen/configure.ac b/sim/igen/configure.ac
new file mode 100644
index 0000000..7a2523d
--- /dev/null
+++ b/sim/igen/configure.ac
@@ -0,0 +1,52 @@
+dnl Process this file with autoconf to produce a configure script.
+sinclude(../common/aclocal.m4)
+AC_PREREQ(2.59)dnl
+AC_INIT(table.h)
+
+AC_PROG_INSTALL
+AC_PROG_CC
+
+SIM_AC_OPTION_WARNINGS
+
+# Put a plausible default for CC_FOR_BUILD in Makefile.
+if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
+ AR_FOR_BUILD='$(AR)'
+ AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
+ CC_FOR_BUILD='$(CC)'
+ CFLAGS_FOR_BUILD='$(CFLAGS)'
+ RANLIB_FOR_BUILD='$(RANLIB)'
+ LIBIBERTY_LIB=../../libiberty/libiberty.a
+else
+ AR_FOR_BUILD=${AR_FOR_BUILD-ar}
+ AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
+ CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
+ CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
+ RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
+ LIBIBERTY_LIB=
+fi
+
+
+AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
+AC_CANONICAL_SYSTEM
+AC_ARG_PROGRAM
+
+. ${srcdir}/../../bfd/configure.host
+
+AC_CONFIG_HEADER(config.h:config.in)
+
+AC_CHECK_HEADERS(stdlib.h string.h strings.h sys/stat.h sys/types.h unistd.h)
+AC_HEADER_DIRENT
+
+AC_SUBST(AR_FOR_BUILD)
+AC_SUBST(AR_FLAGS_FOR_BUILD)
+AC_SUBST(CC_FOR_BUILD)
+AC_SUBST(CFLAGS_FOR_BUILD)
+AC_SUBST(RANLIB_FOR_BUILD)
+AC_SUBST(LIBIBERTY_LIB)
+
+AC_SUBST(AR)
+AC_SUBST(CFLAGS)
+AC_PROG_RANLIB
+
+AC_OUTPUT(Makefile,
+[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])