From 55830cf9fe6922fcc1223e011c830961deb15286 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Fri, 22 Apr 2022 16:14:29 +0100 Subject: configure.ac: warn if --datadir is set that the tests will not work --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.1