diff options
author | Naohiro Tamura <naohirot@fujitsu.com> | 2021-05-22 02:42:48 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-06-04 10:16:00 -0300 |
commit | b190bccc8a7e4919d3bd68a153577284f201819a (patch) | |
tree | 04374fc6123931c91c08adb77c372986ce9c9053 /sysdeps/s390/configure | |
parent | 57094e576aed174317fb7de2da34be8536891678 (diff) | |
download | glibc-b190bccc8a7e4919d3bd68a153577284f201819a.tar.gz glibc-b190bccc8a7e4919d3bd68a153577284f201819a.tar.xz glibc-b190bccc8a7e4919d3bd68a153577284f201819a.zip |
configure: Replaced obsolete AC_TRY_COMPILE
This patch replaced obsolete AC_TRY_COMPILE to AC_COMPILE_IFELSE or AC_PREPROC_IFELSE. It has been confirmed that GNU 'autoconf' 2.69 suppressed obsolete warnings, updated the following files: - configure - sysdeps/mach/configure - sysdeps/mach/hurd/configure - sysdeps/s390/configure - sysdeps/unix/sysv/linux/configure and didn't change the following files: - sysdeps/ieee754/ldbl-opt/configure - sysdeps/unix/sysv/linux/powerpc/configure Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/s390/configure')
-rw-r--r-- | sysdeps/s390/configure | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/s390/configure b/sysdeps/s390/configure index 7eaefbabcf..431088acad 100644 --- a/sysdeps/s390/configure +++ b/sysdeps/s390/configure @@ -301,6 +301,7 @@ then fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC is sufficient to build libc on s390x" >&5 $as_echo_n "checking if $CC is sufficient to build libc on s390x... " >&6; } if ${libc_cv_compiler_ok_on_s390x+:} false; then : @@ -322,12 +323,12 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO"; then : libc_cv_compiler_ok_on_s390x=yes else libc_cv_compiler_ok_on_s390x=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_compiler_ok_on_s390x" >&5 $as_echo "$libc_cv_compiler_ok_on_s390x" >&6; } |