1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
if test x"${mingw}" != "xyes" ; then
case $host in
*mingw*)
AC_MSG_NOTICE([Compiling under mingw; will not search other directories.])
;;
*)
AC_MSG_NOTICE(Compiling under $host.)
# 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 /usr/local/ssl; 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} ])
;;
esac
fi
|