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

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


Author: robe
Date: 2018-12-25 20:08:48 -0800 (Tue, 25 Dec 2018)
New Revision: 17120

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

Modified: branches/2.4/configure.ac
===================================================================
--- branches/2.4/configure.ac	2018-12-26 04:06:50 UTC (rev 17119)
+++ branches/2.4/configure.ac	2018-12-26 04:08:48 UTC (rev 17120)
@@ -819,6 +819,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