diff options
author | Reuben Thomas <rrt@sc3d.org> | 2022-04-22 16:14:29 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2022-05-05 13:58:23 +0100 |
commit | 55830cf9fe6922fcc1223e011c830961deb15286 (patch) | |
tree | 0768865d7caf752cd30577a66680b9d93a9ba83c | |
parent | 823df01a92a3dad9172f0ae1a0bcfe9d7039645b (diff) | |
download | enchant-55830cf9fe6922fcc1223e011c830961deb15286.tar.gz |
configure.ac: warn if --datadir is set that the tests will not work
-rw-r--r-- | configure.ac | 3 |
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 |