summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2022-04-22 16:14:29 +0100
committerReuben Thomas <rrt@sc3d.org>2022-05-05 13:58:23 +0100
commit55830cf9fe6922fcc1223e011c830961deb15286 (patch)
tree0768865d7caf752cd30577a66680b9d93a9ba83c
parent823df01a92a3dad9172f0ae1a0bcfe9d7039645b (diff)
downloadenchant-55830cf9fe6922fcc1223e011c830961deb15286.tar.gz
configure.ac: warn if --datadir is set that the tests will not work
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5cfe24d..30726d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,3 +263,6 @@ fi
if test $RELOCATABLE != yes; then
AC_MSG_WARN([Building without --enable-relocatable: the tests will not work!])
fi
+if test "$datadir" != '${datarootdir}'; then
+ AC_MSG_WARN([--datadir set: the tests will not work!])
+fi