Skip to content

Commit 4d62a84

Browse files
committed
Re-gen.
1 parent 716e213 commit 4d62a84

4 files changed

Lines changed: 300 additions & 72 deletions

File tree

configure

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,6 +2029,60 @@ fi
20292029
as_fn_set_status $ac_retval
20302030

20312031
} # ac_fn_c_try_run
2032+
2033+
# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2034+
# ------------------------------------------------------------------
2035+
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2036+
# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2037+
ac_fn_check_decl ()
2038+
{
2039+
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040+
as_decl_name=`echo $2|sed 's/ *(.*//'`
2041+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2042+
printf %s "checking whether $as_decl_name is declared... " >&6; }
2043+
if eval test \${$3+y}
2044+
then :
2045+
printf %s "(cached) " >&6
2046+
else case e in #(
2047+
e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2048+
eval ac_save_FLAGS=\$$6
2049+
as_fn_append $6 " $5"
2050+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2051+
/* end confdefs.h. */
2052+
$4
2053+
int
2054+
main (void)
2055+
{
2056+
#ifndef $as_decl_name
2057+
#ifdef __cplusplus
2058+
(void) $as_decl_use;
2059+
#else
2060+
(void) $as_decl_name;
2061+
#endif
2062+
#endif
2063+
2064+
;
2065+
return 0;
2066+
}
2067+
_ACEOF
2068+
if ac_fn_c_try_compile "$LINENO"
2069+
then :
2070+
eval "$3=yes"
2071+
else case e in #(
2072+
e) eval "$3=no" ;;
2073+
esac
2074+
fi
2075+
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2076+
eval $6=\$ac_save_FLAGS
2077+
;;
2078+
esac
2079+
fi
2080+
eval ac_res=\$$3
2081+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082+
printf "%s\n" "$ac_res" >&6; }
2083+
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2084+
2085+
} # ac_fn_check_decl
20322086
ac_configure_args_raw=
20332087
for ac_arg
20342088
do
@@ -15437,6 +15491,101 @@ then :
1543715491
fi
1543815492

1543915493

15494+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
15495+
printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
15496+
if test ${ac_cv_c_undeclared_builtin_options+y}
15497+
then :
15498+
printf %s "(cached) " >&6
15499+
else case e in #(
15500+
e) ac_save_CFLAGS=$CFLAGS
15501+
ac_cv_c_undeclared_builtin_options='cannot detect'
15502+
for ac_arg in '' -fno-builtin; do
15503+
CFLAGS="$ac_save_CFLAGS $ac_arg"
15504+
# This test program should *not* compile successfully.
15505+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15506+
/* end confdefs.h. */
15507+
15508+
int
15509+
main (void)
15510+
{
15511+
(void) strchr;
15512+
;
15513+
return 0;
15514+
}
15515+
_ACEOF
15516+
if ac_fn_c_try_compile "$LINENO"
15517+
then :
15518+
15519+
else case e in #(
15520+
e) # This test program should compile successfully.
15521+
# No library function is consistently available on
15522+
# freestanding implementations, so test against a dummy
15523+
# declaration. Include always-available headers on the
15524+
# off chance that they somehow elicit warnings.
15525+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15526+
/* end confdefs.h. */
15527+
#include <float.h>
15528+
#include <limits.h>
15529+
#include <stdarg.h>
15530+
#include <stddef.h>
15531+
extern void ac_decl (int, char *);
15532+
15533+
int
15534+
main (void)
15535+
{
15536+
(void) ac_decl (0, (char *) 0);
15537+
(void) ac_decl;
15538+
15539+
;
15540+
return 0;
15541+
}
15542+
_ACEOF
15543+
if ac_fn_c_try_compile "$LINENO"
15544+
then :
15545+
if test x"$ac_arg" = x
15546+
then :
15547+
ac_cv_c_undeclared_builtin_options='none needed'
15548+
else case e in #(
15549+
e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
15550+
esac
15551+
fi
15552+
break
15553+
fi
15554+
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15555+
esac
15556+
fi
15557+
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15558+
done
15559+
CFLAGS=$ac_save_CFLAGS
15560+
;;
15561+
esac
15562+
fi
15563+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
15564+
printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
15565+
case $ac_cv_c_undeclared_builtin_options in #(
15566+
'cannot detect') :
15567+
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15568+
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15569+
as_fn_error $? "cannot make $CC report undeclared builtins
15570+
See 'config.log' for more details" "$LINENO" 5; } ;; #(
15571+
'none needed') :
15572+
ac_c_undeclared_builtin_options='' ;; #(
15573+
*) :
15574+
ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
15575+
esac
15576+
15577+
ac_fn_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <unistd.h>
15578+
" "$ac_c_undeclared_builtin_options" "CFLAGS"
15579+
if test "x$ac_cv_have_decl_optreset" = xyes
15580+
then :
15581+
ac_have_decl=1
15582+
else case e in #(
15583+
e) ac_have_decl=0 ;;
15584+
esac
15585+
fi
15586+
printf "%s\n" "#define HAVE_DECL_OPTRESET $ac_have_decl" >>confdefs.h
15587+
15588+
1544015589
# Check whether --enable-docs was given.
1544115590
if test ${enable_docs+y}
1544215591
then :

0 commit comments

Comments
 (0)