diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-01 19:54:10 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-02 00:29:28 -0500 |
commit | 4d4952a63dd231110cd91d2e88c75ad56aa2726f (patch) | |
tree | 293cf985b0cadb515018070c9046706574bacd9d /sim/ppc/configure | |
parent | d264d78607d4fb9fd5d119261ca6f27a89f5b4fe (diff) | |
download | gdb-4d4952a63dd231110cd91d2e88c75ad56aa2726f.zip gdb-4d4952a63dd231110cd91d2e88c75ad56aa2726f.tar.gz gdb-4d4952a63dd231110cd91d2e88c75ad56aa2726f.tar.bz2 |
sim: ppc: fix bad AC_CACHE_CHECK call with semun
The first arg is the cache var name, and this one was typoed relative
to what the call actually set. We also don't need the manual call to
AC_MSG_RESULT as the AC_CACHE_CHECK takes care of it for us.
Diffstat (limited to 'sim/ppc/configure')
-rwxr-xr-x | sim/ppc/configure | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure index 59c4d17..7915721 100755 --- a/sim/ppc/configure +++ b/sim/ppc/configure @@ -3144,7 +3144,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if union semun defined" >&5 $as_echo_n "checking if union semun defined... " >&6; } -if ${ac_cv_HAS_UNION_SEMUN+:} false; then : +if ${ac_cv_has_union_semun+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3167,13 +3167,10 @@ else ac_cv_has_union_semun="no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_union_semun" >&5 $as_echo "$ac_cv_has_union_semun" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAS_UNION_SEMUN" >&5 -$as_echo "$ac_cv_HAS_UNION_SEMUN" >&6; } - if test "$ac_cv_has_union_semun" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5 |