diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-01 23:22:17 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-02 00:31:08 -0500 |
commit | 568432432a3942d39a67e011f02b588e8f49fef7 (patch) | |
tree | 4c45881755e541102eb930edfdeef03307d223a5 /sim/configure | |
parent | d472066471d9c932cc34e1097a8c53a902781cce (diff) | |
download | binutils-568432432a3942d39a67e011f02b588e8f49fef7.zip binutils-568432432a3942d39a67e011f02b588e8f49fef7.tar.gz binutils-568432432a3942d39a67e011f02b588e8f49fef7.tar.bz2 |
sim: ppc: move long long test to top-level
While the sim code doesn't utilize HAVE_LONG_LONG itself, other code
(like libiberty) seem to, so check for it in the top-level for all
ports to leverage.
Diffstat (limited to 'sim/configure')
-rwxr-xr-x | sim/configure | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sim/configure b/sim/configure index a305986..3c09fbc 100755 --- a/sim/configure +++ b/sim/configure @@ -8624,6 +8624,16 @@ _ACEOF fi +ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" +if test "x$ac_cv_type_long_long" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_LONG_LONG 1 +_ACEOF + + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if union semun defined" >&5 $as_echo_n "checking if union semun defined... " >&6; } @@ -12420,7 +12430,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12423 "configure" +#line 12433 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12526,7 +12536,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12529 "configure" +#line 12539 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |