version 1.1 | | version 1.2 |
---|
| | |
# Any additions from configure.in: | | # Any additions from configure.in: |
ac_default_prefix=/usr/games/crossfire | | ac_default_prefix=/usr/games/crossfire |
ac_help="$ac_help | | ac_help="$ac_help |
| | --enable-old-layout Use the old (0.95.3 and earlier) install layout" |
| | ac_help="$ac_help |
--with-x use the X Window System" | | --with-x use the X Window System" |
| | |
# Initialize some variables set by options. | | # Initialize some variables set by options. |
| | |
fi | | fi |
| | |
echo $ac_n "checking host system type""... $ac_c" 1>&6 | | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo "configure:580: checking host system type" >&5 | | echo "configure:582: checking host system type" >&5 |
| | |
host_alias=$host | | host_alias=$host |
case "$host_alias" in | | case "$host_alias" in |
| | |
echo "$ac_t""$host" 1>&6 | | echo "$ac_t""$host" 1>&6 |
| | |
echo $ac_n "checking target system type""... $ac_c" 1>&6 | | echo $ac_n "checking target system type""... $ac_c" 1>&6 |
echo "configure:601: checking target system type" >&5 | | echo "configure:603: checking target system type" >&5 |
| | |
target_alias=$target | | target_alias=$target |
case "$target_alias" in | | case "$target_alias" in |
| | |
echo "$ac_t""$target" 1>&6 | | echo "$ac_t""$target" 1>&6 |
| | |
echo $ac_n "checking build system type""... $ac_c" 1>&6 | | echo $ac_n "checking build system type""... $ac_c" 1>&6 |
echo "configure:619: checking build system type" >&5 | | echo "configure:621: checking build system type" >&5 |
| | |
build_alias=$build | | build_alias=$build |
case "$build_alias" in | | case "$build_alias" in |
| | |
# Extract the first word of "gcc", so it can be a program name with args. | | # Extract the first word of "gcc", so it can be a program name with args. |
set dummy gcc; ac_word=$2 | | set dummy gcc; 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:644: checking for $ac_word" >&5 | | echo "configure:646: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_CC'+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 "cc", so it can be a program name with args. | | # Extract the first word of "cc", so it can be a program name with args. |
set dummy cc; ac_word=$2 | | set dummy cc; 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:673: checking for $ac_word" >&5 | | echo "configure:675: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo "configure:721: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | | echo "configure:723: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| | |
ac_ext=c | | ac_ext=c |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| | |
cross_compiling=$ac_cv_prog_cc_cross | | cross_compiling=$ac_cv_prog_cc_cross |
| | |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 731 "configure" | | #line 733 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
main(){return(0);} | | main(){return(0);} |
EOF | | EOF |
if { (eval echo configure:735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
ac_cv_prog_cc_works=yes | | ac_cv_prog_cc_works=yes |
# If we can't run a trivial program, we are probably using a cross compiler. | | # If we can't run a trivial program, we are probably using a cross compiler. |
if (./conftest; exit) 2>/dev/null; then | | if (./conftest; exit) 2>/dev/null; then |
| | |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
fi | | fi |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo "configure:755: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | | echo "configure:757: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
cross_compiling=$ac_cv_prog_cc_cross | | cross_compiling=$ac_cv_prog_cc_cross |
| | |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo "configure:760: checking whether we are using GNU C" >&5 | | echo "configure:762: checking whether we are using GNU C" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
yes; | | yes; |
#endif | | #endif |
EOF | | EOF |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
ac_cv_prog_gcc=yes | | ac_cv_prog_gcc=yes |
else | | else |
ac_cv_prog_gcc=no | | ac_cv_prog_gcc=no |
| | |
ac_save_CFLAGS="$CFLAGS" | | ac_save_CFLAGS="$CFLAGS" |
CFLAGS= | | CFLAGS= |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
echo "configure:784: checking whether ${CC-cc} accepts -g" >&5 | | echo "configure:786: checking whether ${CC-cc} accepts -g" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+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 how to run the C preprocessor""... $ac_c" 1>&6 | | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo "configure:826: checking how to run the C preprocessor" >&5 | | echo "configure:828: checking how to run the C preprocessor" >&5 |
# On Suns, sometimes $CPP names a directory. | | # On Suns, sometimes $CPP names a directory. |
if test -n "$CPP" && test -d "$CPP"; then | | if test -n "$CPP" && test -d "$CPP"; then |
CPP= | | CPP= |
| | |
# On the NeXT, cc -E runs the code through the compiler's parser, | | # On the NeXT, cc -E runs the code through the compiler's parser, |
# not just through cpp. | | # not just through cpp. |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 841 "configure" | | #line 843 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <assert.h> | | #include <assert.h> |
Syntax Error | | Syntax Error |
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:847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out` | | ac_err=`grep -v '^ *+' conftest.out` |
if test -z "$ac_err"; then | | if test -z "$ac_err"; then |
: | | : |
| | |
rm -rf conftest* | | rm -rf conftest* |
CPP="${CC-cc} -E -traditional-cpp" | | CPP="${CC-cc} -E -traditional-cpp" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 858 "configure" | | #line 860 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
#include <assert.h> | | #include <assert.h> |
Syntax Error | | Syntax Error |
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:864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out` | | ac_err=`grep -v '^ *+' conftest.out` |
if test -z "$ac_err"; then | | if test -z "$ac_err"; then |
: | | : |
| | |
# Extract the first word of "flex", so it can be a program name with args. | | # Extract the first word of "flex", so it can be a program name with args. |
set dummy flex; ac_word=$2 | | set dummy flex; 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:889: checking for $ac_word" >&5 | | echo "configure:891: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
*) ac_lib=l ;; | | *) ac_lib=l ;; |
esac | | esac |
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 | | echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 |
echo "configure:922: checking for yywrap in -l$ac_lib" >&5 | | echo "configure:924: checking for yywrap in -l$ac_lib" >&5 |
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo $ac_lib'_'yywrap | 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="-l$ac_lib $LIBS" | | LIBS="-l$ac_lib $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 930 "configure" | | #line 932 "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 |
| | |
yywrap() | | yywrap() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 |
| | |
# 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:968: checking for $ac_word" >&5 | | echo "configure:970: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# ./install, which can be erroneously created by make from ./install.sh. | | # ./install, which can be erroneously created by make from ./install.sh. |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "configure:1007: checking for a BSD compatible install" >&5 | | echo "configure:1009: checking for a BSD compatible install" >&5 |
if test -z "$INSTALL"; then | | if test -z "$INSTALL"; then |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| | |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
echo "configure:1057: checking whether ln -s works" >&5 | | echo "configure:1059: checking whether ln -s works" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
fi | | fi |
| | |
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo "configure:1078: checking whether ${MAKE-make} sets \${MAKE}" >&5 | | echo "configure:1080: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | |
# Extract the first word of "ranlib", so it can be a program name with args. | | # Extract the first word of "ranlib", so it can be a program name with args. |
set dummy ranlib; ac_word=$2 | | set dummy ranlib; 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:1107: checking for $ac_word" >&5 | | echo "configure:1109: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
else | | else |
| | |
fi | | fi |
| | |
| | |
| | # Check whether --enable-old-layout or --disable-old-layout was given. |
| | if test "${enable_old_layout+set}" = set; then |
| | enableval="$enable_old_layout" |
| | old_layout=yes |
| | else |
| | old_layout=no |
| | fi |
| | |
| | |
| | |
| | |
# Extract the first word of "mkdir", so it can be a program name with args. | | # Extract the first word of "mkdir", so it can be a program name with args. |
set dummy mkdir; ac_word=$2 | | set dummy mkdir; 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:1137: checking for $ac_word" >&5 | | echo "configure:1150: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+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 "tar", so it can be a program name with args. | | # Extract the first word of "tar", so it can be a program name with args. |
set dummy tar; ac_word=$2 | | set dummy tar; 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:1168: checking for $ac_word" >&5 | | echo "configure:1181: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_TAR'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_TAR'+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 "makedepend", so it can be a program name with args. | | # Extract the first word of "makedepend", so it can be a program name with args. |
set dummy makedepend; ac_word=$2 | | set dummy makedepend; 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:1199: checking for $ac_word" >&5 | | echo "configure:1212: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_DEPEND'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_DEPEND'+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 "cp", so it can be a program name with args. | | # Extract the first word of "cp", so it can be a program name with args. |
set dummy cp; ac_word=$2 | | set dummy cp; 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:1230: checking for $ac_word" >&5 | | echo "configure:1243: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_CP'+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 "basename", so it can be a program name with args. | | # Extract the first word of "basename", so it can be a program name with args. |
set dummy basename; ac_word=$2 | | set dummy basename; 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:1261: checking for $ac_word" >&5 | | echo "configure:1274: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_BASENAME'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_BASENAME'+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 "sed", so it can be a program name with args. | | # Extract the first word of "sed", so it can be a program name with args. |
set dummy sed; ac_word=$2 | | set dummy sed; 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:1292: checking for $ac_word" >&5 | | echo "configure:1305: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_SED'+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 "rm", so it can be a program name with args. | | # Extract the first word of "rm", so it can be a program name with args. |
set dummy rm; ac_word=$2 | | set dummy rm; 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:1323: checking for $ac_word" >&5 | | echo "configure:1336: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_RM'+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 "ar", so it can be a program name with args. | | # Extract the first word of "ar", so it can be a program name with args. |
set dummy ar; ac_word=$2 | | set dummy ar; 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:1354: checking for $ac_word" >&5 | | echo "configure:1367: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_AR'+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 "latex", so it can be a program name with args. | | # Extract the first word of "latex", so it can be a program name with args. |
set dummy latex; ac_word=$2 | | set dummy latex; 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:1385: checking for $ac_word" >&5 | | echo "configure:1398: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_LATEX'+set}'`\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_path_LATEX'+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:1419: checking for $ac_word" >&5 | | echo "configure:1432: 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:1453: checking for main in -lnsl" >&5 | | echo "configure:1466: 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 1461 "configure" | | #line 1474 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:1468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:1481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:1496: checking for main in -lsocket" >&5 | | echo "configure:1509: 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 1504 "configure" | | #line 1517 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:1511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:1524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:1544: checking for X" >&5 | | echo "configure:1557: 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 1606 "configure" | | #line 1619 "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:1611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:1624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out` | | ac_err=`grep -v '^ *+' conftest.out` |
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 1680 "configure" | | #line 1693 "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:1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:1793: checking whether -R must be followed by a space" >&5 | | echo "configure:1806: 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 1796 "configure" | | #line 1809 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:1803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:1816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 1819 "configure" | | #line 1832 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:1839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:1858: checking for dnet_ntoa in -ldnet" >&5 | | echo "configure:1871: 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 1866 "configure" | | #line 1879 "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:1877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:1890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:1899: checking for dnet_ntoa in -ldnet_stub" >&5 | | echo "configure:1912: 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 1907 "configure" | | #line 1920 "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:1918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:1931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:1947: checking for gethostbyname" >&5 | | echo "configure:1960: 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 1952 "configure" | | #line 1965 "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:1975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:1988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:1996: checking for gethostbyname in -lnsl" >&5 | | echo "configure:2009: 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 2004 "configure" | | #line 2017 "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:2015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2045: checking for connect" >&5 | | echo "configure:2058: 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 2050 "configure" | | #line 2063 "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:2073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2094: checking for connect in -lsocket" >&5 | | echo "configure:2107: 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 2102 "configure" | | #line 2115 "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:2113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2137: checking for remove" >&5 | | echo "configure:2150: 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 2142 "configure" | | #line 2155 "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:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2186: checking for remove in -lposix" >&5 | | echo "configure:2199: 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 2194 "configure" | | #line 2207 "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:2205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2229: checking for shmat" >&5 | | echo "configure:2242: 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 2234 "configure" | | #line 2247 "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:2257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2278: checking for shmat in -lipc" >&5 | | echo "configure:2291: 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 2286 "configure" | | #line 2299 "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:2297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2330: checking for IceConnectionNumber in -lICE" >&5 | | echo "configure:2343: 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 $LIBS" | | LIBS="-lICE $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2338 "configure" | | #line 2351 "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:2349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2378: checking for main in -lX11" >&5 | | echo "configure:2391: 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 2386 "configure" | | #line 2399 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2418: checking for main in -lICE" >&5 | | echo "configure:2431: 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 2426 "configure" | | #line 2439 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2458: checking for main in -lSM" >&5 | | echo "configure:2471: 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 2466 "configure" | | #line 2479 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2498: checking for main in -lXext" >&5 | | echo "configure:2511: 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 2506 "configure" | | #line 2519 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2538: checking for main in -lXt" >&5 | | echo "configure:2551: 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 2546 "configure" | | #line 2559 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2578: checking for main in -lXmu" >&5 | | echo "configure:2591: 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 2586 "configure" | | #line 2599 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2618: checking for main in -lXaw" >&5 | | echo "configure:2631: 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 2626 "configure" | | #line 2639 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 |
| | |
cat >> confdefs.h <<\EOF | | cat >> confdefs.h <<\EOF |
#define HAVE_LIBXAW 1 | | #define HAVE_LIBXAW 1 |
EOF | | EOF |
X11LIBS="$X11LIBS -lXaw" | | X11LIBS="-lXaw $X11LIBS" |
else | | else |
echo "$ac_t""no" 1>&6 | | echo "$ac_t""no" 1>&6 |
fi | | fi |
| | |
| | |
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:2658: checking for main in -lXpm" >&5 | | echo "configure:2671: 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 -lX11 $LIBS" | | LIBS="-lXpm -lX11 $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2666 "configure" | | #line 2679 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lcrypt""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 |
echo "configure:2701: checking for main in -lcrypt" >&5 | | echo "configure:2714: 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 2709 "configure" | | #line 2722 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -ldmalloc""... $ac_c" 1>&6 | | echo $ac_n "checking for main in -ldmalloc""... $ac_c" 1>&6 |
echo "configure:2745: checking for main in -ldmalloc" >&5 | | echo "configure:2758: checking for main in -ldmalloc" >&5 |
ac_lib_var=`echo dmalloc'_'main | sed 'y%./+-%__p_%'` | | ac_lib_var=`echo dmalloc'_'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="-ldmalloc $LIBS" | | LIBS="-ldmalloc $LIBS" |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 2753 "configure" | | #line 2766 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2789: checking for main in -lm" >&5 | | echo "configure:2802: 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 2797 "configure" | | #line 2810 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
main() | | main() |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 |
| | |
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:2837: checking for $ac_hdr that defines DIR" >&5 | | echo "configure:2850: 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 2842 "configure" | | #line 2855 "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:2850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:2863: \"$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:2875: checking for opendir in -ldir" >&5 | | echo "configure:2888: 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 2883 "configure" | | #line 2896 "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:2894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2916: checking for opendir in -lx" >&5 | | echo "configure:2929: 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 2924 "configure" | | #line 2937 "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:2935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:2958: checking for ANSI C header files" >&5 | | echo "configure:2971: 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 2963 "configure" | | #line 2976 "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:2971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:2984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out` | | ac_err=`grep -v '^ *+' conftest.out` |
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 2988 "configure" | | #line 3001 "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 3006 "configure" | | #line 3019 "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 3027 "configure" | | #line 3040 "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:3038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./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:3065: checking for $ac_hdr" >&5 | | echo "configure:3078: 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 3070 "configure" | | #line 3083 "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:3075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | { (eval echo configure:3088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out` | | ac_err=`grep -v '^ *+' conftest.out` |
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:3103: checking for working const" >&5 | | echo "configure:3116: 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 3108 "configure" | | #line 3121 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
int main() { | | int main() { |
| | |
| | |
; return 0; } | | ; return 0; } |
EOF | | EOF |
if { (eval echo configure:3157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3170: \"$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:3178: checking for inline" >&5 | | echo "configure:3191: 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 3185 "configure" | | #line 3198 "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:3192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3205: \"$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:3218: checking for pid_t" >&5 | | echo "configure:3231: 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 3223 "configure" | | #line 3236 "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:3251: checking for size_t" >&5 | | echo "configure:3264: 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 3256 "configure" | | #line 3269 "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:3284: checking whether time.h and sys/time.h may both be included" >&5 | | echo "configure:3297: 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 3289 "configure" | | #line 3302 "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:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3311: \"$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:3319: checking whether struct tm is in sys/time.h or time.h" >&5 | | echo "configure:3332: 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 3324 "configure" | | #line 3337 "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:3332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3345: \"$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:3353: checking for uid_t in sys/types.h" >&5 | | echo "configure:3366: 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 3358 "configure" | | #line 3371 "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:3389: checking whether ${CC-cc} needs -traditional" >&5 | | echo "configure:3402: 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 3395 "configure" | | #line 3408 "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 3413 "configure" | | #line 3426 "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:3435: checking for 8-bit clean memcmp" >&5 | | echo "configure:3448: 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 3443 "configure" | | #line 3456 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
main() | | main() |
| | |
} | | } |
| | |
EOF | | EOF |
if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./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.o" | | test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o" |
| | |
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:3471: checking whether setpgrp takes no argument" >&5 | | echo "configure:3484: 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 3479 "configure" | | #line 3492 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
/* | | /* |
| | |
} | | } |
| | |
EOF | | EOF |
if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null | | if { (eval echo configure:3508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./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:3519: checking return type of signal handlers" >&5 | | echo "configure:3532: 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 3524 "configure" | | #line 3537 "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:3541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3554: \"$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:3560: checking for strftime" >&5 | | echo "configure:3573: 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 3565 "configure" | | #line 3578 "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:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:3601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:3610: checking for strftime in -lintl" >&5 | | echo "configure:3623: 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 3618 "configure" | | #line 3631 "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:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:3656: checking for vprintf" >&5 | | echo "configure:3669: 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 3661 "configure" | | #line 3674 "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:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:3697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:3708: checking for _doprnt" >&5 | | echo "configure:3721: 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 3713 "configure" | | #line 3726 "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:3736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:3749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:3763: checking for $ac_func" >&5 | | echo "configure:3776: 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 3768 "configure" | | #line 3781 "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:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | | if { (eval echo configure:3804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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:3817: checking how many args gettimeofday uses" >&5 | | echo "configure:3830: 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 3822 "configure" | | #line 3835 "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:3831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3844: \"$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 3839 "configure" | | #line 3852 "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:3847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | | if { (eval echo configure:3860: \"$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 |
| | |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| | |
nprefix=`eval echo ${prefix}` | | nprefix=`eval echo ${prefix}` |
| | |
| | if eval "test x$old_layout = xyes"; then |
ndatadir=`eval echo ${datadir}` | | ndatadir=`eval echo ${datadir}` |
nlocaldir=`eval echo ${localstatedir}` | | nlocaldir=`eval echo ${localstatedir}` |
| | else |
| | echo "" |
| | echo "If you are upgrading an 0.95.3 or earlier release, you may want to use" |
| | echo "--enable-old-layout to use the same install directories" |
| | echo "" |
| | ndatadir=`eval echo ${datadir}`/crossfire |
| | nlocaldir=`eval echo ${localstatedir}`/crossfire |
| | fi |
| | |
| | |
| | |
nlibdir=`eval echo ${libdir}` | | nlibdir=`eval echo ${libdir}` |
| | |
EOF | | EOF |
| | |
| | |
| | datadir=${ndatadir} |
| | localstatedir=${nlocaldir} |
| | |
trap '' 1 2 15 | | trap '' 1 2 15 |
cat > confcache <<\EOF | | cat > confcache <<\EOF |