[postgis-tickets] r17118 - Fix so custom --projdir configure switch works again.

Regina Obe lr at pcorp.us
Tue Dec 25 07:55:18 PST 2018


Author: robe
Date: 2018-12-25 19:55:18 -0800 (Tue, 25 Dec 2018)
New Revision: 17118

Modified:
   trunk/configure.ac
Log:
Fix so custom --projdir configure switch works again.
References #4279 for PostGIS 3.0

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2018-12-21 05:50:11 UTC (rev 17117)
+++ trunk/configure.ac	2018-12-26 03:55:18 UTC (rev 17118)
@@ -836,6 +836,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