--- configure.ac.orig 2017-06-23 19:57:09.000000000 -0500
+++ configure.ac 2017-11-28 08:50:54.000000000 -0600
m4_include([m4/acx_pthread.m4])
-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 ${prefix} /sw /opt/local /usr/local ; do
- AC_MSG_NOTICE([checking ${spfx}/include])
- if test -d ${spfx}/include; then
- CPPFLAGS="$CPPFLAGS -I${spfx}/include"
- LDFLAGS="$LDFLAGS -L${spfx}/lib"
- AC_MSG_NOTICE([ *** ADDING ${spfx}/include to CPPFLAGS *** ])
- AC_MSG_NOTICE([ *** ADDING ${spfx}/lib to LDFLAGS *** ])
- AC_MSG_NOTICE([ CPPFLAGS = ${CPPFLAGS} ])
- AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ])
+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"