Define PACKAGE macro in all sims' config.h.
[deliverable/binutils-gdb.git] / sim / cr16 / configure
index 8e69d60518b0066e72679fc5eee7449907d4d408..cb3a339d1ee6d4d9e3d723362d78ad80526b2ccc 100644 (file)
@@ -619,6 +619,7 @@ MAKE
 CCDEPMODE
 DEPDIR
 am__leading_dot
+PACKAGE
 RANLIB
 AR
 HDEFINES
@@ -4058,6 +4059,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"
 
This page took 0.02463 seconds and 4 git commands to generate.