[postgis-tickets] r17119 - Fix so custom --with-projdir= configure switch works again.

Regina Obe lr at pcorp.us
Tue Dec 25 08:06:51 PST 2018


Author: robe
Date: 2018-12-25 20:06:50 -0800 (Tue, 25 Dec 2018)
New Revision: 17119

Modified:
   branches/2.5/configure.ac
Log:
Fix so custom --with-projdir= configure switch works again.
References #4279 for PostGIS 2.5

Modified: branches/2.5/configure.ac
===================================================================
--- branches/2.5/configure.ac	2018-12-26 03:55:18 UTC (rev 17118)
+++ branches/2.5/configure.ac	2018-12-26 04:06:50 UTC (rev 17119)
@@ -834,6 +834,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