diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 33f8cc0c..cc138aaa 100644 --- a/configure.ac +++ b/configure.ac @@ -321,6 +321,19 @@ AC_SUBST(CURL_LIBS,$CURL_LIBS) AC_SUBST(CURL_ENABLED_FLAGS,$CURL_ENABLED_FLAGS) AM_CONDITIONAL(HAVE_CURL, [test "x$FOUND_CURL" = "xyes"]) + +dnl --------------------------------------------------------------------------- +dnl proj-lib-env-var-tried-last +dnl --------------------------------------------------------------------------- + +AC_ARG_ENABLE(proj-lib-env-var-tried-last, + AS_HELP_STRING([--enable-proj-lib-env-var-tried-last], + [Whether the PROJ_LIB environment variable should be tried after the hardcoded location [default=no]])) + +if test "x$enable_proj_lib_env_var_tried_last" = "xyes"; then + AC_SUBST(PROJ_LIB_ENV_VAR_TRIED_LAST_FLAGS,-DPROJ_LIB_ENV_VAR_TRIED_LAST) +fi + dnl --------------------------------------------------------------------------- dnl Check for external Google Test dnl --------------------------------------------------------------------------- |
