version 1.51 | | version 1.52 |
---|
| | |
done | | done |
| | |
| | |
| | echo "$as_me:$LINENO: checking checking if alphasort is defined" >&5 |
| | echo $ECHO_N "checking checking if alphasort is defined... $ECHO_C" >&6 |
| | cat >conftest.$ac_ext <<_ACEOF |
| | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
| | #include <dirent.h> |
| | int |
| | main () |
| | { |
| | alphasort; |
| | ; |
| | return 0; |
| | } |
| | _ACEOF |
| | rm -f conftest.$ac_objext |
| | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>conftest.er1 |
| | ac_status=$? |
| | grep -v '^ *+' conftest.er1 >conftest.err |
| | rm -f conftest.er1 |
| | cat conftest.err >&5 |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); } && |
| | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | (eval $ac_try) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; } && |
| | { ac_try='test -s conftest.$ac_objext' |
| | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | (eval $ac_try) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; }; then |
| | ac_cv_func_alphasort=yes |
| | else |
| | echo "$as_me: failed program was:" >&5 |
| | sed 's/^/| /' conftest.$ac_ext >&5 |
| | |
| | ac_cv_func_alphasort=no |
| | fi |
| | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | if test "$ac_cv_func_alphasort" = yes; then |
| | |
| | cat >>confdefs.h <<\_ACEOF |
| | #define HAVE_ALPHASORT 1 |
| | _ACEOF |
| | |
| | echo "$as_me:$LINENO: result: yes" >&5 |
| | echo "${ECHO_T}yes" >&6 |
| | else |
| | echo "$as_me:$LINENO: result: no" >&5 |
| | echo "${ECHO_T}no" >&6 |
| | fi |
| | |
| | |
| | |
echo "$as_me:$LINENO: checking how many args gettimeofday uses" >&5 | | echo "$as_me:$LINENO: checking how many args gettimeofday uses" >&5 |
echo $ECHO_N "checking how many args gettimeofday uses... $ECHO_C" >&6 | | echo $ECHO_N "checking how many args gettimeofday uses... $ECHO_C" >&6 |
if test "${ac_cv_gettimeofday_args+set}" = set; then | | if test "${ac_cv_gettimeofday_args+set}" = set; then |
| | |
int | | int |
main () | | main () |
{ | | { |
| | struct timeval tv; |
| | gettimeofday(&tv, NULL); |
| | ; |
| | return 0; |
| | } |
| | _ACEOF |
| | rm -f conftest.$ac_objext |
| | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>conftest.er1 |
| | ac_status=$? |
| | grep -v '^ *+' conftest.er1 >conftest.err |
| | rm -f conftest.er1 |
| | cat conftest.err >&5 |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); } && |
| | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | (eval $ac_try) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; } && |
| | { ac_try='test -s conftest.$ac_objext' |
| | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | (eval $ac_try) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; }; then |
| | ac_gettimeofday_args=2 |
| | else |
| | echo "$as_me: failed program was:" >&5 |
| | sed 's/^/| /' conftest.$ac_ext >&5 |
| | |
| | cat >conftest.$ac_ext <<_ACEOF |
| | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
| | #include <sys/time.h> |
| | #include <unistd.h> |
| | int |
| | main () |
| | { |
struct timeval tv; gettimeofday(&tv); | | struct timeval tv; gettimeofday(&tv); |
; | | ; |
return 0; | | return 0; |
| | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
fi | | fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | fi |
| | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
ac_cv_gettimeofday_args=$ac_gettimeofday_args | | ac_cv_gettimeofday_args=$ac_gettimeofday_args |
fi | | fi |
| | |