diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/configure')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/configure | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/configure b/sysdeps/unix/sysv/linux/powerpc/configure index d6d091a..61ae675 100644 --- a/sysdeps/unix/sysv/linux/powerpc/configure +++ b/sysdeps/unix/sysv/linux/powerpc/configure @@ -7,8 +7,8 @@ printf %s "checking whether $CC $CFLAGS -mlong-double-128 uses IBM extended form if test ${libc_cv_mlong_double_128ibm+y} then : printf %s "(cached) " >&6 -else $as_nop - save_CFLAGS="$CFLAGS" +else case e in #( + e) save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -mlong-double-128" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28,11 +28,13 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : libc_cv_mlong_double_128ibm=yes -else $as_nop - libc_cv_mlong_double_128ibm=no +else case e in #( + e) libc_cv_mlong_double_128ibm=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -CFLAGS="$save_CFLAGS" +CFLAGS="$save_CFLAGS" ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mlong_double_128ibm" >&5 printf "%s\n" "$libc_cv_mlong_double_128ibm" >&6; } @@ -43,8 +45,8 @@ printf %s "checking whether $CC $CFLAGS supports -mabi=ibmlongdouble... " >&6; } if test ${libc_cv_mabi_ibmlongdouble+y} then : printf %s "(cached) " >&6 -else $as_nop - save_CFLAGS="$CFLAGS" +else case e in #( + e) save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -mlong-double-128 -mabi=ibmlongdouble" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -64,11 +66,13 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : libc_cv_mabi_ibmlongdouble=yes -else $as_nop - libc_cv_mabi_ibmlongdouble=no +else case e in #( + e) libc_cv_mabi_ibmlongdouble=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CFLAGS="$save_CFLAGS" + CFLAGS="$save_CFLAGS" ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mabi_ibmlongdouble" >&5 printf "%s\n" "$libc_cv_mabi_ibmlongdouble" >&6; } |