[postgis-tickets] r17121 - Fix so custom --with-projdir= configure switch works again.
Regina Obe
lr at pcorp.us
Tue Dec 25 08:12:22 PST 2018
Author: robe
Date: 2018-12-25 20:12:21 -0800 (Tue, 25 Dec 2018)
New Revision: 17121
Modified:
branches/2.3/configure.ac
Log:
Fix so custom --with-projdir= configure switch works again.
Closes #4279 for PostGIS 2.3
Modified: branches/2.3/configure.ac
===================================================================
--- branches/2.3/configure.ac 2018-12-26 04:08:48 UTC (rev 17120)
+++ branches/2.3/configure.ac 2018-12-26 04:12:21 UTC (rev 17121)
@@ -812,6 +812,8 @@
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
More information about the postgis-tickets
mailing list