version 1.2, 2001/10/14 01:43:29 |
version 1.3, 2001/10/17 15:26:12 |
Line 24 ac_help="$ac_help |
|
Line 24 ac_help="$ac_help |
|
ac_help="$ac_help |
ac_help="$ac_help |
--enable-utils Include utils dir to library." |
--enable-utils Include utils dir to library." |
|
|
BUILD_LIBS="" |
BUILD_DIRS="" |
|
libplaton_SOURCES="" |
|
libplaton_SOURCES_html="html/convert.c html/read.c html/tag.cpp" |
|
libplaton_SOURCES_str="str/strctype.c str/strdyn.c str/strplus.c" |
|
libplaton_SOURCES_telnet="telnet/atlantis.c telnet/colors.c \ |
|
telnet/discolor.c telnet/tn_noobj.c \ |
|
telnet/atlantis_cc.cpp telnet/telnet.cpp" |
|
libplaton_SOURCES_utils="utils/fileplus.c utils/kbhit.c utils/luhnchk.c" |
|
libplaton_OBJECTS_html="html/convert.o html/read.o html/tag.o" |
|
libplaton_OBJECTS_str="str/strctype.o str/strdyn.o str/strplus.o" |
|
libplaton_OBJECTS_telnet="telnet/atlantis.o telnet/colors.o \ |
|
telnet/discolor.o telnet/tn_noobj.o \ |
|
telnet/atlantis_cc.o telnet/telnet.o" |
|
libplaton_OBJECTS_utils="utils/fileplus.o utils/kbhit.o utils/luhnchk.o" |
|
|
# }}} |
# }}} |
|
|
# Initialize some variables set by options. {{{ |
# Initialize some variables set by options. {{{ |
Line 435 This file contains any messages produced |
|
Line 449 This file contains any messages produced |
|
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
" 1>&5 |
" 1>&5 |
# }}} |
# }}} |
|
|
# Strip out --no-create and --no-recursion so they do not pile up. {{{ |
# Strip out --no-create and --no-recursion so they do not pile up. {{{ |
# Also quote any args containing shell metacharacters. |
# Also quote any args containing shell metacharacters. |
ac_configure_args= |
ac_configure_args= |
|
|
esac |
esac |
done |
done |
# }}} |
# }}} |
|
|
# NLS nuisances. {{{ |
# NLS nuisances. {{{ |
# Only set these to C if already set. These must not be set unconditionally |
# Only set these to C if already set. These must not be set unconditionally |
# because not all systems understand e.g. LANG=C (notably SCO). |
# because not all systems understand e.g. LANG=C (notably SCO). |
|
|
> $cache_file |
> $cache_file |
fi |
fi |
# }}} |
# }}} |
|
|
# Setting of ac_cpp, ac_compile, ac_link {{{ |
# Setting of ac_cpp, ac_compile, ac_link {{{ |
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. |
|
|
ac_n= ac_c='\c' ac_t= |
ac_n= ac_c='\c' ac_t= |
fi |
fi |
# }}} |
# }}} |
|
|
# Check for install-sh install.sh {{{ |
# Check for install-sh install.sh {{{ |
ac_aux_dir= |
ac_aux_dir= |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
Line 610 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
|
Line 620 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
# }}} |
# }}} |
# }}} |
# }}} |
|
|
# checking whether build environment is sane {{{ |
# checking whether build environment is sane {{{ |
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:611: checking whether build environment is sane" >&5 |
Line 669 test "$program_suffix" != NONE && |
|
Line 678 test "$program_suffix" != NONE && |
|
# sed with no file args requires a program. |
# sed with no file args requires a program. |
test "$program_transform_name" = "" && program_transform_name="s,x,x," |
test "$program_transform_name" = "" && program_transform_name="s,x,x," |
# }}} |
# }}} |
|
|
# checking whether ${MAKE-make} sets \${MAKE} {{{ |
# checking whether ${MAKE-make} sets \${MAKE} {{{ |
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:668: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|
|
SET_MAKE="MAKE=${MAKE-make}" |
SET_MAKE="MAKE=${MAKE-make}" |
fi |
fi |
# }}} |
# }}} |
|
|
PACKAGE=mail2sms |
|
VERSION=1.0.0 |
|
|
|
# configure: error: source directory already configured; run ... {{{ |
# configure: error: source directory already configured; run ... {{{ |
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } |
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } |
fi |
fi |
# }}} |
# }}} |
cat >> confdefs.h <<EOF |
|
#define PACKAGE "$PACKAGE" |
|
#define VERSION "$VERSION" |
|
EOF |
|
|
|
# checking whether ln -s works {{{ |
# checking whether ln -s works {{{ |
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:1006: checking whether ln -s works" >&5 |
|
|
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
fi |
fi |
# }}} checking whether ln -s works |
# }}} checking whether ln -s works |
|
|
# Find a good install program. We prefer a C program (faster), {{{ |
# Find a good install program. We prefer a C program (faster), {{{ |
# so one script is as good as another. But avoid the broken or |
# so one script is as good as another. But avoid the broken or |
# incompatible versions: |
# incompatible versions: |
Line 799 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
|
Line 797 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
# }}} Find a good install program. We prefer a C program (faster) |
# }}} Find a good install program. We prefer a C program (faster) |
|
|
# checking for gawk, mawk, nawk, awk {{{ |
# checking for gawk, mawk, nawk, awk {{{ |
for ac_prog in gawk mawk nawk awk ; do |
for ac_prog in gawk mawk nawk awk ; do |
# Extract the first word of "$ac_prog", |
# Extract the first word of "$ac_prog", |
Line 835 for ac_prog in gawk mawk nawk awk ; do |
|
Line 832 for ac_prog in gawk mawk nawk awk ; do |
|
test -n "$AWK" && break |
test -n "$AWK" && break |
done |
done |
# }}} checking for gawk, mawk, nawk, awk |
# }}} checking for gawk, mawk, nawk, awk |
|
|
# checking for strip {{{ |
# checking for strip {{{ |
# 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_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
fi |
fi |
# }}} checking for strip |
# }}} checking for strip |
|
|
# checking for gcc 1{{{ |
# checking for gcc 1{{{ |
# 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_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
fi |
fi |
# }}} checking for gcc 1 |
# }}} checking for gcc 1 |
|
|
# checking for gcc 2{{{ |
# checking for gcc 2{{{ |
# checking for cc {{{ |
# checking for cc {{{ |
# 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. |
|
|
fi |
fi |
fi |
fi |
# }}} checking for gcc 2 |
# }}} checking for gcc 2 |
|
|
# checking how to run the C preprocessor {{{ |
# checking how to run the C preprocessor {{{ |
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:1157: checking how to run the C preprocessor" >&5 |
Line 1209 echo "configure:1544: checking --enable- |
|
Line 1202 echo "configure:1544: checking --enable- |
|
if test "${enable_html+set}" = set; then |
if test "${enable_html+set}" = set; then |
enableval="$enable_html" |
enableval="$enable_html" |
if test "${enableval}" = yes; then |
if test "${enableval}" = yes; then |
BUILD_LIBS="$BUILD_LIBS html" |
BUILD_DIRS="html" |
|
libplaton_SOURCES="$libplaton_SOURCES $libplaton_SOURCES_html" |
|
libplaton_OBJECTS="$libplaton_OBJECTS $libplaton_OBJECTS_html" |
|
echo "$ac_t""${enableval}" 1>&6 ; |
|
else |
|
echo "$ac_t""${enableval}" 1>&6 ; |
fi |
fi |
echo "$ac_t""${enableval}" 1>&6 ; |
|
else |
else |
echo "$ac_t""no" 1>&6 |
BUILD_DIRS="$BUILD_DIRS html" |
|
libplaton_SOURCES="$libplaton_SOURCES $libplaton_SOURCES_html" |
|
libplaton_OBJECTS="$libplaton_OBJECTS $libplaton_OBJECTS_html" |
|
echo "$ac_t""yes (default)" 1>&6 |
fi |
fi |
|
|
# }}} checking --enable-html argument |
# }}} checking --enable-html argument |
Line 1224 echo "configure:1544: checking --enable- |
|
Line 1224 echo "configure:1544: checking --enable- |
|
if test "${enable_str+set}" = set; then |
if test "${enable_str+set}" = set; then |
enableval="$enable_str" |
enableval="$enable_str" |
if test "${enableval}" = yes; then |
if test "${enableval}" = yes; then |
BUILD_LIBS="$BUILD_LIBS str" |
BUILD_DIRS="$BUILD_DIRS str" |
|
libplaton_SOURCES="$libplaton_SOURCES $libplaton_SOURCES_str" |
|
libplaton_OBJECTS="$libplaton_OBJECTS $libplaton_OBJECTS_str" |
|
echo "$ac_t""${enableval}" 1>&6 ; |
|
else |
|
echo "$ac_t""${enableval}" 1>&6 ; |
fi |
fi |
echo "$ac_t""${enableval}" 1>&6 ; |
|
else |
else |
echo "$ac_t""no" 1>&6 |
BUILD_DIRS="$BUILD_DIRS str" |
|
libplaton_SOURCES="$libplaton_SOURCES $libplaton_SOURCES_str" |
|
libplaton_OBJECTS="$libplaton_OBJECTS $libplaton_OBJECTS_str" |
|
echo "$ac_t""yes (default)" 1>&6 |
fi |
fi |
|
|
# }}} checking --enable-str argument |
# }}} checking --enable-str argument |
Line 1239 echo "configure:1544: checking --enable- |
|
Line 1246 echo "configure:1544: checking --enable- |
|
if test "${enable_telnet+set}" = set; then |
if test "${enable_telnet+set}" = set; then |
enableval="$enable_telnet" |
enableval="$enable_telnet" |
if test "${enableval}" = yes; then |
if test "${enableval}" = yes; then |
BUILD_LIBS="$BUILD_LIBS telnet" |
BUILD_DIRS="$BUILD_DIRS telnet" |
|
libplaton_SOURCES="$libplaton_SOURCES $libplaton_SOURCES_telnet" |
|
libplaton_OBJECTS="$libplaton_OBJECTS $libplaton_OBJECTS_telnet" |
|
echo "$ac_t""${enableval}" 1>&6 ; |
|
else |
|
echo "$ac_t""${enableval}" 1>&6 ; |
fi |
fi |
echo "$ac_t""${enableval}" 1>&6 ; |
|
else |
else |
echo "$ac_t""no" 1>&6 |
BUILD_DIRS="$BUILD_DIRS telnet" |
|
libplaton_SOURCES="$libplaton_SOURCES $libplaton_SOURCES_telnet" |
|
libplaton_OBJECTS="$libplaton_OBJECTS $libplaton_OBJECTS_telnet" |
|
echo "$ac_t""yes (default)" 1>&6 |
fi |
fi |
|
|
# }}} checking --enable-telnet argument |
# }}} checking --enable-telnet argument |
Line 1254 echo "configure:1544: checking --enable- |
|
Line 1268 echo "configure:1544: checking --enable- |
|
if test "${enable_utils+set}" = set; then |
if test "${enable_utils+set}" = set; then |
enableval="$enable_utils" |
enableval="$enable_utils" |
if test "${enableval}" = yes; then |
if test "${enableval}" = yes; then |
BUILD_LIBS="$BUILD_LIBS utils" |
BUILD_DIRS="$BUILD_DIRS utils" |
|
libplaton_SOURCES="$libplaton_SOURCES $libplaton_SOURCES_utils" |
|
libplaton_OBJECTS="$libplaton_OBJECTS $libplaton_OBJECTS_utils" |
|
echo "$ac_t""${enableval}" 1>&6 ; |
|
else |
|
echo "$ac_t""${enableval}" 1>&6 ; |
fi |
fi |
echo "$ac_t""${enableval}" 1>&6 ; |
|
else |
else |
echo "$ac_t""no" 1>&6 |
BUILD_DIRS="$BUILD_DIRS utils" |
|
libplaton_SOURCES="$libplaton_SOURCES $libplaton_SOURCES_utils" |
|
libplaton_OBJECTS="$libplaton_OBJECTS $libplaton_OBJECTS_utils" |
|
echo "$ac_t""yes (default)" 1>&6 |
fi |
fi |
|
|
# }}} checking --enable-utils argument |
# }}} checking --enable-utils argument |
if test "x$BUILD_LIBS" = x; then |
|
echo "$ac_t""No --enable-* argument specified, enabling all." 1>&6 |
# libplaton_SOURCES & libplaton_OBJECTS {{{ |
BUILD_LIBS="html str telnet utils" |
BUILD_DIRS=`echo "$BUILD_DIRS" | sed 's/^\( *\)$//g'` |
fi |
test -z "$BUILD_DIRS" && { echo "configure: error: No targets to building. Are you OK? :-)" 1>&2; exit 1; } |
|
# }}} libplaton_SOURCES & libplaton_OBJECTS |
|
|
trap '' 1 2 15 |
trap '' 1 2 15 |
# confcache {{{ |
# confcache {{{ |
Line 1319 rm -f confcache |
|
Line 1341 rm -f confcache |
|
|
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
|
# $prefix, $exec_prefix $ac_vpsub {{{ |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
# Let make expand exec_prefix. |
# Let make expand exec_prefix. |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
Line 1329 test "x$exec_prefix" = xNONE && exec_pre |
|
Line 1352 test "x$exec_prefix" = xNONE && exec_pre |
|
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
fi |
fi |
|
# }}} $prefix, $exec_prefix $ac_vpsub |
|
|
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
|
Line 1401 s%@mandir@%$mandir%g |
|
Line 1425 s%@mandir@%$mandir%g |
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
s%@INSTALL_DATA@%$INSTALL_DATA%g |
s%@INSTALL_DATA@%$INSTALL_DATA%g |
s%@PACKAGE@%$PACKAGE%g |
|
s%@VERSION@%$VERSION%g |
|
s%@SET_MAKE@%$SET_MAKE%g |
s%@SET_MAKE@%$SET_MAKE%g |
s%@CC@%$CC%g |
s%@CC@%$CC%g |
s%@LN_S@%$LN_S%g |
s%@LN_S@%$LN_S%g |
|
|
s%@STRIP@%$STRIP%g |
s%@STRIP@%$STRIP%g |
s%@CPP@%$CPP%g |
s%@CPP@%$CPP%g |
s%@DEBUG@%$DEBUG%g |
s%@DEBUG@%$DEBUG%g |
s%@BUILD_LIBS@%$BUILD_LIBS%g |
s%@BUILD_DIRS@%$BUILD_DIRS%g |
|
s%@libplaton_SOURCES@%$libplaton_SOURCES%g |
|
s%@libplaton_OBJECTS@%$libplaton_OBJECTS%g |
|
s%@libplaton_SOURCES_html@%$libplaton_SOURCES_html%g |
|
s%@libplaton_OBJECTS_html@%$libplaton_OBJECTS_html%g |
|
s%@libplaton_SOURCES_str@%$libplaton_SOURCES_str%g |
|
s%@libplaton_OBJECTS_str@%$libplaton_OBJECTS_str%g |
|
s%@libplaton_SOURCES_telnet@%$libplaton_SOURCES_telnet%g |
|
s%@libplaton_OBJECTS_telnet@%$libplaton_OBJECTS_telnet%g |
|
s%@libplaton_SOURCES_utils@%$libplaton_SOURCES_utils%g |
|
s%@libplaton_OBJECTS_utils@%$libplaton_OBJECTS_utils%g |
|
|
CEOF |
CEOF |
EOF |
EOF |