Define PACKAGE macro in all sims' config.h.
[deliverable/binutils-gdb.git] / sim / avr / configure
index 464b55511b395a91aa57212510329949b2af56b7..a6af4702a2883ddf787b0a56564f71900990758f 100755 (executable)
@@ -619,6 +619,7 @@ MAKE
 CCDEPMODE
 DEPDIR
 am__leading_dot
+PACKAGE
 RANLIB
 AR
 HDEFINES
@@ -4050,6 +4051,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.029341 seconds and 4 git commands to generate.