Browse Source

configure: report at the end which PROJ API is used

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72422 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 7 years ago
parent
commit
438b232a68
2 changed files with 16 additions and 0 deletions
  1. 9 0
      configure
  2. 7 0
      configure.in

+ 9 - 0
configure

@@ -14617,3 +14617,12 @@ echo "  Zstandard support:          `if test -n "${USE_ZSTD}" ; then echo yes ;
 
 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 ""
+

+ 7 - 0
configure.in

@@ -1995,3 +1995,10 @@ LOC_MSG_USE(TIFF support,USE_TIFF)
 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()