]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/frv/configure
Define PACKAGE macro in all sims' config.h.
[thirdparty/binutils-gdb.git] / sim / frv / configure
index 1bbe75da2aabf452d0bdd7bd93dec9c65c41645d..cc027a1a8465c390c47da34d34b57227e3cebc15 100755 (executable)
@@ -623,6 +623,7 @@ MAKE
 CCDEPMODE
 DEPDIR
 am__leading_dot
+PACKAGE
 RANLIB
 AR
 HDEFINES
@@ -4070,6 +4071,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"