version 1.16 | | version 1.17 |
---|
| | |
echo "$ac_t""no" 1>&6 | | echo "$ac_t""no" 1>&6 |
fi | | fi |
| | |
| | |
if test -n "$GZIP" -a -z "$GUNZIP" ; then | | if test -n "$GZIP" -a -z "$GUNZIP" ; then |
echo "Found gzip, but not gunzip - setting GUNZIP to gzip -c"; | | echo "Found gzip, but not gunzip - setting GUNZIP to gzip -c"; |
GUNZIP="$GZIP -c" | | GUNZIP="$GZIP -c" |
| | |
# Extract the first word of "compress", so it can be a program name with args. | | # Extract the first word of "compress", so it can be a program name with args. |
set dummy compress; ac_word=$2 | | set dummy compress; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1685: checking for $ac_word" >&5 | | echo "configure:1670: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_COMPRESS'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_COMPRESS'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
# Extract the first word of "uncompress", so it can be a program name with args. | | # Extract the first word of "uncompress", so it can be a program name with args. |
set dummy uncompress; ac_word=$2 | | set dummy uncompress; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1720: checking for $ac_word" >&5 | | echo "configure:1705: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_UNCOMPRESS'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_UNCOMPRESS'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
# Extract the first word of "bzip2", so it can be a program name with args. | | # Extract the first word of "bzip2", so it can be a program name with args. |
set dummy bzip2; ac_word=$2 | | set dummy bzip2; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1757: checking for $ac_word" >&5 | | echo "configure:1742: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_BZIP'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_BZIP'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
# Extract the first word of "bunzip2", so it can be a program name with args. | | # Extract the first word of "bunzip2", so it can be a program name with args. |
set dummy bunzip2; ac_word=$2 | | set dummy bunzip2; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1792: checking for $ac_word" >&5 | | echo "configure:1777: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_BUNZIP'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_BUNZIP'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
# Extract the first word of "$ac_prog", so it can be a program name with args. | | # Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 | | set dummy $ac_prog; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1840: checking for $ac_word" >&5 | | echo "configure:1825: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_BOURNE_SHELL'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_BOURNE_SHELL'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo "configure:1893: checking for main in -lnsl" >&5 | | echo "configure:1878: checking for main in -lnsl" >&5 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lnsl $LIBS" | | LIBS="-lnsl $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 1901 "configure" | | #line 1886 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:1908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:1893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo "configure:1936: checking for main in -lsocket" >&5 | | echo "configure:1921: checking for main in -lsocket" >&5 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lsocket $LIBS" | | LIBS="-lsocket $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 1944 "configure" | | #line 1929 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:1951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
# Uses ac_ vars as temps to allow command line to override cache and checks. | | # Uses ac_ vars as temps to allow command line to override cache and checks. |
# --without-x overrides everything else, but does not touch the cache. | | # --without-x overrides everything else, but does not touch the cache. |
echo $ac_n "checking for X""... $ac_c" 1>&6 | | echo $ac_n "checking for X""... $ac_c" 1>&6 |
echo "configure:1984: checking for X" >&5 | | echo "configure:1969: checking for X" >&5 |
| | |
# Check whether --with-x or --without-x was given. | | # Check whether --with-x or --without-x was given. |
if test "${with_x+set}" = set; then | | if test "${with_x+set}" = set; then |
| | |
| | |
# First, try using that file with no special directory specified. | | # First, try using that file with no special directory specified. |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2046 "configure" | | #line 2031 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <$x_direct_test_include> | | #include <$x_direct_test_include> |
EOF | | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:2051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | | if test -z "$ac_err"; then |
rm -rf conftest* | | rm -rf conftest* |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-l$x_direct_test_library $LIBS" | | LIBS="-l$x_direct_test_library $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2120 "configure" | | #line 2105 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
${x_direct_test_function}() | | ${x_direct_test_function}() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
LIBS="$ac_save_LIBS" | | LIBS="$ac_save_LIBS" |
# We can link X programs with no special library path. | | # We can link X programs with no special library path. |
| | |
case "`(uname -sr) 2>/dev/null`" in | | case "`(uname -sr) 2>/dev/null`" in |
"SunOS 5"*) | | "SunOS 5"*) |
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | | echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
echo "configure:2233: checking whether -R must be followed by a space" >&5 | | echo "configure:2218: checking whether -R must be followed by a space" >&5 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2236 "configure" | | #line 2221 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
ac_R_nospace=yes | | ac_R_nospace=yes |
else | | else |
| | |
else | | else |
LIBS="$ac_xsave_LIBS -R $x_libraries" | | LIBS="$ac_xsave_LIBS -R $x_libraries" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2259 "configure" | | #line 2244 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
ac_R_space=yes | | ac_R_space=yes |
else | | else |
| | |
# libraries were built with DECnet support. And karl@cs.umb.edu says | | # libraries were built with DECnet support. And karl@cs.umb.edu says |
# the Alpha needs dnet_stub (dnet does not exist). | | # the Alpha needs dnet_stub (dnet does not exist). |
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
echo "configure:2298: checking for dnet_ntoa in -ldnet" >&5 | | echo "configure:2283: checking for dnet_ntoa in -ldnet" >&5 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-ldnet $LIBS" | | LIBS="-ldnet $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2306 "configure" | | #line 2291 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
dnet_ntoa() | | dnet_ntoa() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then | | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | | echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
echo "configure:2339: checking for dnet_ntoa in -ldnet_stub" >&5 | | echo "configure:2324: checking for dnet_ntoa in -ldnet_stub" >&5 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-ldnet_stub $LIBS" | | LIBS="-ldnet_stub $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2347 "configure" | | #line 2332 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
dnet_ntoa() | | dnet_ntoa() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
# The nsl library prevents programs from opening the X display | | # The nsl library prevents programs from opening the X display |
# on Irix 5.2, according to dickey@clark.net. | | # on Irix 5.2, according to dickey@clark.net. |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo "configure:2387: checking for gethostbyname" >&5 | | echo "configure:2372: checking for gethostbyname" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2392 "configure" | | #line 2377 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char gethostbyname(); below. */ | | which can conflict with char gethostbyname(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_gethostbyname=yes" | | eval "ac_cv_func_gethostbyname=yes" |
else | | else |
| | |
| | |
if test $ac_cv_func_gethostbyname = no; then | | if test $ac_cv_func_gethostbyname = no; then |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo "configure:2436: checking for gethostbyname in -lnsl" >&5 | | echo "configure:2421: checking for gethostbyname in -lnsl" >&5 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lnsl $LIBS" | | LIBS="-lnsl $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2444 "configure" | | #line 2429 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
gethostbyname() | | gethostbyname() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
# -lsocket must be given before -lnsl if both are needed. | | # -lsocket must be given before -lnsl if both are needed. |
# We assume that if connect needs -lnsl, so does gethostbyname. | | # We assume that if connect needs -lnsl, so does gethostbyname. |
echo $ac_n "checking for connect""... $ac_c" 1>&6 | | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo "configure:2485: checking for connect" >&5 | | echo "configure:2470: checking for connect" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2490 "configure" | | #line 2475 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char connect(); below. */ | | which can conflict with char connect(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_connect=yes" | | eval "ac_cv_func_connect=yes" |
else | | else |
| | |
| | |
if test $ac_cv_func_connect = no; then | | if test $ac_cv_func_connect = no; then |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 | | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo "configure:2534: checking for connect in -lsocket" >&5 | | echo "configure:2519: checking for connect in -lsocket" >&5 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" | | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2542 "configure" | | #line 2527 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
connect() | | connect() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | | # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
echo $ac_n "checking for remove""... $ac_c" 1>&6 | | echo $ac_n "checking for remove""... $ac_c" 1>&6 |
echo "configure:2577: checking for remove" >&5 | | echo "configure:2562: checking for remove" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2582 "configure" | | #line 2567 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char remove(); below. */ | | which can conflict with char remove(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_remove=yes" | | eval "ac_cv_func_remove=yes" |
else | | else |
| | |
| | |
if test $ac_cv_func_remove = no; then | | if test $ac_cv_func_remove = no; then |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | | echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
echo "configure:2626: checking for remove in -lposix" >&5 | | echo "configure:2611: checking for remove in -lposix" >&5 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lposix $LIBS" | | LIBS="-lposix $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2634 "configure" | | #line 2619 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
remove() | | remove() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 | | echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
echo "configure:2669: checking for shmat" >&5 | | echo "configure:2654: checking for shmat" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2674 "configure" | | #line 2659 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char shmat(); below. */ | | which can conflict with char shmat(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_shmat=yes" | | eval "ac_cv_func_shmat=yes" |
else | | else |
| | |
| | |
if test $ac_cv_func_shmat = no; then | | if test $ac_cv_func_shmat = no; then |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | | echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
echo "configure:2718: checking for shmat in -lipc" >&5 | | echo "configure:2703: checking for shmat in -lipc" >&5 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lipc $LIBS" | | LIBS="-lipc $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2726 "configure" | | #line 2711 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
shmat() | | shmat() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
# libraries we check for below, so use a different variable. | | # libraries we check for below, so use a different variable. |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | | # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | | echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
echo "configure:2770: checking for IceConnectionNumber in -lICE" >&5 | | echo "configure:2755: checking for IceConnectionNumber in -lICE" >&5 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" | | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2778 "configure" | | #line 2763 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
IceConnectionNumber() | | IceConnectionNumber() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
LDFLAGS="$X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS" | | LDFLAGS="$X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS" |
| | |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
echo "configure:2821: checking for main in -lX11" >&5 | | echo "configure:2806: checking for main in -lX11" >&5 |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lX11 $LIBS" | | LIBS="-lX11 $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2829 "configure" | | #line 2814 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lICE""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lICE""... $ac_c" 1>&6 |
echo "configure:2861: checking for main in -lICE" >&5 | | echo "configure:2846: checking for main in -lICE" >&5 |
ac_lib_var=`echo ICE'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo ICE'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lICE $LIBS" | | LIBS="-lICE $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2869 "configure" | | #line 2854 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lSM""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lSM""... $ac_c" 1>&6 |
echo "configure:2901: checking for main in -lSM" >&5 | | echo "configure:2886: checking for main in -lSM" >&5 |
ac_lib_var=`echo SM'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo SM'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lSM $X11LIBS $LIBS" | | LIBS="-lSM $X11LIBS $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2909 "configure" | | #line 2894 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
echo "configure:2941: checking for main in -lXext" >&5 | | echo "configure:2926: checking for main in -lXext" >&5 |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lXext -lX11 $LIBS" | | LIBS="-lXext -lX11 $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2949 "configure" | | #line 2934 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
echo "configure:2981: checking for main in -lXt" >&5 | | echo "configure:2966: checking for main in -lXt" >&5 |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lXt $X11LIBS $LIBS" | | LIBS="-lXt $X11LIBS $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2989 "configure" | | #line 2974 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:2981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
echo "configure:3021: checking for main in -lXmu" >&5 | | echo "configure:3006: checking for main in -lXmu" >&5 |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lXmu $X11LIBS $LIBS" | | LIBS="-lXmu $X11LIBS $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3029 "configure" | | #line 3014 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
echo "configure:3061: checking for main in -lXaw" >&5 | | echo "configure:3046: checking for main in -lXaw" >&5 |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lXaw $X11LIBS $LIBS" | | LIBS="-lXaw $X11LIBS $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3069 "configure" | | #line 3054 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
X11LIBS="$X_LIBS $X11LIBS" | | X11LIBS="$X_LIBS $X11LIBS" |
| | |
echo $ac_n "checking for main in -lXpm""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lXpm""... $ac_c" 1>&6 |
echo "configure:3104: checking for main in -lXpm" >&5 | | echo "configure:3089: checking for main in -lXpm" >&5 |
ac_lib_var=`echo Xpm'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo Xpm'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lXpm $X11LIBS $LIBS" | | LIBS="-lXpm $X11LIBS $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3112 "configure" | | #line 3097 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 |
echo "configure:3144: checking for main in -lm" >&5 | | echo "configure:3129: checking for main in -lm" >&5 |
ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lm $LIBS" | | LIBS="-lm $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3152 "configure" | | #line 3137 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lpng""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lpng""... $ac_c" 1>&6 |
echo "configure:3188: checking for main in -lpng" >&5 | | echo "configure:3173: checking for main in -lpng" >&5 |
ac_lib_var=`echo png'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo png'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lpng $X11LIBS $LIBS" | | LIBS="-lpng $X11LIBS $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3196 "configure" | | #line 3181 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 |
echo "configure:3228: checking for main in -lcrypt" >&5 | | echo "configure:3213: checking for main in -lcrypt" >&5 |
ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lcrypt $LIBS" | | LIBS="-lcrypt $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3236 "configure" | | #line 3221 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for des_crypt in -ldes""... $ac_c" 1>&6 | | echo $ac_n "checking for des_crypt in -ldes""... $ac_c" 1>&6 |
echo "configure:3271: checking for des_crypt in -ldes" >&5 | | echo "configure:3256: checking for des_crypt in -ldes" >&5 |
ac_lib_var=`echo des'_'des_crypt | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo des'_'des_crypt | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-ldes $LIBS" | | LIBS="-ldes $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3279 "configure" | | #line 3264 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
des_crypt() | | des_crypt() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
fi | | fi |
| | |
| | |
echo $ac_n "checking for main in -ldmalloc""... $ac_c" 1>&6 | | |
echo "configure:3319: checking for main in -ldmalloc" >&5 | | echo $ac_n "checking for main in -ldmalloclp""... $ac_c" 1>&6 |
ac_lib_var=`echo dmalloc'_'main | sed 'y%./+-%__p_%'` | | echo "configure:3305: checking for main in -ldmalloclp" >&5 |
| | ac_lib_var=`echo dmalloclp'_'main | sed 'y%./+-%__p_%'` |
| | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | echo $ac_n "(cached) $ac_c" 1>&6 |
| | else |
| | ac_save_LIBS="$LIBS" |
| | LIBS="-ldmalloclp $LIBS" |
| | cat > conftest.$ac_ext <<EOF |
| | #line 3313 "configure" |
| | #include "confdefs.h" |
| | |
| | int main() { |
| | main() |
| | ; return 0; } |
| | EOF |
| | if { (eval echo configure:3320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| | rm -rf conftest* |
| | eval "ac_cv_lib_$ac_lib_var=yes" |
| | else |
| | echo "configure: failed program was:" >&5 |
| | cat conftest.$ac_ext >&5 |
| | rm -rf conftest* |
| | eval "ac_cv_lib_$ac_lib_var=no" |
| | fi |
| | rm -f conftest* |
| | LIBS="$ac_save_LIBS" |
| | |
| | fi |
| | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| | echo "$ac_t""yes" 1>&6 |
| | ac_tr_lib=HAVE_LIB`echo dmalloclp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| | cat >> confdefs.h <<EOF |
| | #define $ac_tr_lib 1 |
| | EOF |
| | |
| | LIBS="-ldmalloclp $LIBS" |
| | |
| | else |
| | echo "$ac_t""no" 1>&6 |
| | fi |
| | |
| | |
| | echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 |
| | echo "configure:3349: checking for main in -ldl" >&5 |
| | ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-ldmalloc $LIBS" | | LIBS="-ldl $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3327 "configure" | | #line 3357 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
fi | | fi |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$ac_t""yes" 1>&6 | | echo "$ac_t""yes" 1>&6 |
ac_tr_lib=HAVE_LIB`echo dmalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | | ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
cat >> confdefs.h <<EOF | | cat >> confdefs.h <<EOF |
#define $ac_tr_lib 1 | | #define $ac_tr_lib 1 |
EOF | | EOF |
| | |
LIBS="-ldmalloc $LIBS" | | LIBS="-ldl $LIBS" |
| | |
else | | else |
echo "$ac_t""no" 1>&6 | | echo "$ac_t""no" 1>&6 |
| | |
do | | do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
echo "configure:3367: checking for $ac_hdr that defines DIR" >&5 | | echo "configure:3397: checking for $ac_hdr that defines DIR" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3372 "configure" | | #line 3402 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#include <$ac_hdr> | | #include <$ac_hdr> |
| | |
DIR *dirp = 0; | | DIR *dirp = 0; |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_header_dirent_$ac_safe=yes" | | eval "ac_cv_header_dirent_$ac_safe=yes" |
else | | else |
| | |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
if test $ac_header_dirent = dirent.h; then | | if test $ac_header_dirent = dirent.h; then |
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | | echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
echo "configure:3405: checking for opendir in -ldir" >&5 | | echo "configure:3435: checking for opendir in -ldir" >&5 |
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-ldir $LIBS" | | LIBS="-ldir $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3413 "configure" | | #line 3443 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
opendir() | | opendir() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
| | |
else | | else |
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | | echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
echo "configure:3446: checking for opendir in -lx" >&5 | | echo "configure:3476: checking for opendir in -lx" >&5 |
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lx $LIBS" | | LIBS="-lx $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3454 "configure" | | #line 3484 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
opendir() | | opendir() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
echo "configure:3488: checking for ANSI C header files" >&5 | | echo "configure:3518: checking for ANSI C header files" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3493 "configure" | | #line 3523 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <stdlib.h> | | #include <stdlib.h> |
#include <stdarg.h> | | #include <stdarg.h> |
| | |
#include <float.h> | | #include <float.h> |
EOF | | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:3501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:3531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | | if test -z "$ac_err"; then |
rm -rf conftest* | | rm -rf conftest* |
| | |
if test $ac_cv_header_stdc = yes; then | | if test $ac_cv_header_stdc = yes; then |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. | | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3518 "configure" | | #line 3548 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <string.h> | | #include <string.h> |
EOF | | EOF |
| | |
if test $ac_cv_header_stdc = yes; then | | if test $ac_cv_header_stdc = yes; then |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3536 "configure" | | #line 3566 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <stdlib.h> | | #include <stdlib.h> |
EOF | | EOF |
| | |
: | | : |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3557 "configure" | | #line 3587 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <ctype.h> | | #include <ctype.h> |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| | |
exit (0); } | | exit (0); } |
| | |
EOF | | EOF |
if { (eval echo configure:3568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | | then |
: | | : |
else | | else |
| | |
do | | do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo "configure:3595: checking for $ac_hdr" >&5 | | echo "configure:3625: checking for $ac_hdr" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3600 "configure" | | #line 3630 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <$ac_hdr> | | #include <$ac_hdr> |
EOF | | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:3605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:3635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | | if test -z "$ac_err"; then |
rm -rf conftest* | | rm -rf conftest* |
| | |
| | |
| | |
echo $ac_n "checking for working const""... $ac_c" 1>&6 | | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
echo "configure:3633: checking for working const" >&5 | | echo "configure:3663: checking for working const" >&5 |
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3638 "configure" | | #line 3668 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_c_const=yes | | ac_cv_c_const=yes |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for inline""... $ac_c" 1>&6 | | echo $ac_n "checking for inline""... $ac_c" 1>&6 |
echo "configure:3708: checking for inline" >&5 | | echo "configure:3738: checking for inline" >&5 |
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
ac_cv_c_inline=no | | ac_cv_c_inline=no |
for ac_kw in inline __inline__ __inline; do | | for ac_kw in inline __inline__ __inline; do |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3715 "configure" | | #line 3745 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
} $ac_kw foo() { | | } $ac_kw foo() { |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_c_inline=$ac_kw; break | | ac_cv_c_inline=$ac_kw; break |
else | | else |
| | |
esac | | esac |
| | |
echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
echo "configure:3748: checking for pid_t" >&5 | | echo "configure:3778: checking for pid_t" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3753 "configure" | | #line 3783 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#if STDC_HEADERS | | #if STDC_HEADERS |
| | |
fi | | fi |
| | |
echo $ac_n "checking for size_t""... $ac_c" 1>&6 | | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
echo "configure:3781: checking for size_t" >&5 | | echo "configure:3811: checking for size_t" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3786 "configure" | | #line 3816 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#if STDC_HEADERS | | #if STDC_HEADERS |
| | |
fi | | fi |
| | |
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
echo "configure:3814: checking whether time.h and sys/time.h may both be included" >&5 | | echo "configure:3844: checking whether time.h and sys/time.h may both be included" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3819 "configure" | | #line 3849 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#include <sys/time.h> | | #include <sys/time.h> |
| | |
struct tm *tp; | | struct tm *tp; |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_header_time=yes | | ac_cv_header_time=yes |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
echo "configure:3849: checking whether struct tm is in sys/time.h or time.h" >&5 | | echo "configure:3879: checking whether struct tm is in sys/time.h or time.h" >&5 |
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3854 "configure" | | #line 3884 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#include <time.h> | | #include <time.h> |
| | |
struct tm *tp; tp->tm_sec; | | struct tm *tp; tp->tm_sec; |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_struct_tm=time.h | | ac_cv_struct_tm=time.h |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | | echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
echo "configure:3883: checking for uid_t in sys/types.h" >&5 | | echo "configure:3913: checking for uid_t in sys/types.h" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3888 "configure" | | #line 3918 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
EOF | | EOF |
| | |
| | |
if test $ac_cv_prog_gcc = yes; then | | if test $ac_cv_prog_gcc = yes; then |
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | | echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
echo "configure:3919: checking whether ${CC-cc} needs -traditional" >&5 | | echo "configure:3949: checking whether ${CC-cc} needs -traditional" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
ac_pattern="Autoconf.*'x'" | | ac_pattern="Autoconf.*'x'" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3925 "configure" | | #line 3955 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sgtty.h> | | #include <sgtty.h> |
Autoconf TIOCGETP | | Autoconf TIOCGETP |
| | |
| | |
if test $ac_cv_prog_gcc_traditional = no; then | | if test $ac_cv_prog_gcc_traditional = no; then |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3943 "configure" | | #line 3973 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <termio.h> | | #include <termio.h> |
Autoconf TCGETA | | Autoconf TCGETA |
| | |
fi | | fi |
| | |
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 | | echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 |
echo "configure:3965: checking for 8-bit clean memcmp" >&5 | | echo "configure:3995: checking for 8-bit clean memcmp" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
ac_cv_func_memcmp_clean=no | | ac_cv_func_memcmp_clean=no |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 3973 "configure" | | #line 4003 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
main() | | main() |
| | |
} | | } |
| | |
EOF | | EOF |
if { (eval echo configure:3983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:4013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | | then |
ac_cv_func_memcmp_clean=yes | | ac_cv_func_memcmp_clean=yes |
else | | else |
| | |
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" | | test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" |
| | |
echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6 | | echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6 |
echo "configure:4001: checking whether setpgrp takes no argument" >&5 | | echo "configure:4031: checking whether setpgrp takes no argument" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
{ echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; } | | { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; } |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4009 "configure" | | #line 4039 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
#ifdef HAVE_UNISTD_H | | #ifdef HAVE_UNISTD_H |
| | |
} | | } |
| | |
EOF | | EOF |
if { (eval echo configure:4029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | | then |
ac_cv_func_setpgrp_void=no | | ac_cv_func_setpgrp_void=no |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
echo "configure:4053: checking return type of signal handlers" >&5 | | echo "configure:4083: checking return type of signal handlers" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4058 "configure" | | #line 4088 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/types.h> | | #include <sys/types.h> |
#include <signal.h> | | #include <signal.h> |
| | |
int i; | | int i; |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_cv_type_signal=void | | ac_cv_type_signal=void |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking for strftime""... $ac_c" 1>&6 | | echo $ac_n "checking for strftime""... $ac_c" 1>&6 |
echo "configure:4094: checking for strftime" >&5 | | echo "configure:4124: checking for strftime" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4099 "configure" | | #line 4129 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char strftime(); below. */ | | which can conflict with char strftime(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_strftime=yes" | | eval "ac_cv_func_strftime=yes" |
else | | else |
| | |
echo "$ac_t""no" 1>&6 | | echo "$ac_t""no" 1>&6 |
# strftime is in -lintl on SCO UNIX. | | # strftime is in -lintl on SCO UNIX. |
echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 | | echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 |
echo "configure:4144: checking for strftime in -lintl" >&5 | | echo "configure:4174: checking for strftime in -lintl" >&5 |
ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
ac_save_LIBS="$LIBS" | | ac_save_LIBS="$LIBS" |
LIBS="-lintl $LIBS" | | LIBS="-lintl $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4152 "configure" | | #line 4182 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| | |
strftime() | | strftime() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | | eval "ac_cv_lib_$ac_lib_var=yes" |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 |
echo "configure:4190: checking for vprintf" >&5 | | echo "configure:4220: checking for vprintf" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4195 "configure" | | #line 4225 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char vprintf(); below. */ | | which can conflict with char vprintf(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_vprintf=yes" | | eval "ac_cv_func_vprintf=yes" |
else | | else |
| | |
| | |
if test "$ac_cv_func_vprintf" != yes; then | | if test "$ac_cv_func_vprintf" != yes; then |
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 |
echo "configure:4242: checking for _doprnt" >&5 | | echo "configure:4272: checking for _doprnt" >&5 |
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4247 "configure" | | #line 4277 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char _doprnt(); below. */ | | which can conflict with char _doprnt(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func__doprnt=yes" | | eval "ac_cv_func__doprnt=yes" |
else | | else |
| | |
for ac_func in gettimeofday mkdir mktime rmdir select socket strcspn strerror strspn strstr strtol strcasecmp strncasecmp snprintf setsid srandom getdtablesize srand48 srand sysconf scandir | | for ac_func in gettimeofday mkdir mktime rmdir select socket strcspn strerror strspn strstr strtol strcasecmp strncasecmp snprintf setsid srandom getdtablesize srand48 srand sysconf scandir |
do | | do |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo "configure:4297: checking for $ac_func" >&5 | | echo "configure:4327: checking for $ac_func" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4302 "configure" | | #line 4332 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func(); below. */ | | which can conflict with char $ac_func(); below. */ |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | | rm -rf conftest* |
eval "ac_cv_func_$ac_func=yes" | | eval "ac_cv_func_$ac_func=yes" |
else | | else |
| | |
| | |
| | |
echo $ac_n "checking how many args gettimeofday uses""... $ac_c" 1>&6 | | echo $ac_n "checking how many args gettimeofday uses""... $ac_c" 1>&6 |
echo "configure:4351: checking how many args gettimeofday uses" >&5 | | echo "configure:4381: checking how many args gettimeofday uses" >&5 |
if eval "test \"`echo '$''{'ac_cv_gettimeofday_args'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_gettimeofday_args'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4356 "configure" | | #line 4386 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/time.h> | | #include <sys/time.h> |
#include <unistd.h> | | #include <unistd.h> |
| | |
gettimeofday(&tv, &tzp); | | gettimeofday(&tv, &tzp); |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_gettimeofday_args=2 | | ac_gettimeofday_args=2 |
else | | else |
| | |
cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
rm -rf conftest* | | rm -rf conftest* |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 4373 "configure" | | #line 4403 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <sys/time.h> | | #include <sys/time.h> |
#include <unistd.h> | | #include <unistd.h> |
| | |
struct timeval tv; gettimeofday(&tv); | | struct timeval tv; gettimeofday(&tv); |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:4381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:4411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | | rm -rf conftest* |
ac_gettimeofday_args=1 | | ac_gettimeofday_args=1 |
else | | else |