Hi,
It seems that configure.in is broken for FreeBSD:
- If you build Squid using the ports system on FreeBSD, target is set to
${ARCH}-portbld-freebsd${OSREL}.
- FreeBSD is a multi-platform OS. Especially amd64 is common these days.
Please apply the attached patch upstream.
Thanks.
Cheers,
--
Anders.
--- configure.in.orig Mon Sep 11 09:08:36 2006
+++ configure.in Mon Sep 11 09:10:21 2006
@@ -1994,7 +1994,7 @@
*-sun-solaris*)
echo "skipping libmalloc check for $host"
;;
- i386-*-freebsd*)
+ *-freebsd*)
echo "skipping libmalloc check for $host"
;;
*)
@@ -2033,7 +2033,7 @@
if test "$with_pthreads" = "yes"; then
CFLAGS="$CFLAGS -D_REENTRANT"
case "$host" in
- i386-unknown-freebsd*)
+ *-freebsd*)
if test "$GCC" = "yes" ; then
if test -z "$PRESET_LDFLAGS"; then
LDFLAGS="$LDFLAGS -pthread"