diff options
author | Xin LI <delphij@FreeBSD.org> | 2017-04-29 06:30:21 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2017-04-29 06:30:21 +0000 |
commit | 6f90225e8378d85045013553763bd7483670441c (patch) | |
tree | 185b77b1a31a3ec3a39749f691ca4a8c273e9e1c /configure | |
parent | 9c83c2751d26fe2e059d6956f0398b56ed919a6a (diff) |
Notes
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configure b/configure index 53b4634d07ab..10a0305e7282 100755 --- a/configure +++ b/configure @@ -4713,6 +4713,30 @@ $as_echo "no" >&6; } fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Checks for ANSI function prototypes. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI function prototypes" >&5 +$as_echo_n "checking for ANSI function prototypes... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +int f(int a) { return a; } + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; }; $as_echo "#define HAVE_ANSI_PROTOS 1" >>confdefs.h + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + # Checks for library functions. { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } |