CFLAGS="$CFLAGS -mthreads"
CXXFLAGS="$CXXFLAGS -mthreads"
if test "$ac_cv_path_WIN32_PSAPI" = "none"; then
- echo "PSAPI.DLL is recommended to run Squid on Windows NT Platform"
- echo "Please see PSAPI.DLL section on doc/win32-relnotes.html."
+ AC_MSG_NOTICE([PSAPI.DLL is recommended to run Squid on Windows NT Platform])
+ AC_MSG_NOTICE([Please see PSAPI.DLL section on doc/win32-relnotes.html.])
else
AC_DEFINE(HAVE_WIN32_PSAPI,1,[Define if you have PSAPI.DLL on Windows systems])
LIBS="$LIBS -lpsapi"
case "$host" in
i386-*-freebsd*)
if test $GCCVER2 -lt 300 ; then
- echo "ERROR: GCC $GCCVER causes a coredump on $host"
- echo "ERROR: Try a more recent GCC version"
+ AC_MSG_FAILURE([GCC $GCCVER causes a coredump on $host. Try a more recent GCC version])
sleep 5
fi
;;
and allow easier debugging. This option implicitly
also enabled --disable-inline]),
[ if test "$enableval" = "no" ; then
- echo "Disabling compiler optimizations (-O flag)"
+ AC_MSG_NOTICE([Disabling compiler optimizations (-O flag)])
CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9]]*//'`"
CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[[0-9]]*//'`"
SquidInline="no"
AC_DEFINE(_SQUID_INLINE_, inline, [Keyword used by squid for inlining methods])
AC_DEFINE(_USE_INLINE_,, [Include inline methods into header file])
else
- echo "Inlining optimization disabled"
+ AC_MSG_NOTICE([Inlining optimization disabled])
AC_DEFINE(_SQUID_INLINE_,, [Keyword used by squid for inlining methods])
fi
AC_HELP_STRING([--enable-debug-cbdata],
[Provide some debug information in cbdata]),
[ if test "$enableval" = "yes" ; then
- echo "cbdata debugging enabled"
+ AC_MSG_NOTICE([cbdata debugging enabled])
AC_DEFINE(CBDATA_DEBUG,1,[Enable for cbdata debug information])
fi
])
dnl AC_ARG_ENABLE(xmalloc-debug,
dnl [ --enable-xmalloc-debug Do some simple malloc debugging],
dnl [ if test "$enableval" = "yes" ; then
-dnl echo "Malloc debugging enabled"
+dnl AC_MSG_NOTICE([malloc debugging enabled])
dnl AC_DEFINE(XMALLOC_DEBUG,1,[Define to do simple malloc debugging])
dnl fi
dnl ])
dnl [ --enable-xmalloc-debug-trace
dnl Detailed trace of memory allocations],
dnl [ if test "$enableval" = "yes" ; then
-dnl echo "Malloc debug trace enabled"
+dnl AC_MSG_NOTICE([malloc debug trace enabled])
dnl AC_DEFINE(XMALLOC_TRACE,1,[Define to have a detailed trace of memory allocations])
dnl AC_DEFINE(XMALLOC_DEBUG,1)
dnl fi
AC_HELP_STRING([--enable-xmalloc-statistics],
[Show malloc statistics in status page]),
[ if test "$enableval" = "yes" ; then
- echo "Malloc statistics enabled"
+ AC_MSG_NOTICE([malloc statistics enabled])
AC_DEFINE(XMALLOC_STATISTICS,1,[Define to have malloc statistics])
fi
])
esac
])
if test "$aufs_io_threads"; then
- echo "With $aufs_io_threads aufs threads"
+ AC_MSG_NOTICE([With $aufs_io_threads aufs threads])
AC_DEFINE_UNQUOTED(AUFS_IO_THREADS,$aufs_io_threads,
[Defines how many threads aufs uses for I/O])
fi
AC_ARG_WITH(pthreads,
AC_HELP_STRING([--with-pthreads],[Use POSIX Threads]))
if test "$with_pthreads" = "yes"; then
- echo "With pthreads"
+ AC_MSG_NOTICE([With pthreads])
fi
AC_ARG_WITH(aio,
AC_HELP_STRING([--with-aio],[Use POSIX AIO]))
if test "$with_aio" = "yes"; then
- echo "With aio"
+ AC_MSG_NOTICE([With aio])
fi
AC_ARG_WITH(dl,
AC_HELP_STRING([--with-dl],[Use dynamic linking]))
if test "$with_dl" = "yes"; then
- echo "With dl"
+ AC_MSG_NOTICE([With dl])
fi
AC_ARG_ENABLE(storeio,
for module in $STORE_MODULES_FULL; do
have_mod=`echo "$STORE_MODULES" | grep "$module"`
if test "$have_mod" != ""; then
- echo "Removing duplicate $module from storeio"
+ AC_MSG_NOTICE([Removing duplicate $module from storeio])
elif test -d $srcdir/src/fs/$module; then
STORE_MODULES="$STORE_MODULES $module"
STORE_LINKOBJS="$STORE_LINKOBJS fs/${module}/StoreFS${module}.o"
AC_MSG_ERROR(storeio $module does not exist)
fi
done
- echo "Store modules built: $STORE_MODULES"
+ AC_MSG_NOTICE([Store modules built: $STORE_MODULES])
fi
dnl remove all but diskd - its the only module that needs to recurse
dnl into the sub directory
done
if test -z "$UFS_FOUND" && test -n "$NEED_UFS"; then
- echo "adding UFS, as it contains core logic for diskd and aufs"
+ AC_MSG_NOTICE([Adding UFS, as it contains core logic for diskd and aufs])
STORE_OBJS="$STORE_OBJS fs/libufs.a"
STORE_LIBS="$STORE_LIBS libufs.a"
STORE_MODULES="$STORE_MODULES ufs"
for dir in $srcdir/src/DiskIO/*; do
module="`basename $dir`"
if test -d "$dir" && test "$module" != CVS; then
- echo "Autodetected $module DiskIO module"
+ AC_MSG_NOTICE([Autodetected $module DiskIO module])
DISK_MODULES="$DISK_MODULES $module"
fi
done
],
[ if test -z "$DISK_MODULES"; then
DISK_MODULES="Blocking"
- echo "Enabling Blocking DiskIO module (required default)"
+ AC_MSG_NOTICE([Enabling Blocking DiskIO module (required default)])
AC_DEFINE(USE_DISKIO,1,[DiskIO modules are expected to be available.])
fi
])
DISK_LIBS="lib`echo $DISK_MODULES|sed -e 's% %.a lib%g'`.a"
DISK_LINKOBJS=
for module in $DISK_MODULES; do
- echo "Enabling $module DiskIO module"
+ AC_MSG_NOTICE([Enabling $module DiskIO module])
DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/${module}/${module}DiskIOModule.o"
done
fi
done
if test -z "$FOUND_BLOCKING" && test -n "$NEED_BLOCKING"; then
- echo "adding Blocking, as it is used by an active, legacy Store Module"
+ AC_MSG_NOTICE([adding Blocking, as it is used by an active, legacy Store Module])
DISK_LIBS="$DISK_LIBS libBlocking.a"
DISK_MODULES="$DISK_MODULES Blocking"
DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/Blocking/BlockingDiskIOModule.o"
fi
if test -z "$FOUND_DISKDAEMON" && test -n "$NEED_DISKDAEMON"; then
- echo "adding DiskDaemon, as it is used by an active, legacy Store Module"
+ AC_MSG_NOTICE(["adding DiskDaemon, as it is used by an active, legacy Store Module])
DISK_LIBS="$DISK_LIBS libDiskDaemon.a"
DISK_MODULES="$DISK_MODULES DiskDaemon"
DISK_PROGRAMS="$DISK_PROGRAMS DiskIO/DiskDaemon/diskd"
fi
if test -z "$FOUND_DISKTHREADS" && test -n "$NEED_DISKTHREADS"; then
- echo "adding DiskThreads, as it is used by an active, legacy Store Module"
+ AC_MSG_NOTICE([adding DiskThreads, as it is used by an active, legacy Store Module])
DISK_LIBS="$DISK_LIBS libDiskThreads.a"
DISK_MODULES="$DISK_MODULES DiskThreads"
DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/DiskThreads/DiskThreadsDiskIOModule.o"
fi
if test -z "$FOUND_AIO" && test -n "$NEED_AIO"; then
- echo "adding AIO, as it is used by an active, legacy Store Module"
+ AC_MSG_NOTICE([adding AIO, as it is used by an active, legacy Store Module])
DISK_LIBS="$DISK_LIBS libAIO.a"
DISK_MODULES="$DISK_MODULES AIO"
DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/AIO/AIODiskIOModule.o"
fi
-echo "IO Modules built: $DISK_MODULES"
+AC_MSG_NOTICE([IO Modules built: $DISK_MODULES])
USE_AIOPS_WIN32=0
USE_AIO_WIN32=0
dnl we know what is being built. now add dependencies.
case "$host_os" in
mingw|mingw32)
USE_AIOPS_WIN32=1
- echo "DiskThreads IO Module used, Windows threads support automatically enabled"
+ AC_MSG_NOTICE([DiskThreads IO Module used, Windows threads support automatically enabled])
;;
*)
- echo "DiskThreads IO Module used, pthreads support automatically enabled"
+ AC_MSG_NOTICE([DiskThreads IO Module used, pthreads support automatically enabled])
with_pthreads=yes
;;
esac
case "$host_os" in
mingw|mingw32)
USE_AIO_WIN32=1
- echo "Aio IO Module used, Windows overlapped I/O support automatically enabled"
+ AC_MSG_NOTICE([Aio IO Module used, Windows overlapped I/O support automatically enabled])
;;
*)
- echo "Aio IO Module used, aio support automatically enabled"
+ AC_MSG_NOTICE([Aio IO Module used, aio support automatically enabled])
with_aio=yes
;;
esac
AC_MSG_ERROR(Removal policy $module does not exist)
fi
done
- echo "Removal policies built: $REPL_POLICIES"
+ AC_MSG_NOTICE([Removal policies built: $REPL_POLICIES])
REPL_OBJS="repl/lib`echo $REPL_POLICIES|sed -e 's% %.a repl/lib%g'`.a"
REPL_LIBS="`echo $REPL_OBJS|sed -e 's%repl/%%g'`"
fi
AC_ARG_ENABLE(icmp,
AC_HELP_STRING([--enable-icmp],[Enable ICMP pinging and Network Measurement]),
[ if test "$enableval" = "yes" ; then
- echo "ICMP enabled"
+ AC_MSG_NOTICE([ICMP enabled])
AC_DEFINE(USE_ICMP,1,[Define to use Squid's ICMP and Network Measurement features (highly recommended!)])
AM_CONDITIONAL(ENABLE_PINGER, true)
fi
AC_HELP_STRING([--enable-delay-pools],
[Enable delay pools to limit bandwidth usage]),
[ if test "$enableval" = "yes" ; then
- echo "Delay pools enabled"
+ AC_MSG_NOTICE([Delay pools enabled])
AC_DEFINE([DELAY_POOLS],1,[Traffic management via "delay pools".])
AM_CONDITIONAL(USE_DELAY_POOLS, true,)
fi
dnl AC_ARG_ENABLE(mem-gen-trace,
dnl [ --enable-mem-gen-trace Do trace of memory stuff],
dnl [ if test "$enableval" = "yes" ; then
-dnl echo "Memory trace (to file) enabled"
+dnl AC_MSG_NOTICE([Memory trace (to file) enabled])
dnl AC_DEFINE(MEM_GEN_TRACE,1,[Define for log file trace of mem alloc/free])
dnl fi
dnl ])
AC_HELP_STRING([--enable-useragent-log],
[Enable logging of User-Agent header]),
[ if test "$enableval" = "yes" ; then
- echo "User-Agent logging enabled"
+ AC_MSG_NOTICE([User-Agent logging enabled])
AC_DEFINE(USE_USERAGENT_LOG,1,[If you want to log User-Agent request header values, define this.
By default, they are written to useragent.log in the Squid log
directory.])
AC_ARG_ENABLE(referer-log,
AC_HELP_STRING([--enable-referer-log],[Enable logging of Referer header]),
[ if test "$enableval" = "yes" ; then
- echo "Referer logging enabled"
+ AC_MSG_NOTICE([Referer logging enabled])
AC_DEFINE(USE_REFERER_LOG,1,[If you want to log Referer request header values, define this.
By default, they are written to referer.log in the Squid log
directory.])
AC_ARG_ENABLE(wccp,
AC_HELP_STRING([--disable-wccp],[Disable Web Cache Coordination Protocol]),
[ if test "$enableval" = "no" ; then
- echo "Web Cache Coordination Protocol disabled"
+ AC_MSG_NOTICE([Web Cache Coordination Protocol disabled])
USE_WCCP=0
fi
])
AC_HELP_STRING([--disable-wccpv2],
[Disable Web Cache Coordination V2 Protocol]),
[ if test "$enableval" = "no" ; then
- echo "Web Cache Coordination V2 Protocol disabled"
+ AC_MSG_NOTICE(["Web Cache Coordination V2 Protocol disabled])
USE_WCCPv2=0
fi
])
AC_ARG_ENABLE(kill-parent-hack,
AC_HELP_STRING([--enable-kill-parent-hack],[Kill parent on shutdown]),
[ if test "$enableval" = "yes" ; then
- echo "Kill parent on shutdown"
+ AC_MSG_NOTICE([Kill parent on shutdown])
AC_DEFINE(KILL_PARENT_OPT,1,[A dangerous feature which causes Squid to kill its parent process
(presumably the RunCache script) upon receipt of SIGTERM or SIGINT.
Use with caution.])
AC_ARG_ENABLE(snmp,
AC_HELP_STRING([--disable-snmp],[Disable SNMP monitoring support]),
[ if test "$enableval" = "no" ; then
- echo "SNMP monitoring disabled"
+ AC_MSG_NOTICE([SNMP monitoring disabled])
USE_SNMP=
fi
])
yes)
AC_DEFINE(CACHEMGR_HOSTNAME,[getfullhostname()],
[If you are upset that the cachemgr.cgi form comes up with the hostname field blank, then define this to getfullhostname()])
- echo "Cachemgr default hostname == host where cachemgr runs"
+ AC_MSG_NOTICE([Cachemgr default hostname == host where cachemgr runs])
;;
no)
: # Nothing to do..
;;
*)
AC_DEFINE_UNQUOTED(CACHEMGR_HOSTNAME,"${enableval}")
- echo "Cachemgr default hostname set to ${enableval}"
+ AC_MSG_NOTICE([Cachemgr default hostname set to ${enableval}])
;;
esac
])
AC_HELP_STRING([--enable-arp-acl],
[Enable use of ARP ACL lists (ether address)]),
[ if test "$enableval" = "yes" ; then
- echo "ARP ACL lists enabled (ether address)"
+ AC_MSG_NOTICE([ARP ACL lists enabled (ether address)])
case "$host" in
*-linux-*)
;;
LIBS="$LIBS -liphlpapi"
;;
*)
- echo "WARNING: ARP ACL support probably won't work on $host."
+ AC_MSG_WARN([ARP ACL support probably won't work on $host.])
sleep 10
;;
esac
AC_ARG_ENABLE(htcp,
AC_HELP_STRING([--disable-htcp],[Disable HTCP protocol support]),
[ if test "$enableval" = "no" ; then
- echo "HTCP support disabled"
+ AC_MSG_NOTICE([HTCP support disabled])
fi
])
if test x$USE_HTCP = xtrue; then
AC_ARG_ENABLE(ssl,
AC_HELP_STRING([--enable-ssl],[Enable ssl gatewaying support using OpenSSL]),
[ if test "$enableval" != "no"; then
- echo "SSL gatewaying using OpenSSL enabled"
+ AC_MSG_NOTICE([SSL gatewaying using OpenSSL enabled])
AC_DEFINE(USE_SSL,1,[Define this to include code for SSL encryption.])
AM_CONDITIONAL(ENABLE_SSL, true)
case "$host_os" in
esac
])
if test -n "$USE_OPENSSL"; then
- echo "Using OpenSSL MD5 implementation"
+ AC_MSG_NOTICE([Using OpenSSL MD5 implementation])
AC_DEFINE(USE_OPENSSL,1,[Define this to make use of the OpenSSL libraries for MD5 calculation rather than Squid's own MD5 implementation or if building with SSL encryption (USE_SSL)])
if test -z "$SSLLIB"; then
SSLLIB="-lcrypto" # for MD5 routines
fi
dnl This is a workaround for RedHat 9 brain damage..
if test -d /usr/kerberos/include && test -z "$SSLLIBDIR" && test -f /usr/include/openssl/kssl.h; then
- echo "OpenSSL depends on Kerberos"
+ AC_MSG_NOTICE([OpenSSL depends on Kerberos])
SSLLIBDIR="/usr/kerberos/lib"
CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
fi
AC_ARG_ENABLE(forw-via-db,
AC_HELP_STRING([--enable-forw-via-db],[Enable Forw/Via database]),
[ if test "$enableval" = "yes" ; then
- echo "FORW-VIA enabled"
+ AC_MSG_NOTICE([FORW-VIA enabled])
AC_DEFINE(FORW_VIA_DB,1,[Enable Forw/Via database])
fi
])
[Use Cache Digests.
See http://wiki.squid-cache.org/SquidFaq/CacheDigests]),
[ if test "$enableval" = "yes" ; then
- echo "USE_CACHE_DIGESTS enabled"
+ AC_MSG_NOTICE([Cache Disgests enabled])
AC_DEFINE(USE_CACHE_DIGESTS,1,[Use Cache Digests for locating objects in neighbor caches. This code is still semi-experimental.])
fi
])
AC_HELP_STRING([--with-coss-membuf-size=size],
[COSS membuf size (default 1048576 bytes)]),
[ if test -n "$withval" -a "x$withval" != "xno" ; then
- echo "Setting COSS membuf size to $with_coss_membuf_size bytes"
+ AC_MSG_NOTICE([Setting COSS membuf size to $with_coss_membuf_size bytes])
AC_DEFINE_UNQUOTED(COSS_MEMBUF_SZ, $with_coss_membuf_size,[Define if you want to set the COSS membuf size])
fi
])
[
case "$enableval" in
yes)
- echo "Forcing poll() to be enabled"
+ AC_MSG_WARN([Forcing poll() to be enabled])
SELECT_TYPE="poll"
;;
no)
- echo "Forcing poll() to be disabled"
+ AC_MSG_WARN([Forcing poll() to be disabled])
disable_poll=true
;;
esac
[
case "$enableval" in
yes)
- echo "Forcing select() to be enabled"
+ AC_MSG_WARN([Forcing select() to be enabled])
SELECT_TYPE="select"
;;
no)
- echo "Forcing select() to be disabled"
+ AC_MSG_WARN([Forcing select() to be disabled])
disable_select=true
;;
esac
[
case "$enableval" in
yes)
- echo "Forcing kqueue() to be enabled"
+ AC_MSG_WARN([Forcing kqueue() to be enabled])
SELECT_TYPE="kqueue"
AC_CHECK_HEADERS([sys/event.h],[],
[ AC_MSG_ERROR([kqueue support requires sys/event.h header file.]) ])
;;
no)
- echo "Forcing kqueue() to be disabled"
+ AC_MSG_WARN([Forcing kqueue() to be disabled])
disable_kqueue=true
;;
*)
[
case "$enableval" in
yes)
- echo "Forcing epoll() to be enabled"
+ AC_MSG_WARN([Forcing epoll() to be enabled])
SELECT_TYPE="epoll"
dnl epoll requires header file and library to be installed
AC_CHECK_HEADERS([sys/epoll.h],[],
[ AC_MSG_ERROR([required libepoll library is missing.]) ])
;;
no)
- echo "Forcing epoll() to be disabled"
+ AC_MSG_WARN([Forcing epoll() to be disabled])
disable_epoll=true
;;
esac
[This allows you to remove code which is known to
violate the HTTP protocol specification.]),
[ if test "$enableval" = "no" ; then
- echo "Disabling HTTP Violations"
+ AC_MSG_NOTICE([Disabling HTTP Violations])
http_violations=0
fi
])
[Enable Transparent Proxy support for systems
using FreeBSD IPFW style redirection.]),
[ if test "$enableval" = "yes" ; then
- echo "IPFW Transparent Proxy enabled"
+ AC_MSG_NOTICE([IPFW Transparent Proxy enabled])
AC_DEFINE(IPFW_TRANSPARENT,1,[Enable support for Transparent Proxy on systems using FreeBSD IPFW address redirection.])
IPFW_TRANSPARENT="yes"
else
[Enable Transparent Proxy support for systems
using IP-Filter network address redirection.]),
[ if test "$enableval" = "yes" ; then
- echo "IP-Filter Transparent Proxy enabled"
+ AC_MSG_NOTICE([IP-Filter Transparent Proxy enabled])
AC_DEFINE(IPF_TRANSPARENT,1,[Enable support for Transparent Proxy on systems using IP-Filter address redirection. This provides "masquerading" support for non Linux system.])
IPF_TRANSPARENT="yes"
else
[Enable Transparent Proxy support for systems
using PF network address redirection.]),
[ if test "$enableval" = "yes" ; then
- echo "PF Transparent Proxy enabled"
+ AC_MSG_NOTICE([PF Transparent Proxy enabled])
AC_DEFINE(PF_TRANSPARENT,1,[Enable support for Transparent Proxy on systems using PF address redirection. This provides "masquerading" support for OpenBSD.])
PF_TRANSPARENT="yes"
else
AC_HELP_STRING([--enable-linux-netfilter],
[Enable Transparent Proxy support for Linux (Netfilter)]),
[ if test "$enableval" = "yes" ; then
- echo "Linux (Netfilter) Transparent Proxy enabled"
+ AC_MSG_NOTICE([Linux (Netfilter) Transparent Proxy enabled])
AC_DEFINE(LINUX_NETFILTER,1,[Enable support for Transparent Proxy on Linux (Netfilter) systems])
LINUX_NETFILTER="yes"
else
default The default for your OS],
[ case "$withval" in
yes|no)
- echo "--with-build-environment expects a build environment string as used by getconf"
- exit 1
+ AC_MSG_FAILURE(["--with-build-environment expects a build environment string as used by getconf])
;;
*)
buildmodel="$withval"
fi
done
if test -z "$buildmodel"; then
- echo "WARNING: No suitable build environment found for large files. Trying to use _FILE_OFFSET_BITS=64"
+ AC_MSG_WARN(["No suitable build environment found for large files. Trying to use _FILE_OFFSET_BITS=64])
sleep 1
fi
fi
case "$buildmodel" in
default|"")
if test "$needlargefiles"; then
- echo "Enabling -D_FILE_OFFSET_BITS=64"
+ AC_MSG_NOTICE([Enabling -D_FILE_OFFSET_BITS=64])
CFLAGS="-D_FILE_OFFSET_BITS=64 $CFLAGS"
CXXFLAGS="-D_FILE_OFFSET_BITS=64 $CXXFLAGS"
fi
;;
*)
- echo "Using $buildmodel build environment"
+ AC_MSG_NOTICE([Using $buildmodel build environment])
if test "`getconf _$buildmodel 2>/dev/null || true`" = 1 || test "`getconf $buildmodel 2>/dev/null || true`" ; then
: # All fine
else
dnl The 'sun' define is needed by ipfilter includes, so we must remove "-Usun"
*-solaris*)
if test "$GCC" = "yes"; then
- echo "Removing -Xa for gcc/g++ on $host"
+ AC_MSG_NOTICE([Removing -Xa for gcc/g++ on $host])
CFLAGS="`echo $CFLAGS | sed -e 's/-Xa//'`"
CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-Xa//'`"
- echo "Replacing -xarch=generic64 with -m64 for gcc/g++ on $host"
+ AC_MSG_NOTICE([Replacing -xarch=generic64 with -m64 for gcc/g++ on $host])
CFLAGS="`echo $CFLAGS | sed -e 's/-xarch=generic64/-m64/'`"
CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-xarch=generic64/-m64/'`"
LDFLAGS="`echo $LDFLAGS | sed -e 's/-xarch=generic64//'`"
fi
- echo "Removing -Usun on $host"
+ AC_MSG_NOTICE([Removing -Usun on $host])
CFLAGS="`echo $CFLAGS | sed -e 's/-Usun//'`"
CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-Usun//'`"
;;
-dnl
+dnl
dnl On Irix 6.x getconf returns options valid only for the SGI MipsPRO compiler,
dnl so we must adjust something to avoid gcc errors.
dnl On Irix 6.x 32/64 bit we must replace "-n32" with "-mabi=n32" in CFLAGS and
[Enable real Transparent Proxy support for Netfilter TPROXY
(version 2).]),
[ if test "$enableval" = "yes" ; then
- echo "Linux Netfilter/TPROXY v2 enabled"
+ AC_MSG_NOTICE(["Linux Netfilter/TPROXY v2 enabled])
AC_DEFINE(LINUX_TPROXY2, 1, [Enable real Transparent Proxy support for Netfilter TPROXY v2.])
LINUX_TPROXY2="yes"
if test -z "$LINUX_NETFILTER"; then
- echo "Linux-Netfilter Transparent Proxy automatically enabled"
+ AC_MSG_NOTICE([Linux-Netfilter Transparent Proxy automatically enabled])
LINUX_NETFILTER="yes"
fi
else
code to use the leak finding functions. Probably
Useful for hackers only.]),
[ if test "$enableval" = "yes" ; then
- echo "Leak-Finding enabled"
+ AC_MSG_NOTICE([Leak-Finding enabled])
AC_DEFINE(USE_LEAKFINDER,1,[Enable code for assisting in finding memory leaks. Hacker stuff only.])
USE_LEAKFINDER="yes"
AM_CONDITIONAL(MAKE_LEAKFINDER, true)
original or indirect client when a request has
been forwarded through other proxies.]),
[ if test "$enableval" = "yes" ; then
- echo "follow X-Forwarded-For enabled"
+ AC_MSG_NOTICE([follow X-Forwarded-For enabled])
follow_xff=1
fi
])
AC_HELP_STRING([--disable-ident-lookups],
[This allows you to remove code that performs Ident (RFC 931) lookups.]),
[ if test "$enableval" = "no" ; then
- echo "Disabling Ident Lookups"
+ AC_MSG_NOTICE([Disabling Ident Lookups])
use_ident=0
fi
])
[Prevents Squid from directly sending and receiving DNS messages,
and instead enables the old external 'dnsserver' processes.]),
[ if test "$enableval" = "no" ; then
- echo "Disabling Internal DNS queries"
+ AC_MSG_WARN([Disabling Internal DNS queries])
use_dnsserver="yes"
fi
])
if test -f $enableval; then
OPT_DEFAULT_HOSTS=$enableval
else
- echo "Warning Unable to find $enableval"
+ AC_MSG_WARN([Unable to find $enableval])
sleep 5
fi
else
- OPT_DEFAULT_HOSTS="none"
+ OPT_DEFAULT_HOSTS="none"
fi
- echo "Default hosts file set to: $enableval"
+ AC_MSG_NOTICE([Default hosts file set to: $enableval])
],[OPT_DEFAULT_HOSTS="/etc/hosts"])
AC_SUBST(OPT_DEFAULT_HOSTS)
fi
eval AUTH_MODULE_${module}=yes
done
- echo "Auth scheme modules built: $AUTH_MODULES"
+ AC_MSG_NOTICE([Auth scheme modules built: $AUTH_MODULES])
AUTH_OBJS="auth/lib`echo $AUTH_MODULES|sed -e 's% %.a auth/lib%g'`.a"
AUTH_LIBS="`echo $AUTH_OBJS|sed -e 's%auth/%%g'`"
else
- echo "Auth scheme modules built: None"
+ AC_MSG_WARN([Auth scheme modules built: None])
fi
AUTH_LINKOBJS=
for module in $AUTH_MODULES; do
;;
*)
if test -z "$AUTH_MODULE_basic"; then
- echo "WARNING: Basic auth helpers selected without the basic scheme enabled"
+ AC_MSG_WARN([Basic auth helpers selected without the basic scheme enabled])
sleep 15
fi
BASIC_AUTH_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
AC_MSG_ERROR(Basic auth helper $helper does not exist)
fi
done
- echo "Basic auth helpers built: $BASIC_AUTH_HELPERS"
+ AC_MSG_NOTICE([Basic auth helpers built: $BASIC_AUTH_HELPERS])
fi
AC_SUBST(BASIC_AUTH_HELPERS)
AC_MSG_ERROR(NTLM Auth helper $helper does not exist)
fi
done
- echo "NTLM auth helpers built: $NTLM_AUTH_HELPERS"
+ AC_MSG_NOTICE([NTLM auth helpers built: $NTLM_AUTH_HELPERS])
fi
AC_SUBST(NTLM_AUTH_HELPERS)
AC_MSG_ERROR(Negotiate Auth helper $helper does not exist)
fi
done
- echo "Negotiate auth helpers built: $NEGOTIATE_AUTH_HELPERS"
+ AC_MSG_NOTICE([Negotiate auth helpers built: $NEGOTIATE_AUTH_HELPERS])
fi
AC_SUBST(NEGOTIATE_AUTH_HELPERS)
AC_CONFIG_SUBDIRS(helpers/negotiate_auth/squid_kerb_auth)
AC_MSG_ERROR(digest auth helper $helper does not exist)
fi
done
- echo "Digest auth helpers built: $DIGEST_AUTH_HELPERS"
+ AC_MSG_NOTICE([Digest auth helpers built: $DIGEST_AUTH_HELPERS])
fi
AC_SUBST(DIGEST_AUTH_HELPERS)
AC_MSG_ERROR(external acl helper $helper does not exist)
fi
done
- echo "External acl helpers built: $EXTERNAL_ACL_HELPERS"
+ AC_MSG_NOTICE([External acl helpers built: $EXTERNAL_ACL_HELPERS])
fi
AC_SUBST(EXTERNAL_ACL_HELPERS)
if test $valgrind; then
AC_CHECK_HEADERS(valgrind/memcheck.h,
[ AC_DEFINE(WITH_VALGRIND, 1, [Valgrind memory debugger support])
- echo "Valgrind debug support enabled" ],
- [ echo "Valgrind header not found. Valgrind support disabled." ]
+ AC_MSG_NOTICE([Valgrind debug support enabled]) ],
+ [ AC_MSG_WARN([Valgrind header not found. Valgrind support disabled.]) ]
)
fi
])
only lib/MemPool.c needs to be altered to change the squid-wide
default for all classes.]),
[ if test "$enableval" = "no" ; then
- echo "memPools disabled"
+ AC_MSG_NOTICE([memPools disabled])
AC_DEFINE(DISABLE_POOLS, 1, [Define if you have problems with memPools and want to disable Pools])
else
AC_DEFINE(DISABLE_POOLS, 0, [Define if you have problems with memPools and want to disable Pools.])
[Compile Squid as a WIN32 Service.
Works only on MS-Windows platforms (NT and up).]),
[ if test "$enableval" = "yes" ; then
- echo "Enabling WIN32 run service mode"
+ AC_MSG_NOTICE([Enabling WIN32 run service mode])
AC_DEFINE(USE_WIN32_SERVICE,1,[Define Windows NT & Windows 2000 run service mode])
fi
])
if test "$require_sasl" = "yes"; then
AC_CHECK_HEADERS(sasl/sasl.h sasl.h)
if test "$ac_cv_header_sasl_sasl_h" = "yes"; then
- echo "using SASL2"
+ AC_MSG_NOTICE([using SASL2])
LIBSASL="-lsasl2"
else
if test "$ac_cv_header_sasl_h" = "yes"; then
- echo "using SASL"
+ AC_MSG_NOTICE([using SASL])
LIBSASL="-lsasl"
else
AC_MSG_ERROR(Neither SASL nor SASL2 found)
use_unlinkd=yes
])
if test "$use_unlinkd" = "yes"; then
- echo "unlinkd enabled"
+ AC_MSG_NOTICE([unlinkd enabled])
AC_DEFINE(USE_UNLINKD,1,[Define this if unlinkd is required (strongly recommended for ufs storage type)])
AM_CONDITIONAL(ENABLE_UNLINKD, true)
else
- echo "unlinkd disabled"
+ AC_MSG_NOTICE([unlinkd disabled])
AM_CONDITIONAL(ENABLE_UNLINKD, false)
fi
AC_HELP_STRING([--enable-stacktraces],
[Enable automatic call backtrace on fatal errors]),
[ if test "$enableval" = "yes" ; then
- echo "Enabling automatic stack backtraces on fatal errors"
+ AC_MSG_NOTICE([Enabling automatic stack backtraces on fatal errors])
AC_DEFINE(PRINT_STACK_TRACE, 1,[Print stacktraces on fatal errors])
fi
])
If you are not developer you shouldn't enable this,
as it slows squid down somewhat. See lib/Profiler.c for more details.]),
[ if test "$enableval" = "yes" ; then
- echo "Enabling cpu-profiling"
+ AC_MSG_NOTICE([Enabling cpu-profiling])
AC_DEFINE(USE_XPROF_STATS, 1,[Define to enable CPU profiling within Squid])
AM_CONDITIONAL(ENABLE_XPROF_STATS, true)
fi
Typically used together with other code
that adds custom HTTP headers to the requests.]),
[ if test "$enableval" = "yes" ; then
- echo "Enabling support for X-Accelerator-Vary"
+ AC_MSG_NOTICE([Enabling support for X-Accelerator-Vary])
AC_DEFINE(X_ACCELERATOR_VARY, 1, [Enable support for the X-Accelerator-Vary HTTP header])
fi
])
else
# NP: semi-silent failure as IPv4-only mode is perfectly usable on this system.
- echo "WARNING: IPv6 is not available on this system."
+ AC_MSG_WARN([IPv6 is not available on this system.])
AC_DEFINE(USE_IPV6,0,[Enable support for IPv6])
AC_DEFINE(IPV6_SPECIAL_SPLITSTACK,0,[Enable support for IPv6 on split-stack implementations])
AC_DEFINE(IPV6_SPECIAL_LOCALHOST,0,[Convert IPv4-localhost requests to IPv6. Default: Keep seperate.])
AC_ARG_ENABLE(zph-qos,
AC_HELP_STRING([--enable-zph-qos],[Enable ZPH QOS support]),
[ if test "$enableval" = "yes" ; then
- echo "ZPH QOS enabled"
+ AC_MSG_NOTICE([ZPH QOS enabled])
AC_DEFINE(USE_ZPH_QOS,1,
[ Define this to use Squid's ZPH (Zero Penalty Hit) QOS features.
When enabled, Squid will alter TOS field of HIT responses for better QOS on intermediate routing/shaping devices.])
AC_PATH_PROG(CPPUNITCONFIG, cppunit-config, false)
if $CPPUNITCONFIG --help >/dev/null; then
- echo "using system installed cppunit"
+ AC_MSG_NOTICE([using system installed cppunit])
SQUID_CPPUNIT_LIBS="`$CPPUNITCONFIG --libs`"
SQUID_CPPUNIT_LA=''
SQUID_CPPUNIT_INC="`$CPPUNITCONFIG --cflags`"
else
- echo "cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail."
+ AC_MSG_WARN([cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail.])
SQUID_CPPUNIT_LA=''
SQUID_CPPUNIT_LIBS=''
SQUID_CPPUNIT_INC=''
[Path where the cppunit headers are libraries are found
for unit testing.]),
[ if test -f $withval/include/cppunit/TestCase.h; then
- echo "Using cppunit includes from $withval"
+ AC_MSG_NOTICE([Using cppunit includes from $withval])
SQUID_CPPUNIT_INC="-I${withval}/include"
else
AC_MSG_ERROR(Cannot find cppunit at $withval)
fi
if test -f $withval/lib/libcppunit.la; then
- echo "Using cppunit lib from $withval"
+ AC_MSG_NOTICE([Using cppunit lib from $withval])
SQUID_CPPUNIT_LA="${withval}/lib/libcppunit.la"
SQUID_CPPUNIT_LIBS='$(SQUID_CPPUNIT_LA)'
else
case "$host" in
alpha-dec-osf*)
if test "$ac_cv_prog_CC" = "cc" ; then
- echo "adding '-std1' to cc args for $host"
+ AC_MSG_NOTICE([adding '-std1' to cc args for $host])
CC="cc -std1";
ac_cv_prog_CC="$CC"
fi
;;
*-hp-hpux*)
if test "$ac_cv_prog_CC" = "cc" ; then
- echo "adding '-Ae' to cc args for $host"
+ AC_MSG_NOTICE([adding '-Ae' to cc args for $host])
CC="cc -Ae";
ac_cv_prog_CC="$CC"
fi
AC_PATH_PROG(AR, ar, $FALSE)
if test "$ac_cv_path_PERL" = "none"; then
- echo "Perl is required to compile Squid"
- echo "Please install Perl and then re-run configure"
- exit 1
+ AC_MSG_FAILURE([Perl is required to compile Squid. Please install Perl and then re-run configure ])
fi
case "$host" in
*-hp-hpux*)
- echo "Disabling 'ranlib' for HP-UX..."
+ AC_MSG_NOTICE([Disabling 'ranlib' for HP-UX...])
RANLIB=":"
;;
esac
mingw|mingw32)
AC_DEFINE(HAVE_STRUCT_RUSAGE)
ac_cv_func_getrusage='yes'
- echo "Using own rusage on Windows."
+ AC_MSG_NOTICE([Using own rusage on Windows.])
;;
*)
AC_CHECK_TYPE(struct rusage,AC_DEFINE(HAVE_STRUCT_RUSAGE,1,[The system provides struct rusage]),,[
AC_CHECK_LIB(gnumalloc, main)
if test "$ac_cv_lib_gnumalloc_main" = "yes"; then
- echo "Disabling extended malloc functions when using gnumalloc"
+ AC_MSG_NOTICE([Disabling extended malloc functions when using gnumalloc])
ac_cv_func_mallinfo=no
ac_cv_func_mallocblksize=no
ac_cv_func_mallopt=no
else
case "$host" in
*-sun-solaris*)
- echo "skipping libmalloc check for $host"
+ AC_MSG_NOTICE([skipping libmalloc check for $host])
;;
i386-*-freebsd*)
- echo "skipping libmalloc check for $host"
+ AC_MSG_NOTICE([skipping libmalloc check for $host])
;;
*)
if test $ac_cv_lib_bind_gethostbyname = "no" ; then
case "$host" in
i386-*-freebsd*)
- echo "skipping libresolv checks for $host"
+ AC_MSG_NOTICE([skipping libresolv checks for $host])
;;
*)
AC_CHECK_LIB(resolv, main)
fi
case "$host_os" in
mingw|mingw32)
- echo "Use MSVCRT for math functions."
+ AC_MSG_NOTICE([Use MSVCRT for math functions.])
;;
*)
AC_CHECK_LIB(m, main)
dnl Some of our helpers use crypt(3) which may be in libc, or in
dnl libcrypt (eg FreeBSD)
AC_CHECK_LIB(crypt, crypt, [CRYPTLIB="-lcrypt"])
-
dnl Solaris10 provides MD5 natively through libmd5
AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB="$CRYPTLIB -lmd5"])
-
AC_SUBST(CRYPTLIB)
dnl Check for libdl, used by auth_modules/PAM
case "$host" in
i386-*-solaris2.*)
if test "$GCC" = "yes"; then
- echo "Removing -O for gcc on $host"
+ AC_MSG_NOTICE([Removing -O for gcc on $host])
CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9]]*//'`"
fi
;;
*-sgi-irix*)
- echo "Removing -lsocket for IRIX..."
+ AC_MSG_NOTICE([Removing -lsocket for IRIX...])
LIBS=`echo $LIBS | sed -e s/-lsocket//`
- echo "Removing -lnsl for IRIX..."
+ AC_MSG_NOTICE([Removing -lnsl for IRIX...])
LIBS=`echo $LIBS | sed -e s/-lnsl//`
ac_cv_lib_nsl_main=no
- echo "Removing -lbsd for IRIX..."
+ AC_MSG_NOTICE([Removing -lbsd for IRIX...])
LIBS=`echo $LIBS | sed -e s/-lbsd//`
;;
dnl From: c0032033@ws.rz.tu-bs.de (Joerg Schumacher)
dnl Date: Thu, 17 Oct 1996 04:09:30 +0200
dnl Please change your configure script. AIX doesn't need -lbsd.
*-ibm-aix*)
- echo "Removing -lbsd for AIX..."
+ AC_MSG_NOTICE([Removing -lbsd for AIX...])
LIBS=`echo $LIBS | sed -e s/-lbsd//`
;;
*m88k*)
GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
case "$GCCVER" in
[2.95.[123]])
- echo "Removing -O for gcc on $host with GCC $GCCVER"
+ AC_MSG_NOTICE([Removing -O for gcc on $host with GCC $GCCVER])
CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9]]*//'`"
;;
esac
case "$host" in
*-univel-sysv4.2MP)
if test `uname -v` = "2.03"; then
- echo "disabling mallinfo for $host"
+ AC_MSG_NOTICE([disabling mallinfo for $host])
ac_cv_func_mallinfo=no
fi
;;
case "$host" in
[alpha-dec-osf3.*])
# John Kay (jkay@nlanr.net) 19970818
- echo "disabling poll for $host..."
+ AC_MSG_NOTICE([disabling poll for $host...])
ac_cv_func_poll='no'
;;
[*-hp-hpux*.*])
# Duane Wessels
- echo "disabling poll for $host..."
+ AC_MSG_NOTICE([disabling poll for $host...])
ac_cv_func_poll='no'
;;
[*-linux-*])
# by default until Linux gets it right.
rev=`uname -r | awk -F. '{printf "%03d%03d",$1,$2}'`
if test $rev -lt 002002; then
- echo "disabling poll for $host < 2.2..."
+ AC_MSG_NOTICE([disabling poll for $host < 2.2...])
ac_cv_func_poll='no'
fi
;;
[powerpc-ibm-aix4.1.*])
# Mike Laster (mlaster@metavillage.com) 19981021
- echo "disabling poll for $host..."
+ AC_MSG_NOTICE([disabling poll for $host...])
ac_cv_func_poll='no'
;;
[*-pc-sco3.2*])
# Robert Side <rside@aiinc.bc.ca>
# Mon, 18 Jan 1999 17:48:00 GMT
- echo "disabling poll for $host..."
+ AC_MSG_NOTICE([disabling poll for $host...])
ac_cv_func_poll='no'
;;
esac
;;
esac
else
- echo "Eep! Can't find poll, kqueue, epoll, or select!"
- echo "I'll try select and hope for the best."
+ AC_MSG_WARN([Eep! Can't find poll, kqueue, epoll, or select!])
+ AC_MSG_WARN([I'll try select and hope for the best.])
SELECT_TYPE="select"
AC_DEFINE(USE_SELECT,1)
fi
-echo "Using ${SELECT_TYPE} for the IO loop."
+AC_MSG_NOTICE([Using ${SELECT_TYPE} for the IO loop.])
AM_CONDITIONAL([USE_POLL], [test $SELECT_TYPE = poll])
AM_CONDITIONAL([USE_EPOLL], [test $SELECT_TYPE = epoll])
AC_MSG_RESULT($IPF_TRANSPARENT)
fi
if test "$IPF_TRANSPARENT" = "no" ; then
- echo "WARNING: Cannot find necessary IP-Filter header files"
- echo " Transparent Proxy support WILL NOT be enabled"
+ AC_MSG_WARN([Cannot find necessary IP-Filter header files])
+ AC_MSG_WARN([Transparent Proxy support WILL NOT be enabled])
sleep 10
elif test "$IPF_TRANSPARENT" = "yes" ; then
dnl On Solaris Ipfilter includes expect that SOLARIS2 is defined with the
AC_MSG_RESULT($PF_TRANSPARENT)
fi
if test "$PF_TRANSPARENT" = "no" ; then
- echo "WARNING: Cannot find necessary PF header file"
- echo " Transparent Proxy support WILL NOT be enabled"
+ AC_MSG_WARN([Cannot find necessary PF header file])
+ AC_MSG_WARN([Transparent Proxy support WILL NOT be enabled])
sleep 10
fi
AC_MSG_RESULT($LINUX_NETFILTER)
fi
if test "$LINUX_NETFILTER" = "no" ; then
- echo "WARNING: Cannot find necessary Linux kernel (Netfilter) header files"
- echo " Linux Transparent and Intercepting Proxy support WILL NOT be enabled"
+ AC_MSG_WARN([Cannot find necessary Linux kernel (Netfilter) header files])
+ AC_MSG_WARN([Linux Transparent and Intercepting Proxy support WILL NOT be enabled])
sleep 10
fi
fi
AC_MSG_RESULT($LINUX_TPROXY2)
if test "$LINUX_TPROXY2" = "no" && test "$LINUX_NETFILTER" = "yes"; then
- echo "WARNING: Cannot find TPROXY v2 headers, you need to patch the kernel with "
- echo "tproxy package from:"
- echo " - lynx http://www.balabit.com/downloads/files/tproxy/"
- echo "Or select the '--enable-linux-netfilter' option instead for Netfilter support."
+ AC_MSG_WARN([Cannot find TPROXY v2 headers, you need to patch the kernel with ])
+ AC_MSG_WARN([tproxy package from:])
+ AC_MSG_WARN([ - lynx http://www.balabit.com/downloads/files/tproxy/])
+ AC_MSG_WARN([Or select the '--enable-linux-netfilter' option instead for Netfilter support.])
sleep 10
fi
fi
fi
AC_DEFINE_UNQUOTED(SQUID_MAXFD, $SQUID_MAXFD,[Maximum number of open filedescriptors])
if test "$SQUID_MAXFD" -lt 512 ; then
- echo "WARNING: $SQUID_MAXFD may not be enough filedescriptors if your"
- echo " cache will be very busy. Please see the FAQ page"
- echo " http://wiki.squid-cache.org/SquidFaq/TroubleShooting"
- echo " on how to increase your filedescriptor limit"
+ AC_MSG_WARN([$SQUID_MAXFD may not be enough filedescriptors if your])
+ AC_MSG_WARN([cache will be very busy. Please see the FAQ page])
+ AC_MSG_WARN([http://wiki.squid-cache.org/SquidFaq/TroubleShooting])
+ AC_MSG_WARN([on how to increase your filedescriptor limit])
sleep 10
fi
LDFLAGS="$TLDFLAGS"
if test `expr $SQUID_MAXFD % 64` != 0; then
- echo "WARNING: $SQUID_MAXFD is not an multiple of 64. This may cause issues"
- echo " on certain platforms."
+ AC_MSG_WARN([$SQUID_MAXFD is not an multiple of 64. This may cause issues on certain platforms.])
sleep 10
fi
SQUID_TCP_SO_SNDBUF=16384)
AC_MSG_RESULT($SQUID_TCP_SO_SNDBUF)
if test $SQUID_TCP_SO_SNDBUF -gt 32768; then
- echo "Limiting send buffer size to 32K"
+ AC_MSG_NOTICE([Limiting send buffer size to 32K])
SQUID_TCP_SO_SNDBUF=32768
fi
AC_DEFINE_UNQUOTED(SQUID_TCP_SO_SNDBUF, $SQUID_TCP_SO_SNDBUF,[TCP send buffer size])
SQUID_TCP_SO_RCVBUF=16384)
AC_MSG_RESULT($SQUID_TCP_SO_RCVBUF)
if test $SQUID_TCP_SO_RCVBUF -gt 65535; then
- echo "Limiting receive buffer size to 64K"
+ AC_MSG_NOTICE([Limiting receive buffer size to 64K])
SQUID_TCP_SO_RCVBUF=65535
fi
AC_DEFINE_UNQUOTED(SQUID_TCP_SO_RCVBUF, $SQUID_TCP_SO_RCVBUF,[TCP receive buffer size])
AC_MSG_RESULT("no")
case "$host_os" in
mingw|mingw32)
- echo "Using Win32 resolver instead."
+ AC_MSG_NOTICE([Using Win32 resolver instead.])
;;
*)
- echo "Will use our own inet_ntoa()."
+ AC_MSG_NOTICE([Will use our own inet_ntoa().])
AC_LIBOBJ(inet_ntoa)
-# echo "WARNING: This looks bad, and probably prevents Squid from working."
-# echo " If you're on IRIX and using GCC 2.8, you probably need"
-# echo " to use the IRIX C compiler instead."
+# AC_MSG_WARN([This looks bad, and probably prevents Squid from working.])
+# AC_MSG_WARN([If you're on IRIX and using GCC 2.8, you probably need])
+# AC_MSG_WARN([to use the IRIX C compiler instead.])
# sleep 10
;;
esac
fi
])
if test "$use_errlocale" = "yes" ; then
- echo "Enabling Multi-Language Support"
+ AC_MSG_NOTICE([Enabling Multi-Language Support])
AC_DEFINE(USE_ERR_LOCALES,1,[Use multi-language support on error pages])
else
- echo "Disabling Multi-Language Support"
+ AC_MSG_WARN([Disabling Multi-Language Support])
AC_DEFINE(USE_ERR_LOCALES,0,[Use multi-language support on error pages])
dnl So we don't want to even attempt translation if its forcibly disabled.
PO2HTML="off"