diff options
author | Doug Evans <dje@google.com> | 2009-09-15 23:06:42 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-09-15 23:06:42 +0000 |
commit | 6ae841305ce01cf325992c993fac31abc958622f (patch) | |
tree | b931c2fca408108f976222b8d7a2bd4403e2d796 /sim/ppc/configure.ac | |
parent | fa289fb8df4ae53e4141a9de1dcb29de6f9fb85b (diff) | |
download | gdb-6ae841305ce01cf325992c993fac31abc958622f.zip gdb-6ae841305ce01cf325992c993fac31abc958622f.tar.gz gdb-6ae841305ce01cf325992c993fac31abc958622f.tar.bz2 |
* configure.ac (sim_hwflags): Clean up definition, AC_SUBST it.
* configure: Regenerate.
* Makefile.in (SIM_HWFLAGS): New variable.
(STD_CFLAGS, NOWARN_CFLAGS): Add it.
Diffstat (limited to 'sim/ppc/configure.ac')
-rw-r--r-- | sim/ppc/configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/ppc/configure.ac b/sim/ppc/configure.ac index 8a580c8..2dc200c 100644 --- a/sim/ppc/configure.ac +++ b/sim/ppc/configure.ac @@ -301,7 +301,9 @@ else fi if test x"$ac_cv_has_union_semun" = x"yes" -a x"$ac_cv_sysv_sem" = x"yes" ; then - sim_hwflags="-DHAS_UNION_SEMUN"; + sim_hwflags="-DHAS_UNION_SEMUN" +else + sim_hwflags="" fi @@ -901,6 +903,7 @@ AC_SUBST(sim_callback) AC_SUBST(sim_targ_vals) AC_SUBST(sim_fpu_cflags) AC_SUBST(sim_fpu) +AC_SUBST(sim_hwflags) AC_OUTPUT(Makefile, [case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac]) |