summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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