diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-10-03 11:33:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-03 11:33:42 +0200 |
| commit | 07bbf14615d4a5f4fad0d6dea84f8a067c0a6ab6 (patch) | |
| tree | 9c0cc0625e9ce1060df56f231846c79d53f7092e | |
| parent | 8238b66c0700f38c53498d61b82681268a77154a (diff) | |
| parent | 43ee3c7f543b48f8ce804257cca10ec397713096 (diff) | |
| download | PROJ-07bbf14615d4a5f4fad0d6dea84f8a067c0a6ab6.tar.gz PROJ-07bbf14615d4a5f4fad0d6dea84f8a067c0a6ab6.zip | |
Merge pull request #1652 from OSGeo/backport-1651-to-6.2
[Backport 6.2] Only call pkg-config in configure when necessary
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a3d0d021..fc1b0ead 100644 --- a/configure.ac +++ b/configure.ac @@ -307,7 +307,9 @@ dnl --------------------------------------------------------------------------- dnl Check for sqlite3 library and binary dnl --------------------------------------------------------------------------- -PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= 3.7]) +if test "x$SQLITE3_CFLAGS$SQLITE3_LIBS" = "x" ; then + PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= 3.7]) +fi AC_SUBST(SQLITE3_CFLAGS,$SQLITE3_CFLAGS) AC_SUBST(SQLITE3_LIBS,$SQLITE3_LIBS) |
