| 25735 |
|
|
| 25736 |
fi |
fi |
| 25737 |
|
|
| 25738 |
|
echo "$as_me:$LINENO: checking for sig_t" >&5 |
| 25739 |
|
echo $ECHO_N "checking for sig_t... $ECHO_C" >&6 |
| 25740 |
|
if test "${ac_cv_type_sig_t+set}" = set; then |
| 25741 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 25742 |
|
else |
| 25743 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 25744 |
|
/* confdefs.h. */ |
| 25745 |
|
_ACEOF |
| 25746 |
|
cat confdefs.h >>conftest.$ac_ext |
| 25747 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 25748 |
|
/* end confdefs.h. */ |
| 25749 |
|
#include <sys/types.h> |
| 25750 |
|
#include <signal.h> |
| 25751 |
|
|
| 25752 |
|
int |
| 25753 |
|
main () |
| 25754 |
|
{ |
| 25755 |
|
if ((sig_t *) 0) |
| 25756 |
|
return 0; |
| 25757 |
|
if (sizeof (sig_t)) |
| 25758 |
|
return 0; |
| 25759 |
|
; |
| 25760 |
|
return 0; |
| 25761 |
|
} |
| 25762 |
|
_ACEOF |
| 25763 |
|
rm -f conftest.$ac_objext |
| 25764 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 25765 |
|
(eval $ac_compile) 2>conftest.er1 |
| 25766 |
|
ac_status=$? |
| 25767 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 25768 |
|
rm -f conftest.er1 |
| 25769 |
|
cat conftest.err >&5 |
| 25770 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 25771 |
|
(exit $ac_status); } && |
| 25772 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 25773 |
|
|| test ! -s conftest.err' |
| 25774 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 25775 |
|
(eval $ac_try) 2>&5 |
| 25776 |
|
ac_status=$? |
| 25777 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 25778 |
|
(exit $ac_status); }; } && |
| 25779 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 25780 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 25781 |
|
(eval $ac_try) 2>&5 |
| 25782 |
|
ac_status=$? |
| 25783 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 25784 |
|
(exit $ac_status); }; }; then |
| 25785 |
|
ac_cv_type_sig_t=yes |
| 25786 |
|
else |
| 25787 |
|
echo "$as_me: failed program was:" >&5 |
| 25788 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 25789 |
|
|
| 25790 |
|
ac_cv_type_sig_t=no |
| 25791 |
|
fi |
| 25792 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 25793 |
|
fi |
| 25794 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_sig_t" >&5 |
| 25795 |
|
echo "${ECHO_T}$ac_cv_type_sig_t" >&6 |
| 25796 |
|
if test $ac_cv_type_sig_t = yes; then |
| 25797 |
|
|
| 25798 |
|
cat >>confdefs.h <<_ACEOF |
| 25799 |
|
#define HAVE_SIG_T 1 |
| 25800 |
|
_ACEOF |
| 25801 |
|
|
| 25802 |
|
|
| 25803 |
|
fi |
| 25804 |
|
|
| 25805 |
|
|
| 25806 |
|
|
| 25807 |
|
|
| 25808 |
# Checks for library functions. |
# Checks for library functions. |
| 25809 |
echo "$as_me:$LINENO: checking whether closedir returns void" >&5 |
echo "$as_me:$LINENO: checking whether closedir returns void" >&5 |