aboutsummaryrefslogtreecommitdiff
path: root/sim/common/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/configure.ac')
-rw-r--r--sim/common/configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/configure.ac b/sim/common/configure.ac
index a67273d..834ef51 100644
--- a/sim/common/configure.ac
+++ b/sim/common/configure.ac
@@ -1,9 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)dnl
AC_INIT(Makefile.in)
+AC_CONFIG_HEADER(cconfig.h:config.in)
-# This is intended for use by the target specific directories, and by us.
-SIM_AC_COMMON(cconfig.h)
+# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
+# it by inlining the macro's contents.
+sinclude(../common/common.m4)
# Put a useful copy of CPP_FOR_TARGET in Makefile.
# This is only used to build the target values header files. These files are