12549 |
fi |
fi |
12550 |
|
|
12551 |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
|
|
$as_echo_n "checking return type of signal handlers... " >&6; } |
|
|
if ${ac_cv_type_signal+:} false; then : |
|
|
$as_echo_n "(cached) " >&6 |
|
|
else |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
/* end confdefs.h. */ |
|
|
#include <sys/types.h> |
|
|
#include <signal.h> |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
return *(signal (0, 0)) (0) == 1; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
ac_cv_type_signal=int |
|
|
else |
|
|
ac_cv_type_signal=void |
|
|
fi |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
|
|
$as_echo "$ac_cv_type_signal" >&6; } |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define RETSIGTYPE $ac_cv_type_signal |
|
|
_ACEOF |
|
|
|
|
|
|
|
12552 |
for ac_func in strftime |
for ac_func in strftime |
12553 |
do : |
do : |
12554 |
ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |
ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |