Commit 63584069 authored by Regina Obe's avatar Regina Obe

Fix so custom --with-projdir= configure switch works again.

References #4279 for PostGIS 2.5

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17119 b70326c6-7e19-0410-871a-916f4a2858ee
parent 3a89f61f
Pipeline #41308651 passed with stage
in 22 minutes and 26 seconds
...@@ -834,6 +834,8 @@ if test ! "x$PROJDIR" = "x"; then ...@@ -834,6 +834,8 @@ if test ! "x$PROJDIR" = "x"; then
fi fi
dnl Check that we can find the proj_api.h header file 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])], 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 #define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment