1 if test x"${mingw}" != "xyes" ; then 2 3 case $host in 4 *mingw*) 5 AC_MSG_NOTICE([Compiling under mingw; will not search other directories.]) 6 ;; 7 *) 8 AC_MSG_NOTICE(Compiling under $host.) 9 # Bring additional directories where things might be found into our 10 # search path. I don't know why autoconf doesn't do this by default 11 for spfx in /usr/local /opt/local /sw /usr/local/ssl; do 12 AC_MSG_NOTICE([checking ${spfx}/include]) 13 if test -d ${spfx}/include; then 14 CPPFLAGS="$CPPFLAGS -I${spfx}/include" 15 LDFLAGS="$LDFLAGS -L${spfx}/lib" 16 AC_MSG_NOTICE([ *** ADDING ${spfx}/include to CPPFLAGS *** ]) 17 AC_MSG_NOTICE([ *** ADDING ${spfx}/lib to LDFLAGS *** ]) 18 fi 19 done 20 AC_MSG_NOTICE([ CPPFLAGS = ${CPPFLAGS} ]) 21 AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ]) 22 ;; 23 esac 24 fi 25 26