[GRASS-SVN] r72422 - grass/trunk

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 20 11:40:26 PDT 2018


Author: mmetz
Date: 2018-03-20 11:40:26 -0700 (Tue, 20 Mar 2018)
New Revision: 72422

Modified:
   grass/trunk/configure
   grass/trunk/configure.in
Log:
configure: report at the end which PROJ API is used

Modified: grass/trunk/configure
===================================================================
--- grass/trunk/configure	2018-03-20 17:23:19 UTC (rev 72421)
+++ grass/trunk/configure	2018-03-20 18:40:26 UTC (rev 72422)
@@ -14617,3 +14617,12 @@
 
 echo ""
 
+# remove when the new PROJ API is stable
+if test $PROJ4API = 0 ; then
+echo "$ac_t""  using new PROJ 5+ API" 1>&6
+else
+echo "$ac_t""  using old PROJ 4 API" 1>&6
+fi
+
+echo ""
+

Modified: grass/trunk/configure.in
===================================================================
--- grass/trunk/configure.in	2018-03-20 17:23:19 UTC (rev 72421)
+++ grass/trunk/configure.in	2018-03-20 18:40:26 UTC (rev 72422)
@@ -1995,3 +1995,10 @@
 LOC_MSG_USE(X11 support,USE_X11)
 LOC_MSG_USE(Zstandard support,USE_ZSTD)
 LOC_MSG()
+# remove when the new PROJ API is stable
+if test $PROJ4API = 0 ; then
+AC_MSG_RESULT([  using new PROJ 5+ API])
+else
+AC_MSG_RESULT([  using old PROJ 4 API])
+fi
+LOC_MSG()



More information about the grass-commit mailing list