--- configure.orig 2007-11-05 11:31:21.378858885 +0000 +++ configure 2007-11-05 11:32:50.947161645 +0000 @@ -20370,20 +20370,20 @@ if test "x$with_libproj4" != "xno"; then if test "x$with_libproj4" != "xyes"; then - LIBS="$LIBS -L$with_libproj4/lib -lproj4" + LIBS="$LIBS -L$with_libproj4/lib -lproj" INCLUDES="$INCLUDES -I$with_libproj4/include" else INCLUDES="$INCLUDES -I/usr/include" - LIBS="$LIBS -lproj4" + LIBS="$LIBS -lproj" fi - echo "$as_me:$LINENO: checking for pj_init in -lproj4" >&5 -echo $ECHO_N "checking for pj_init in -lproj4... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for pj_init in -lproj" >&5 +echo $ECHO_N "checking for pj_init in -lproj... $ECHO_C" >&6 if test "${ac_cv_lib_proj4_pj_init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lproj4 $LIBS" +LIBS="-lproj $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF --- src/math_utl.hpp.orig 2007-11-05 11:35:17.000000000 +0000 +++ src/math_utl.hpp 2007-11-05 11:35:44.000000000 +0000 @@ -42,7 +42,7 @@ #define COMPLEX COMPLEX2 extern "C" { -#include "lib_proj.h" +#include "projects.h" } PJ *map_init();