| verzia 1.1, 2001/09/24 07:01:10 |
verzia 1.2, 2001/10/25 09:37:57 |
| Riadok 13 ac_default_prefix=/usr/local |
|
| Riadok 13 ac_default_prefix=/usr/local |
|
| # Any additions from configure.in: |
# Any additions from configure.in: |
| ac_help="$ac_help |
ac_help="$ac_help |
| --enable-debug=N Turn on debuging." |
--enable-debug=N Turn on debuging." |
| |
ac_help="$ac_help |
| |
--enable-azet Turn on support for www.azet.sk." |
| |
ac_help="$ac_help |
| |
--enable-whizdiary Turn on support for www.whizdiary.com." |
| |
ac_help="$ac_help |
| |
--enable-spisnet Turn on supprot for www.spisnet.sk." |
| |
ac_help="$ac_help |
| |
--enable-globtelnet Turn on support for globtelnet.sk." |
| |
ac_help="$ac_help |
| |
--enable-mtnsms Turn on support for mtnsms.com." |
| |
|
| # Initialize some variables set by options. |
# Initialize some variables set by options. |
| # The variables have the same names as the options, with |
# The variables have the same names as the options, with |
| Riadok 554 ac_configure=$ac_aux_dir/configure # Thi |
|
| Riadok 564 ac_configure=$ac_aux_dir/configure # Thi |
|
| # 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:558: checking for a BSD compatible install" >&5 |
echo "configure:568: 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 |
| Riadok 607 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
|
| Riadok 617 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
|
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| |
|
| echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
| echo "configure:611: checking whether build environment is sane" >&5 |
echo "configure:621: checking whether build environment is sane" >&5 |
| # Just in case |
# Just in case |
| sleep 1 |
sleep 1 |
| echo timestamp > conftestfile |
echo timestamp > conftestfile |
| Riadok 664 test "$program_suffix" != NONE && |
|
| Riadok 674 test "$program_suffix" != NONE && |
|
| test "$program_transform_name" = "" && program_transform_name="s,x,x," |
test "$program_transform_name" = "" && program_transform_name="s,x,x," |
| |
|
| 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:668: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:678: 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 |
|
|
| |
|
| missing_dir=`cd $ac_aux_dir && pwd` |
missing_dir=`cd $ac_aux_dir && pwd` |
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
| echo "configure:714: checking for working aclocal" >&5 |
echo "configure:724: checking for working aclocal" >&5 |
| # Run test in a subshell; some versions of sh will print an error if |
# Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. |
# an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
|
|
| fi |
fi |
| |
|
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
| echo "configure:727: checking for working autoconf" >&5 |
echo "configure:737: checking for working autoconf" >&5 |
| # Run test in a subshell; some versions of sh will print an error if |
# Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. |
# an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
|
|
| fi |
fi |
| |
|
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
| echo "configure:740: checking for working automake" >&5 |
echo "configure:750: checking for working automake" >&5 |
| # Run test in a subshell; some versions of sh will print an error if |
# Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. |
# an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
|
|
| fi |
fi |
| |
|
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
| echo "configure:753: checking for working autoheader" >&5 |
echo "configure:763: checking for working autoheader" >&5 |
| # Run test in a subshell; some versions of sh will print an error if |
# Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. |
# an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
|
|
| fi |
fi |
| |
|
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
| echo "configure:766: checking for working makeinfo" >&5 |
echo "configure:776: checking for working makeinfo" >&5 |
| # Run test in a subshell; some versions of sh will print an error if |
# Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. |
# an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
|
|
| |
|
| |
|
| |
|
| |
# Checks for programs. {{{ |
| |
# Check for gcc {{{ |
| # 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:786: checking for $ac_word" >&5 |
echo "configure:798: 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 |
| Riadok 812 if test -z "$CC"; then |
|
| Riadok 824 if test -z "$CC"; then |
|
| # 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:816: checking for $ac_word" >&5 |
echo "configure:828: 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 "cl", so it can be a program name with args. |
# Extract the first word of "cl", so it can be a program name with args. |
| set dummy cl; ac_word=$2 |
set dummy cl; 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:867: checking for $ac_word" >&5 |
echo "configure:879: 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:899: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:911: 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. |
| Riadok 906 cross_compiling=$ac_cv_prog_cc_cross |
|
| Riadok 918 cross_compiling=$ac_cv_prog_cc_cross |
|
| |
|
| cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
| |
|
| #line 910 "configure" |
#line 922 "configure" |
| #include "confdefs.h" |
#include "confdefs.h" |
| |
|
| main(){return(0);} |
main(){return(0);} |
| EOF |
EOF |
| if { (eval echo configure:915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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 |
| Riadok 937 if test $ac_cv_prog_cc_works = no; then |
|
| Riadok 949 if test $ac_cv_prog_cc_works = no; 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:941: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:953: 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:946: checking whether we are using GNU C" >&5 |
echo "configure:958: 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:955: \"$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:967: \"$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 |
| Riadok 970 ac_test_CFLAGS="${CFLAGS+set}" |
|
| Riadok 982 ac_test_CFLAGS="${CFLAGS+set}" |
|
| 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:974: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:986: 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 |
|
|
| fi |
fi |
| fi |
fi |
| |
|
| |
# }}} |
| 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:1006: checking whether ln -s works" >&5 |
echo "configure:1019: 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 |
|
|
| # 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:1038: checking for a BSD compatible install" >&5 |
echo "configure:1051: 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 |
| Riadok 1086 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
|
| Riadok 1099 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
|
| |
|
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| |
|
| for ac_prog in gawk mawk nawk awk |
for ac_prog in mawk gawk nawk awk |
| do |
do |
| # 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:1095: checking for $ac_word" >&5 |
echo "configure:1108: 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 |
|
|
| # Extract the first word of "strip", so it can be a program name with args. |
# Extract the first word of "strip", so it can be a program name with args. |
| set dummy strip; ac_word=$2 |
set dummy strip; 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:1127: checking for $ac_word" >&5 |
echo "configure:1140: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| else |
else |
|
|
| echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
| fi |
fi |
| |
|
| |
# }}} Checks for programs. |
| |
|
| |
|
| |
# Checks for header files. {{{ |
| 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:1157: checking how to run the C preprocessor" >&5 |
echo "configure:1172: 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 1172 "configure" |
#line 1187 "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:1178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1193: \"$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* |
| CPP="${CC-cc} -E -traditional-cpp" |
CPP="${CC-cc} -E -traditional-cpp" |
| cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| #line 1189 "configure" |
#line 1204 "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:1195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1210: \"$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* |
| CPP="${CC-cc} -nologo -E" |
CPP="${CC-cc} -nologo -E" |
| cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| #line 1206 "configure" |
#line 1221 "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:1212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1227: \"$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 |
| : |
: |
|
|
| echo "$ac_t""$CPP" 1>&6 |
echo "$ac_t""$CPP" 1>&6 |
| |
|
| 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:1237: checking for ANSI C header files" >&5 |
echo "configure:1252: 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 1242 "configure" |
#line 1257 "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:1250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1265: \"$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* |
| Riadok 1263 rm -f conftest* |
|
| Riadok 1278 rm -f 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 1267 "configure" |
#line 1282 "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 1285 "configure" |
#line 1300 "configure" |
| #include "confdefs.h" |
#include "confdefs.h" |
| #include <stdlib.h> |
#include <stdlib.h> |
| EOF |
EOF |
| Riadok 1302 if test "$cross_compiling" = yes; then |
|
| Riadok 1317 if test "$cross_compiling" = yes; then |
|
| : |
: |
| else |
else |
| cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| #line 1306 "configure" |
#line 1321 "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') |
| Riadok 1313 if (XOR (islower (i), ISLOWER (i)) || to |
|
| Riadok 1328 if (XOR (islower (i), ISLOWER (i)) || to |
|
| exit (0); } |
exit (0); } |
| |
|
| EOF |
EOF |
| if { (eval echo configure:1317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then |
then |
| : |
: |
| else |
else |
| Riadok 1340 for ac_hdr in unistd.h getopt.h |
|
| Riadok 1355 for ac_hdr in unistd.h getopt.h |
|
| 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:1344: checking for $ac_hdr" >&5 |
echo "configure:1359: 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 1349 "configure" |
#line 1364 "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:1354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1369: \"$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* |
|
|
| fi |
fi |
| done |
done |
| |
|
| |
# }}} Checks for header files. |
| |
|
| |
|
| |
# Checks for library functions. {{{ |
| echo $ac_n "checking for vprintf""... $ac_c" 1>&6 |
echo $ac_n "checking for vprintf""... $ac_c" 1>&6 |
| echo "configure:1383: checking for vprintf" >&5 |
echo "configure:1400: 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 1388 "configure" |
#line 1405 "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:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1428: \"$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:1435: checking for _doprnt" >&5 |
echo "configure:1452: 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 1440 "configure" |
#line 1457 "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:1463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1480: \"$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 select socket strdup strstr |
for ac_func in select socket strdup strstr |
| 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:1490: checking for $ac_func" >&5 |
echo "configure:1507: 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 1495 "configure" |
#line 1512 "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:1518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1535: \"$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 |
|
|
| fi |
fi |
| done |
done |
| |
|
| |
# }}} Checks for library functions. |
| |
|
| |
# AC_MSG_CHECKING(--enable-debug argument) {{{ |
| echo $ac_n "checking --enable-debug argument""... $ac_c" 1>&6 |
echo $ac_n "checking --enable-debug argument""... $ac_c" 1>&6 |
| echo "configure:1544: checking --enable-debug argument" >&5 |
echo "configure:1563: checking --enable-debug argument" >&5 |
| # Check whether --enable-debug or --disable-debug was given. |
# Check whether --enable-debug or --disable-debug was given. |
| if test "${enable_debug+set}" = set; then |
if test "${enable_debug+set}" = set; then |
| enableval="$enable_debug" |
enableval="$enable_debug" |
| debug="${enableval}"; DEBUG="-Wshadow -g -ggdb -DDEBUG=$debug"; |
debug="${enableval}"; |
| echo "$ac_t""${enableval}" 1>&6 ; |
cat >> confdefs.h <<\EOF |
| |
#define DEBUG 1 |
| |
EOF |
| |
|
| |
DEBUG="-Wshadow -g -ggdb -DDEBUG=$debug"; |
| |
echo "$ac_t""${enableval}" 1>&6 ; |
| else |
else |
| debug="no"; echo "$ac_t""no" 1>&6 |
debug="no"; echo "$ac_t""no" 1>&6 |
| fi |
fi |
| |
|
| if test "$debug" = "yes"; then |
if test "$debug" = "yes"; then |
| |
cat >> confdefs.h <<\EOF |
| |
#define DEBUG 1 |
| |
EOF |
| |
|
| DEBUG="-Wshadow -g -ggdb -DDEBUG=1" |
DEBUG="-Wshadow -g -ggdb -DDEBUG=1" |
| fi |
fi |
| |
# }}} AC_MSG_CHECKING(--enable-debug argument) |
| |
# AC_MSG_CHECKING(--enable-azet argument) {{{ |
| |
echo $ac_n "checking --enable-azet argument""... $ac_c" 1>&6 |
| |
echo "configure:1588: checking --enable-azet argument" >&5 |
| |
# Check whether --enable-azet or --disable-azet was given. |
| |
if test "${enable_azet+set}" = set; then |
| |
enableval="$enable_azet" |
| |
azet="${enableval}"; |
| |
cat >> confdefs.h <<\EOF |
| |
#define ENABLE_AZET 1 |
| |
EOF |
| |
|
| |
echo "$ac_t""${enableval}" 1>&6 ; |
| |
else |
| |
azet="no"; echo "$ac_t""no" 1>&6 |
| |
fi |
| |
|
| |
# }}} AC_MSG_CHECKING(--enable-azet argument) |
| |
# AC_MSG_CHECKING(--enable-whizdiary argument) {{{ |
| |
echo $ac_n "checking --enable-whizdiary argument""... $ac_c" 1>&6 |
| |
echo "configure:1605: checking --enable-whizdiary argument" >&5 |
| |
# Check whether --enable-whizdiary or --disable-whizdiary was given. |
| |
if test "${enable_whizdiary+set}" = set; then |
| |
enableval="$enable_whizdiary" |
| |
whizdiary="${enableval}"; |
| |
cat >> confdefs.h <<\EOF |
| |
#define ENABLE_WHIZDIARY 1 |
| |
EOF |
| |
|
| |
echo "$ac_t""${enableval}" 1>&6 ; |
| |
else |
| |
whizdiary="no"; echo "$ac_t""no" 1>&6 |
| |
fi |
| |
|
| |
# }}} AC_MSG_CHECKING(--enable-whizdiary argument) |
| |
# AC_MSG_CHECKING(--enable-spisnet argument) {{{ |
| |
echo $ac_n "checking --enable-spisnet argument""... $ac_c" 1>&6 |
| |
echo "configure:1622: checking --enable-spisnet argument" >&5 |
| |
# Check whether --enable-spisnet or --disable-spisnet was given. |
| |
if test "${enable_spisnet+set}" = set; then |
| |
enableval="$enable_spisnet" |
| |
spisnet="${enableval}"; |
| |
cat >> confdefs.h <<\EOF |
| |
#define ENABLE_SPISNET 1 |
| |
EOF |
| |
|
| |
echo "$ac_t""${enableval}" 1>&6 ; |
| |
else |
| |
spisnet="no"; echo "$ac_t""no" 1>&6 |
| |
fi |
| |
|
| |
# }}} AC_MSG_CHECKING(--enable-spisnet argument) |
| |
# AC_MSG_CHECKING(--enable-globtelnet argument) {{{ |
| |
echo $ac_n "checking --enable-globtelnet argument""... $ac_c" 1>&6 |
| |
echo "configure:1639: checking --enable-globtelnet argument" >&5 |
| |
# Check whether --enable-globtelnet or --disable-globtelnet was given. |
| |
if test "${enable_globtelnet+set}" = set; then |
| |
enableval="$enable_globtelnet" |
| |
globtelnet="${enableval}"; |
| |
cat >> confdefs.h <<\EOF |
| |
#define ENABLE_GLOBTELNET 1 |
| |
EOF |
| |
|
| |
echo "$ac_t""${enableval}" 1>&6 ; |
| |
else |
| |
globtelnet="no"; echo "$ac_t""no" 1>&6 |
| |
fi |
| |
|
| |
# }}} AC_MSG_CHECKING(--enable-globtelnet argument) |
| |
# AC_MSG_CHECKING(--enable-mtnsms argument) {{{ |
| |
echo $ac_n "checking --enable-mtnsms argument""... $ac_c" 1>&6 |
| |
echo "configure:1656: checking --enable-mtnsms argument" >&5 |
| |
# Check whether --enable-mtnsms or --disable-mtnsms was given. |
| |
if test "${enable_mtnsms+set}" = set; then |
| |
enableval="$enable_mtnsms" |
| |
mtnsms="${enableval}"; |
| |
cat >> confdefs.h <<\EOF |
| |
#define ENABLE_MTNSMS 1 |
| |
EOF |
| |
|
| |
echo "$ac_t""${enableval}" 1>&6 ; |
| |
else |
| |
mtnsms="no"; echo "$ac_t""no" 1>&6 |
| |
fi |
| |
|
| |
# }}} AC_MSG_CHECKING(--enable-mtnsms argument) |
| |
|
| |
|
| |
|
| |
|
| Riadok 1927 chmod +x $CONFIG_STATUS |
|
| Riadok 2042 chmod +x $CONFIG_STATUS |
|
| rm -fr confdefs* $ac_clean_files |
rm -fr confdefs* $ac_clean_files |
| test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
| |
|
| |
|
| |
# vim:set ts=4: |
| |
# vim600:fdm=marker fdl=0 fdc=3: |