diff options
author | Doug Evans <dje@google.com> | 2009-09-15 23:26:44 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-09-15 23:26:44 +0000 |
commit | bf0275b1b5068b93f517f6fcac7ab4739808558d (patch) | |
tree | 3b620e0546a17a46913c213c3843c8fbb1b6b88e /sim/ppc/configure.ac | |
parent | 6ae841305ce01cf325992c993fac31abc958622f (diff) | |
download | gdb-bf0275b1b5068b93f517f6fcac7ab4739808558d.zip gdb-bf0275b1b5068b93f517f6fcac7ab4739808558d.tar.gz gdb-bf0275b1b5068b93f517f6fcac7ab4739808558d.tar.bz2 |
back out previous patch, replace with
* configure.ac (sim_hwflags): Use AC_DEFINE to define HAVE_UNION_SEMUN.
* configure: Regenerate.
* config.in: Regenerate.
* hw_sem.c: #include "config.h".
(HAVE_UNION_SEMUN): Renamed from HAS_UNION_SEMUN.
Diffstat (limited to 'sim/ppc/configure.ac')
-rw-r--r-- | sim/ppc/configure.ac | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sim/ppc/configure.ac b/sim/ppc/configure.ac index 2dc200c..e8ccfe9 100644 --- a/sim/ppc/configure.ac +++ b/sim/ppc/configure.ac @@ -301,9 +301,8 @@ 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" -else - sim_hwflags="" + AC_DEFINE(HAVE_UNION_SEMUN, 1, + [Define if union semun is defined in <sys/sem.h>]) fi @@ -903,7 +902,6 @@ 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]) |