References #4279 for PostGIS 2.5
git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17119
b70326c6-7e19-0410-871a-
916f4a2858ee
fi
dnl Check that we can find the proj_api.h header file
+CPPFLAGS_SAVE="$CPPFLAGS"
+CPPFLAGS="$PROJ_CPPFLAGS"
AC_CHECK_HEADER([proj_api.h], [], [AC_MSG_ERROR([could not find proj_api.h - you may need to specify the directory of a PROJ.4 installation using --with-projdir])],
[
#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H 1