aboutsummaryrefslogtreecommitdiff
path: root/sim/common/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/configure')
-rwxr-xr-xsim/common/configure12
1 files changed, 12 insertions, 0 deletions
diff --git a/sim/common/configure b/sim/common/configure
index a9d8925..d6ad959 100755
--- a/sim/common/configure
+++ b/sim/common/configure
@@ -620,6 +620,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -3854,6 +3855,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"