Index: configure.in =================================================================== RCS file: /sfhome/cvs/dillo/dillo/configure.in,v retrieving revision 1.48 diff -c -r1.48 configure.in *** configure.in 2 Apr 2003 17:52:26 -0000 1.48 --- configure.in 10 Apr 2003 18:24:25 -0000 *************** *** 29,34 **** --- 29,43 ---- AM_PROG_CC_STDC AC_PROG_RANLIB + dnl gcc 3.x usually has /usr/local in the default directories. So, for that case we don't ass + dnl /usr/local, otherwise we always do. This should not cause any trouble anyways and at + dnl least the BSD's need the /usr/local stuff. + AC_PROG_CPP + if test ! "`$CPP -I/usr/local/include < /dev/null 2>&1 | grep 'warning: changing search order for system directory'`" ; then + CPPFLAGS="$CPPFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" + fi + dnl ----------------------------------- dnl Check for Gtk+ (it checks glib too) dnl ----------------------------------- *************** *** 73,80 **** fi AC_CHECK_HEADERS(png.h libpng/png.h, AC_CHECK_LIB(png, png_check_sig) break, ! AC_MSG_WARN(*** No libpng found. Disabling png images.***) ) dnl ---------------------- dnl Test for POSIX threads --- 82,92 ---- fi AC_CHECK_HEADERS(png.h libpng/png.h, AC_CHECK_LIB(png, png_check_sig) break, ! pngh="no$pngh" ) + if test "x$pngh" = "xnono"; then + AC_MSG_WARN(*** No libpng found. Disabling png images.***) + fi dnl ---------------------- dnl Test for POSIX threads