aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2020-03-13 10:55:56 +1300
committerEven Rouault <even.rouault@spatialys.com>2020-03-12 23:46:34 +0100
commitd8835f1288207ba9a7e78082050ef61af3ded1e3 (patch)
tree36d2ced674015efb38d5c15ff8a452f5cdb8ede1
parent66f81bec4a642719bb74bfefe84059213c9a07bb (diff)
downloadPROJ-d8835f1288207ba9a7e78082050ef61af3ded1e3.tar.gz
PROJ-d8835f1288207ba9a7e78082050ef61af3ded1e3.zip
Autotools/pkg-conf: Define datarootdir
-rw-r--r--configure.ac3
-rw-r--r--proj.pc.in1
2 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index fab8f0e1..fb185a1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -360,7 +360,4 @@ fi
AC_CONFIG_FILES([proj.pc])
-dnl Ignore WARNING: 'proj.pc.in' seems to ignore the --datarootdir setting
-AC_DEFUN([AC_DATAROOTDIR_CHECKED])
-
AC_OUTPUT
diff --git a/proj.pc.in b/proj.pc.in
index f66da74d..7e462138 100644
--- a/proj.pc.in
+++ b/proj.pc.in
@@ -2,6 +2,7 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
+datarootdir=@datarootdir@
datadir=@datadir@/@PACKAGE@
Name: PROJ