--- configure.ac.orig	2011-05-23 16:59:38.000000000 -0500
+++ configure.ac	2011-06-29 05:28:59.000000000 -0500
@@ -31,21 +31,7 @@
 m4_include([m4/acinclude.m4])
 ACX_PTHREAD()
 
-if test x"${cross_compiling}" = "xno" ; then
-  # Bring additional directories where things might be found into our
-  # search path. I don't know why autoconf doesn't do this by default
-  for spfx in /usr/local /opt/local /sw ${prefix} ; do
-    AC_MSG_NOTICE([checking ${spfx}/include])
-    if test -d ${spfx}/include; then
-        CPPFLAGS="-I${spfx}/include $CPPFLAGS"
-        LDFLAGS="-L${spfx}/lib $LDFLAGS"
-        AC_MSG_NOTICE([ *** ADDING ${spfx}/include to CPPFLAGS *** ])
-        AC_MSG_NOTICE([ *** ADDING ${spfx}/lib to LDFLAGS *** ])
-    fi
-  done
-  AC_MSG_NOTICE([ CPPFLAGS = ${CPPFLAGS} ])        
-  AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ])        
-else
+if test x"${cross_compiling}" != "xno" ; then
   AC_MSG_NOTICE([Cross Compiling --- will not update CPPFALGS or LDFLAGS with /usr/local, /opt/local or /sw])
   LIBS="$LIBS -lws2_32 -lgdi32"
 fi
