--- 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"

