]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/mn10300/configure
Define PACKAGE macro in all sims' config.h.
[thirdparty/binutils-gdb.git] / sim / mn10300 / configure
index 00fb879e4d4ce9bf7613f9402c37f0b491df0276..1529ac327b6d361283d8a50b5675fa4fcbe3eaad 100755 (executable)
@@ -619,6 +619,7 @@ MAKE
 CCDEPMODE
 DEPDIR
 am__leading_dot
+PACKAGE
 RANLIB
 AR
 HDEFINES
@@ -4072,6 +4073,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"