Fix for autoconf-2.60 (datadir).

SVN revision: 24152
This commit is contained in:
Kim Woelders 2006-07-23 23:09:07 +00:00
parent 73c9b8cb28
commit 8d54a7fee2
1 changed files with 3 additions and 1 deletions

View File

@ -103,13 +103,15 @@ dnl The following test must come after AM_GNU_GETTEXT as it relies on
dnl ${DATADIRNAME} being defined.
if test "x$enable_fsstd" = "xyes"; then
DATADIR=${prefix}/${DATADIRNAME}
LOCALEDIR=${prefix}/${DATADIRNAME}/locale
else
datadir=${prefix}
DATADIR=${datadir}
exec_prefix=${prefix}/e16
LOCALEDIR=${prefix}/e16/locale
fi
ENLIGHTENMENT_ROOT=`eval echo ${datadir}/e16`
ENLIGHTENMENT_ROOT=`eval echo ${DATADIR}/e16`
ENLIGHTENMENT_BIN=`eval echo ${bindir}`
AC_SUBST(ENLIGHTENMENT_ROOT)
AC_SUBST(ENLIGHTENMENT_BIN)