diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-06-08 09:25:39 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-06-08 09:25:39 +0000 |
commit | 805381040dd69dd02b78423d2d71913b33f3cc33 (patch) | |
tree | 1fa89ee643e8e577a2f79e76e3d6cafc93256ca2 /configure.in | |
parent | f42e3fa8e6152e145251e8f16f4c61c23dec1f59 (diff) | |
download | zsh-805381040dd69dd02b78423d2d71913b33f3cc33.tar.gz zsh-805381040dd69dd02b78423d2d71913b33f3cc33.tar.xz zsh-805381040dd69dd02b78423d2d71913b33f3cc33.zip |
zsh-3.1.5-pws-21 zsh-3.1.5-pws-21
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 20 |
1 files changed, 18 insertions, 2 deletions
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. |