aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/configure.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-02-21 02:49:21 +0000
committerAndrew Cagney <cagney@redhat.com>1997-02-21 02:49:21 +0000
commita4c97499d90ab83a01d80d4c3df2455a73486e3c (patch)
tree9a52d25e56a06fec8fa103dbeb4d7477b1f5d23c /sim/igen/configure.in
parent317df3b530276f2acbdf8950d1d9b76deb83753c (diff)
downloadgdb-a4c97499d90ab83a01d80d4c3df2455a73486e3c.zip
gdb-a4c97499d90ab83a01d80d4c3df2455a73486e3c.tar.gz
gdb-a4c97499d90ab83a01d80d4c3df2455a73486e3c.tar.bz2
Instruction decode generator taken from the PowerPC simulator
and being made more generic.
Diffstat (limited to 'sim/igen/configure.in')
-rw-r--r--sim/igen/configure.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/sim/igen/configure.in b/sim/igen/configure.in
new file mode 100644
index 0000000..0e203d3
--- /dev/null
+++ b/sim/igen/configure.in
@@ -0,0 +1,34 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.5)dnl
+AC_INIT(Makefile.in)
+
+AC_PROG_INSTALL
+AC_PROG_CC
+
+# Put a plausible default for CC_FOR_BUILD in Makefile.
+if test "x$cross_compiling" = "xno"; then
+ CC_FOR_BUILD='$(CC)'
+else
+ CC_FOR_BUILD=gcc
+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(CC_FOR_BUILD)
+AC_SUBST(CFLAGS)
+AR=${AR-ar}
+AC_SUBST(AR)
+AC_PROG_RANLIB
+
+AC_OUTPUT(Makefile,
+[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])