ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
-ac_default_prefix=/usr/local/harvest
+ac_default_prefix=/usr/local/squid
# Initialize some variables set by options.
# The variables have the same names as the options, with
-# From configure.in Revision: 1.10.4.7
+# From configure.in Revision: 1.1.1.1
if test -n "$prefix"; then
myprefix="$prefix";
else
- myprefix='/usr/local/harvest';
+ myprefix='/usr/local/squid';
fi
INSTALL_TOPDIR="$myprefix";
XXXCC=`echo $CC | awk '{print $1}'`
if test "`basename $XXXCC`" != "gcc"
then
- echo '**************************************************************';
- echo '**************************************************************';
- echo '**************************************************************';
echo '**************************************************************';
echo '**************************************************************';
echo '**';
- echo '** WARNING: You should compile Harvest using GNU cc.';
+ echo '** WARNING: Squid is only guaranteed to compile with GNU cc.';
echo "** Currently, you're using $CC";
echo '** ';
- echo '** For more information about the platforms on which';
- echo '** Harvest works, see: ';
- echo '** http://harvest.cs.colorado.edu/harvest/FAQ.html#platforms';
- echo '** ';
- echo '**************************************************************';
- echo '**************************************************************';
- echo '**************************************************************';
echo '**************************************************************';
echo '**************************************************************';
sleep 5
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 670 "configure"
+#line 660 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 684 "configure"
+#line 674 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
echo "$ac_t""no" 1>&6
fi
-# Extract the first word of "gzip", so it can be a program name with args.
-set dummy gzip; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_path_CMD_GZIP'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$CMD_GZIP" in
- /*)
- ac_cv_path_CMD_GZIP="$CMD_GZIP" # Let the user override the test with a path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_CMD_GZIP="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_CMD_GZIP" && ac_cv_path_CMD_GZIP="/bin/false"
- ;;
-esac
-fi
-CMD_GZIP="$ac_cv_path_CMD_GZIP"
-if test -n "$CMD_GZIP"; then
- echo "$ac_t""$CMD_GZIP" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-# Extract the first word of "gunzip", so it can be a program name with args.
-set dummy gunzip; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_path_CMD_GUNZIP'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$CMD_GUNZIP" in
- /*)
- ac_cv_path_CMD_GUNZIP="$CMD_GUNZIP" # Let the user override the test with a path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_CMD_GUNZIP="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_CMD_GUNZIP" && ac_cv_path_CMD_GUNZIP="/bin/false"
- ;;
-esac
-fi
-CMD_GUNZIP="$ac_cv_path_CMD_GUNZIP"
-if test -n "$CMD_GUNZIP"; then
- echo "$ac_t""$CMD_GUNZIP" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-# Extract the first word of "unzip", so it can be a program name with args.
-set dummy unzip; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_path_CMD_UNZIP'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$CMD_UNZIP" in
- /*)
- ac_cv_path_CMD_UNZIP="$CMD_UNZIP" # Let the user override the test with a path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_CMD_UNZIP="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_CMD_UNZIP" && ac_cv_path_CMD_UNZIP="/bin/false"
- ;;
-esac
-fi
-CMD_UNZIP="$ac_cv_path_CMD_UNZIP"
-if test -n "$CMD_UNZIP"; then
- echo "$ac_t""$CMD_UNZIP" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-# Extract the first word of "uncompress", so it can be a program name with args.
-set dummy uncompress; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_path_CMD_UNCOMPRESS'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$CMD_UNCOMPRESS" in
- /*)
- ac_cv_path_CMD_UNCOMPRESS="$CMD_UNCOMPRESS" # Let the user override the test with a path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_CMD_UNCOMPRESS="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_CMD_UNCOMPRESS" && ac_cv_path_CMD_UNCOMPRESS="/bin/false"
- ;;
-esac
-fi
-CMD_UNCOMPRESS="$ac_cv_path_CMD_UNCOMPRESS"
-if test -n "$CMD_UNCOMPRESS"; then
- echo "$ac_t""$CMD_UNCOMPRESS" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
fi
done
IFS="$ac_save_ifs"
- test -z "$ac_cv_path_CMD_PERL" && ac_cv_path_CMD_PERL="/bin/false"
+ test -z "$ac_cv_path_CMD_PERL" && ac_cv_path_CMD_PERL="/usr/local/bin/perl"
;;
esac
fi
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1127 "configure"
+#line 993 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$ac_hdr>
ac_save_LIBS="$LIBS"
LIBS="-ldir $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1167 "configure"
+#line 1033 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="-lx $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1202 "configure"
+#line 1068 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_cv_c_cross=yes
else
cat > conftest.$ac_ext <<EOF
-#line 1239 "configure"
+#line 1105 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1261 "configure"
+#line 1127 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 1283 "configure"
+#line 1149 "configure"
#include "confdefs.h"
#include <string.h>
EOF
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 1301 "configure"
+#line 1167 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
:
else
cat > conftest.$ac_ext <<EOF
-#line 1322 "configure"
+#line 1188 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1362 "configure"
+#line 1228 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
done
cat > conftest.$ac_ext <<EOF
-#line 1391 "configure"
+#line 1257 "configure"
#include "confdefs.h"
#include <malloc.h>
EOF
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 1414 "configure"
+#line 1280 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 1448 "configure"
+#line 1314 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
if test -x "/bin/uname"; then
- if /bin/uname -sr | grep 'SunOS 5.[0-4]' >/dev/null 2>&1; then
+ if /bin/uname -sr | grep 'SunOS 5.[0-9]' >/dev/null 2>&1; then
NO_LIBMALLOC=x
XTRA_CFLAGS="-DUSE_MALLINFO=0 -DUSE_MALLOPT=0 $XTRA_CFLAGS"
fi
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1492 "configure"
+#line 1358 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1545 "configure"
+#line 1411 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="-lmalloc $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1580 "configure"
+#line 1446 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1615 "configure"
+#line 1481 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="-lresolv $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1649 "configure"
+#line 1515 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="-lbsd $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1683 "configure"
+#line 1549 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="-l44bsd $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1718 "configure"
+#line 1584 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="-lresolv $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1752 "configure"
+#line 1618 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="-lcrypt $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1787 "configure"
+#line 1653 "configure"
#include "confdefs.h"
int main() { return 0; }
trap 'rm -fr `echo "\
./lib/Makefile \
- ./server/Makefile \
+ ./src/Makefile \
./include/paths.h \
- ./regex/Makefile \
- ./url/Makefile \
./scripts/Makefile \
./scripts/RunCache \
./scripts/RunAccel \
- ./announce/Makefile \
include/autoconf.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
s%@MV@%$MV%g
s%@MKDIR@%$MKDIR%g
s%@LN@%$LN%g
-s%@CMD_GZIP@%$CMD_GZIP%g
-s%@CMD_GUNZIP@%$CMD_GUNZIP%g
-s%@CMD_UNZIP@%$CMD_UNZIP%g
-s%@CMD_UNCOMPRESS@%$CMD_UNCOMPRESS%g
s%@CMD_PERL@%$CMD_PERL%g
s%@PERL@%$PERL%g
s%@XTRA_OBJS@%$XTRA_OBJS%g
CONFIG_FILES=\${CONFIG_FILES-"\
./lib/Makefile \
- ./server/Makefile \
+ ./src/Makefile \
./include/paths.h \
- ./regex/Makefile \
- ./url/Makefile \
./scripts/Makefile \
./scripts/RunCache \
./scripts/RunAccel \
- ./announce/Makefile \
"}
EOF
cat >> $CONFIG_STATUS <<\EOF
dnl
-dnl Configuration input file for Harvest
+dnl Configuration input file for Squid
dnl
-dnl Darren Hardy, hardy@cs.colorado.edu, July 1994 (autoconf v1.11)
-dnl Darren Hardy, hardy@cs.colorado.edu, July 1995 (autoconf v2.4)
+dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.7)
dnl
-dnl $Id: configure.in,v 1.1 1996/02/22 06:23:53 wessels Exp $
+dnl $Id: configure.in,v 1.2 1996/02/22 07:40:41 wessels Exp $
dnl
dnl
-dnl TODO:
-dnl
-dnl - use -lgen instead of -lregex on Solaris if available.
dnl
AC_INIT(include/config.h)
AC_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.1 $)dnl
-AC_PREFIX_DEFAULT(/usr/local/harvest)
+AC_REVISION($Revision: 1.2 $)dnl
+AC_PREFIX_DEFAULT(/usr/local/squid)
dnl Build a copy of prefix
if test -n "$prefix"; then
myprefix="$prefix";
else
- myprefix='/usr/local/harvest';
+ myprefix='/usr/local/squid';
fi
INSTALL_TOPDIR="$myprefix";
XXXCC=`echo $CC | awk '{print $1}'`
if test "`basename $XXXCC`" != "gcc"
then
- echo '**************************************************************';
- echo '**************************************************************';
- echo '**************************************************************';
echo '**************************************************************';
echo '**************************************************************';
echo '**';
- echo '** WARNING: You should compile Harvest using GNU cc.';
+ echo '** WARNING: Squid is only guaranteed to compile with GNU cc.';
echo "** Currently, you're using $CC";
echo '** ';
- echo '** For more information about the platforms on which';
- echo '** Harvest works, see: ';
- echo '** http://harvest.cs.colorado.edu/harvest/FAQ.html#platforms';
- echo '** ';
- echo '**************************************************************';
- echo '**************************************************************';
- echo '**************************************************************';
echo '**************************************************************';
echo '**************************************************************';
sleep 5
AC_PATH_PROG(MV, mv, /bin/false)
AC_PATH_PROG(MKDIR, mkdir, /bin/false)
AC_PATH_PROG(LN, ln, cp)
-AC_PATH_PROG(CMD_GZIP, gzip, /bin/false)
-AC_PATH_PROG(CMD_GUNZIP, gunzip, /bin/false)
-AC_PATH_PROG(CMD_UNZIP, unzip, /bin/false)
-AC_PATH_PROG(CMD_UNCOMPRESS, uncompress, /bin/false)
-AC_PATH_PROG(CMD_PERL, perl, /bin/false)
+AC_PATH_PROG(CMD_PERL, perl, /usr/local/bin/perl)
dnl Set PERL too
PERL="$CMD_PERL"
dnl Decide if we should really use -lmalloc. It is known to have
-dnl problems on SunOS 5.4 at least.
+dnl problems on SunOS 5.x.
dnl
if test -x "/bin/uname"; then
if /bin/uname -sr | grep ['SunOS 5.[0-9]'] >/dev/null 2>&1; then
AC_OUTPUT(\
./lib/Makefile \
- ./server/Makefile \
+ ./src/Makefile \
./include/paths.h \
- ./regex/Makefile \
- ./url/Makefile \
./scripts/Makefile \
./scripts/RunCache \
./scripts/RunAccel \
- ./announce/Makefile \
)