186 |
AC_ARG_WITH(lispdir, |
AC_ARG_WITH(lispdir, |
187 |
[ --with-lispdir=DIR Where to install the $1 file, note |
[ --with-lispdir=DIR Where to install the $1 file, note |
188 |
that most of the package will be relative to it.], |
that most of the package will be relative to it.], |
189 |
[[lispdir="${withval}"]], |
[[lispdir="${withval}"]]) |
190 |
[if test "${EMACS_FLAVOR}" = 'emacs'; then |
if test "X${lispdir}" = X; then |
191 |
|
if test "${EMACS_FLAVOR}" = 'emacs'; then |
192 |
# Test paths relative to prefixes |
# Test paths relative to prefixes |
193 |
EMACS_EXAMINE_INSTALLATION_DIR(lispdir, |
EMACS_EXAMINE_INSTALLATION_DIR(lispdir, |
194 |
[['${datadir}/emacs' '${libdir}/emacs' "${emacsprefix}/share/emacs" \ |
[['${datadir}/emacs' '${libdir}/emacs' "${emacsprefix}/share/emacs" \ |
204 |
# XEmacs |
# XEmacs |
205 |
lispdir="${packagedir}/lisp" |
lispdir="${packagedir}/lisp" |
206 |
fi |
fi |
207 |
]) |
fi |
208 |
AC_MSG_RESULT([[${lispdir}]]) |
AC_MSG_RESULT([[${lispdir}]]) |
209 |
AC_SUBST(lispdir) |
AC_SUBST(lispdir) |
210 |
]) |
]) |