]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/cris/configure
Define PACKAGE macro in all sims' config.h.
[thirdparty/binutils-gdb.git] / sim / cris / configure
index 9bfebd58aefb941af52a9e8e9805926412a93ade..153be18b47d9799d8248b2c99056faa1327ba3a8 100755 (executable)
@@ -622,6 +622,7 @@ MAKE
 CCDEPMODE
 DEPDIR
 am__leading_dot
+PACKAGE
 RANLIB
 AR
 HDEFINES
@@ -4077,6 +4078,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"