aboutsummaryrefslogtreecommitdiff
path: root/sim/mcore/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mcore/configure.ac')
-rw-r--r--sim/mcore/configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/mcore/configure.ac b/sim/mcore/configure.ac
index 1ee4395..78ef414 100644
--- a/sim/mcore/configure.ac
+++ b/sim/mcore/configure.ac
@@ -1,10 +1,14 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)dnl
AC_INIT(Makefile.in)
+AC_CONFIG_HEADER(config.h:config.in)
-sinclude(../common/common.m4)
sinclude(../common/aclocal.m4)
+# 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)
+
AC_CHECK_HEADERS(unistd.h)
SIM_AC_OUTPUT