--- configure.ac.orig 2017-06-23 19:57:09.000000000 -0500 +++ configure.ac 2017-11-28 08:50:54.000000000 -0600 @@ -30,21 +30,7 @@ m4_include([m4/acx_pthread.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 ${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 *** ]) - 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