aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-09-15 23:26:44 +0000
committerDoug Evans <dje@google.com>2009-09-15 23:26:44 +0000
commitbf0275b1b5068b93f517f6fcac7ab4739808558d (patch)
tree3b620e0546a17a46913c213c3843c8fbb1b6b88e /sim/ppc/configure
parent6ae841305ce01cf325992c993fac31abc958622f (diff)
downloadgdb-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')
-rwxr-xr-xsim/ppc/configure8
1 files changed, 3 insertions, 5 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure
index 872a9db..abdfdb2 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -589,7 +589,6 @@ ac_includes_default="\
#endif"
ac_subst_vars='LTLIBOBJS
-sim_hwflags
sim_fpu
sim_fpu_cflags
sim_targ_vals
@@ -3741,9 +3740,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"
-else
- sim_hwflags=""
+
+$as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
+
fi
@@ -6013,7 +6012,6 @@ fi
-
ac_config_files="$ac_config_files Makefile"
ac_config_commands="$ac_config_commands default"