]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/ieee754/ldbl-opt/configure
support: Fix typo in xgetsockname error message
[thirdparty/glibc.git] / sysdeps / ieee754 / ldbl-opt / configure
1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/ieee754/ldbl-opt/.
3
4
5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC $CFLAGS supports -mlong-double-128" >&5
6 printf %s "checking whether $CC $CFLAGS supports -mlong-double-128... " >&6; }
7 if test ${libc_cv_mlong_double_128+y}
8 then :
9 printf %s "(cached) " >&6
10 else $as_nop
11 save_CFLAGS="$CFLAGS"
12 CFLAGS="$CFLAGS -mlong-double-128"
13 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14 /* end confdefs.h. */
15
16 int
17 main (void)
18 {
19
20 #ifndef __LONG_DOUBLE_128__
21 # error "compiler did not predefine __LONG_DOUBLE_128__ as expected"
22 #endif
23 long double foobar (long double x) { return x; }
24 ;
25 return 0;
26 }
27 _ACEOF
28 if ac_fn_c_try_compile "$LINENO"
29 then :
30 libc_cv_mlong_double_128=yes
31 else $as_nop
32 libc_cv_mlong_double_128=no
33 fi
34 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35 CFLAGS="$save_CFLAGS"
36 fi
37 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mlong_double_128" >&5
38 printf "%s\n" "$libc_cv_mlong_double_128" >&6; }
39 if test "$libc_cv_mlong_double_128" = no; then
40 as_fn_error $? "this configuration requires -mlong-double-128 support" "$LINENO" 5
41 fi
42