--- configure.ac+++ configure.ac@@ -14,7 +14,7 @@AM_PROG_MKDIR_P
# Set the DATA_DIR value
-FC_EXPAND_DIR(DATA_DIR, "$prefix/share/$PACKAGE_NAME")+FC_EXPAND_DIR(DATA_DIR, "$datadir/$PACKAGE_NAME")DATA_DIR="\"$DATA_DIR\""
AC_DEFINE_UNQUOTED(DATA_DIR, $DATA_DIR, [Location of data directory])