From e142bdeb17005fdb974b0352c743f9da68dbb8aa Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 14 Jan 2000 19:14:40 +0000 Subject: zsh-workers/9322 --- configure.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index bcf34458e..bc53d99bb 100644 --- a/configure.in +++ b/configure.in @@ -212,7 +212,7 @@ AC_DEFINE(CONFIG_LOCALE) undefine([fndir])dnl AC_ARG_ENABLE(fndir, -[ --enable-fndir=DIR where functions go (default DATADIR/zsh/functions)], +[ --enable-fndir=DIR where functions go], dnl ${VERSION} to be determined at compile time. [if test $enableval = yes; then fndir=${datadir}/${tzsh_name}/'${VERSION}'/functions @@ -220,6 +220,15 @@ else fndir="$enableval" fi], [fndir=${datadir}/${tzsh_name}/'${VERSION}'/functions]) +undefine([sitefndir])dnl +AC_ARG_ENABLE(sitefndir, +[ --enable-site-fndir=DIR where site functions (not version specific) go], +[if test $enableval = yes; then + sitefndir=${datadir}/${tzsh_name}/site-functions +else + sitefndir="$enableval" +fi], [sitefndir=${datadir}/${tzsh_name}/site-functions]) + undefine([function_subdirs]) AC_ARG_ENABLE(function-subdirs, [ --enable-function-subdirs install functions in subdirectories]) @@ -240,6 +249,7 @@ else fi AC_SUBST(fndir)dnl +AC_SUBST(sitefndir)dnl AC_SUBST(FUNCTIONS_INSTALL)dnl AC_SUBST(FUNCTIONS_SUBDIRS)dnl -- cgit 1.4.1