summaryrefslogtreecommitdiff
path: root/sim/erc32/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sim/erc32/configure.ac')
-rw-r--r--sim/erc32/configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/erc32/configure.ac b/sim/erc32/configure.ac
index 976b5958071..f1aeadac36d 100644
--- a/sim/erc32/configure.ac
+++ b/sim/erc32/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(stdlib.h)
# In the Cygwin environment, we need some additional flags.