]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/m32r/configure
Define PACKAGE macro in all sims' config.h.
[thirdparty/binutils-gdb.git] / sim / m32r / configure
index 5a68f03090394045825dad826e430d0a20642dae..382a4b213bc997bf034d814d49332fc0025d74b8 100755 (executable)
@@ -624,6 +624,7 @@ MAKE
 CCDEPMODE
 DEPDIR
 am__leading_dot
+PACKAGE
 RANLIB
 AR
 HDEFINES
@@ -4071,6 +4072,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"