| version 1.12, 2002/10/01 18:32:14 |
version 1.13, 2002/10/02 16:35:36 |
|
|
| ac_help= |
ac_help= |
| ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
| # Any additions from configure.in: |
# Any additions from configure.in: |
| |
ac_help="$ac_help |
| |
--enable-extended Include some non-free sources." |
| |
|
| # 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 |
|
|
| DATE="`date '+%e %B %Y' || echo '2002-??-??'`" |
DATE="`date '+%e %B %Y' || echo '2002-??-??'`" |
| MANVOLNUM=3 |
MANVOLNUM=3 |
| |
|
| |
# Check whether --enable-extended or --disable-extended was given. |
| |
if test "${enable_extended+set}" = set; then |
| |
enableval="$enable_extended" |
| |
enable_extended="yes" |
| |
else |
| |
enable_extended="no" |
| |
fi |
| |
|
| |
|
| # AC_CONFIG_HEADER {{{ |
# AC_CONFIG_HEADER {{{ |
| |
|
|
|
| # 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:542: checking for $ac_word" >&5 |
echo "configure:552: 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 "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:574: checking for $ac_word" >&5 |
echo "configure:584: 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 |
| Line 600 if test -z "$CC"; then |
|
| Line 610 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:604: checking for $ac_word" >&5 |
echo "configure:614: 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:655: checking for $ac_word" >&5 |
echo "configure:665: 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:687: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:697: 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. |
| Line 694 cross_compiling=$ac_cv_prog_cc_cross |
|
| Line 704 cross_compiling=$ac_cv_prog_cc_cross |
|
| |
|
| cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
| |
|
| #line 698 "configure" |
#line 708 "configure" |
| #include "confdefs.h" |
#include "confdefs.h" |
| |
|
| main(){return(0);} |
main(){return(0);} |
| EOF |
EOF |
| if { (eval echo configure:703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:713: \"$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 |
| Line 725 if test $ac_cv_prog_cc_works = no; then |
|
| Line 735 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:729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:739: 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:734: checking whether we are using GNU C" >&5 |
echo "configure:744: 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:743: \"$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:753: \"$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 |
| Line 758 ac_test_CFLAGS="${CFLAGS+set}" |
|
| Line 768 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:762: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:772: 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 |
|
|
| # 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:798: checking for $ac_word" >&5 |
echo "configure:808: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| else |
else |
| Line 826 test -n "$CXX" || CXX="gcc" |
|
| Line 836 test -n "$CXX" || CXX="gcc" |
|
| |
|
| |
|
| echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| echo "configure:830: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
echo "configure:840: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
| |
|
| ac_ext=C |
ac_ext=C |
| # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| Line 837 cross_compiling=$ac_cv_prog_cxx_cross |
|
| Line 847 cross_compiling=$ac_cv_prog_cxx_cross |
|
| |
|
| cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
| |
|
| #line 841 "configure" |
#line 851 "configure" |
| #include "confdefs.h" |
#include "confdefs.h" |
| |
|
| int main(){return(0);} |
int main(){return(0);} |
| EOF |
EOF |
| if { (eval echo configure:846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| ac_cv_prog_cxx_works=yes |
ac_cv_prog_cxx_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 |
| Line 868 if test $ac_cv_prog_cxx_works = no; then |
|
| Line 878 if test $ac_cv_prog_cxx_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 ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| echo "configure:872: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:882: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
| cross_compiling=$ac_cv_prog_cxx_cross |
cross_compiling=$ac_cv_prog_cxx_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:877: checking whether we are using GNU C++" >&5 |
echo "configure:887: checking whether we are using GNU C++" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+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='${CXX-g++} -E conftest.C'; { (eval echo configure:886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| ac_cv_prog_gxx=yes |
ac_cv_prog_gxx=yes |
| else |
else |
| ac_cv_prog_gxx=no |
ac_cv_prog_gxx=no |
| Line 901 ac_test_CXXFLAGS="${CXXFLAGS+set}" |
|
| Line 911 ac_test_CXXFLAGS="${CXXFLAGS+set}" |
|
| ac_save_CXXFLAGS="$CXXFLAGS" |
ac_save_CXXFLAGS="$CXXFLAGS" |
| CXXFLAGS= |
CXXFLAGS= |
| echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
| echo "configure:905: checking whether ${CXX-g++} accepts -g" >&5 |
echo "configure:915: checking whether ${CXX-g++} accepts -g" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+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 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:937: checking how to run the C preprocessor" >&5 |
echo "configure:947: 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 952 "configure" |
#line 962 "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:958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:968: \"$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 969 "configure" |
#line 979 "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:975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:985: \"$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 986 "configure" |
#line 996 "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:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1002: \"$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 |
| : |
: |
| Line 1016 echo "$ac_t""$CPP" 1>&6 |
|
| Line 1026 echo "$ac_t""$CPP" 1>&6 |
|
| # AC_GCC_TRADITIONAL {{{ |
# AC_GCC_TRADITIONAL {{{ |
| 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:1020: checking whether ${CC-cc} needs -traditional" >&5 |
echo "configure:1030: 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 1026 "configure" |
#line 1036 "configure" |
| #include "confdefs.h" |
#include "confdefs.h" |
| #include <sgtty.h> |
#include <sgtty.h> |
| Autoconf TIOCGETP |
Autoconf TIOCGETP |
| Line 1040 rm -f conftest* |
|
| Line 1050 rm -f conftest* |
|
| |
|
| 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 1044 "configure" |
#line 1054 "configure" |
| #include "confdefs.h" |
#include "confdefs.h" |
| #include <termio.h> |
#include <termio.h> |
| Autoconf TCGETA |
Autoconf TCGETA |
| Line 1067 if test "X$CC" = "Xgcc"; then |
|
| Line 1077 if test "X$CC" = "Xgcc"; then |
|
| 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:1071: checking whether ln -s works" >&5 |
echo "configure:1081: 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 |
|
|
| |
|
| LN_S="$LN_S -f" # adds '-f' parameter to 'ln' |
LN_S="$LN_S -f" # adds '-f' parameter to 'ln' |
| 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:1093: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:1103: 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 |
| Line 1146 ac_configure=$ac_aux_dir/configure # Thi |
|
| Line 1156 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:1150: checking for a BSD compatible install" >&5 |
echo "configure:1160: 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 |
| Line 1201 test -z "$INSTALL_DATA" && INSTALL_DATA= |
|
| Line 1211 test -z "$INSTALL_DATA" && INSTALL_DATA= |
|
| # 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:1205: checking for $ac_word" >&5 |
echo "configure:1215: 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 |
|
|
| # 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:1238: checking for $ac_word" >&5 |
echo "configure:1248: 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 |
|
|
| # Extract the first word of "doxygen", so it can be a program name with args. |
# Extract the first word of "doxygen", so it can be a program name with args. |
| set dummy doxygen; ac_word=$2 |
set dummy doxygen; 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:1271: checking for $ac_word" >&5 |
echo "configure:1281: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_DOXYGEN'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_DOXYGEN'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| else |
else |
|
|
| # AC_CHECK_HEADERS {{{ |
# AC_CHECK_HEADERS {{{ |
| # Checks for header files. |
# Checks for header files. |
| 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:1308: checking for ANSI C header files" >&5 |
echo "configure:1318: 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 1313 "configure" |
#line 1323 "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:1321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1331: \"$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* |
| Line 1334 rm -f conftest* |
|
| Line 1344 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 1338 "configure" |
#line 1348 "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 1356 "configure" |
#line 1366 "configure" |
| #include "confdefs.h" |
#include "confdefs.h" |
| #include <stdlib.h> |
#include <stdlib.h> |
| EOF |
EOF |
| Line 1373 if test "$cross_compiling" = yes; then |
|
| Line 1383 if test "$cross_compiling" = yes; then |
|
| : |
: |
| else |
else |
| cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| #line 1377 "configure" |
#line 1387 "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') |
| Line 1384 if (XOR (islower (i), ISLOWER (i)) || to |
|
| Line 1394 if (XOR (islower (i), ISLOWER (i)) || to |
|
| exit (0); } |
exit (0); } |
| |
|
| EOF |
EOF |
| if { (eval echo configure:1388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then |
then |
| : |
: |
| else |
else |
| Line 1411 for ac_hdr in ctype.h errno.h float.h li |
|
| Line 1421 for ac_hdr in ctype.h errno.h float.h li |
|
| 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:1415: checking for $ac_hdr" >&5 |
echo "configure:1425: 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 1420 "configure" |
#line 1430 "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:1425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1435: \"$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* |
|
|
| |
|
| |
|
| |
|
| |
OUTPUT_FILES="Makefile \ |
| |
doc/Makefile \ |
| |
platon/html/Makefile \ |
| |
platon/misc/Makefile \ |
| |
platon/net/smtp/Makefile \ |
| |
platon/net/Makefile \ |
| |
platon/str/Makefile \ |
| |
platon/Makefile \ |
| |
utils/Makefile" |
| |
|
| |
if test "$enable_extended" = "yes"; then |
| |
OUTPUT_FILES="$OUTPUT_FILES platon/net/atlantis/Makefile" |
| |
fi |
| |
|
| # {{{ AC_OUTPUT |
# {{{ AC_OUTPUT |
| trap '' 1 2 15 |
trap '' 1 2 15 |
| cat > confcache <<\EOF |
cat > confcache <<\EOF |
|
|
| ac_given_srcdir=$srcdir |
ac_given_srcdir=$srcdir |
| ac_given_INSTALL="$INSTALL" |
ac_given_INSTALL="$INSTALL" |
| |
|
| trap 'rm -fr `echo "Makefile \ |
trap 'rm -fr `echo "$OUTPUT_FILES config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
| doc/Makefile \ |
|
| platon/html/Makefile \ |
|
| platon/misc/Makefile \ |
|
| platon/net/atlantis/Makefile \ |
|
| platon/net/smtp/Makefile \ |
|
| platon/net/Makefile \ |
|
| platon/str/Makefile \ |
|
| platon/Makefile \ |
|
| utils/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
|
| EOF |
EOF |
| cat >> $CONFIG_STATUS <<EOF |
cat >> $CONFIG_STATUS <<EOF |
| |
|
|
|
| |
|
| cat >> $CONFIG_STATUS <<EOF |
cat >> $CONFIG_STATUS <<EOF |
| |
|
| CONFIG_FILES=\${CONFIG_FILES-"Makefile \ |
CONFIG_FILES=\${CONFIG_FILES-"$OUTPUT_FILES"} |
| doc/Makefile \ |
|
| platon/html/Makefile \ |
|
| platon/misc/Makefile \ |
|
| platon/net/atlantis/Makefile \ |
|
| platon/net/smtp/Makefile \ |
|
| platon/net/Makefile \ |
|
| platon/str/Makefile \ |
|
| platon/Makefile \ |
|
| utils/Makefile"} |
|
| EOF |
EOF |
| cat >> $CONFIG_STATUS <<\EOF |
cat >> $CONFIG_STATUS <<\EOF |
| for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |