From 805381040dd69dd02b78423d2d71913b33f3cc33 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 8 Jun 1999 09:25:39 +0000 Subject: zsh-3.1.5-pws-21 --- configure.in | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 68413fad7..02abcc67b 100644 --- a/configure.in +++ b/configure.in @@ -104,7 +104,7 @@ AC_ARG_ENABLE(lfs, [ --enable-lfs turn on support for large files]) dnl Pathnames for global zsh scripts -undefine([zshenv])dnl +undefine([etcdir])dnl AC_ARG_ENABLE(etcdir, [ --enable-etcdir=directory default directory for global zsh scripts], [etcdir="$enableval"], [etcdir=/etc]) @@ -201,6 +201,21 @@ fi], AC_DEFINE(RESTRICTED_R) ) +undefine([fndir])dnl +AC_ARG_ENABLE(fndir, +[ --enable-fndir=DIR where functions go (default DATADIR/zsh-fns)], +[fndir="$enableval"], [fndir=${datadir}/zsh/functions]) + +if test x${FUNCTIONS_INSTALL+set} != xset; then + FUNCTIONS_INSTALL="Core/* Base/* Builtins/* User/* Commands/*" + if test $dynamic != no; then + FUNCTIONS_INSTALL="${FUNCTIONS_INSTALL} Zftp/*" + fi +fi + +AC_SUBST(fndir)dnl +AC_SUBST(FUNCTIONS_INSTALL)dnl + dnl ------------------ dnl CHECK THE COMPILER dnl ------------------ @@ -1293,7 +1308,8 @@ AC_SUBST_FILE(VERSION_MK)dnl real_no_create=$no_create no_create=yes -AC_OUTPUT(Config/defs.mk Makefile Doc/Makefile Etc/Makefile Src/Makefile, \ +AC_OUTPUT(Config/defs.mk Makefile Doc/Makefile Etc/Makefile Src/Makefile \ +Completion/Makefile Functions/Makefile, \ [test -z "$CONFIG_HEADERS" || echo > stamp-h]) dnl The standard config.status is missing some essential features. -- cgit 1.4.1