about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-14 19:14:40 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-14 19:14:40 +0000
commite142bdeb17005fdb974b0352c743f9da68dbb8aa (patch)
tree6ff0657f3ec5540579bbce67fcbe950e7782f106 /configure.in
parent9fc3e9a8dbfd2bbce2fd825a104414994539cd4d (diff)
downloadzsh-e142bdeb17005fdb974b0352c743f9da68dbb8aa.tar.gz
zsh-e142bdeb17005fdb974b0352c743f9da68dbb8aa.tar.xz
zsh-e142bdeb17005fdb974b0352c743f9da68dbb8aa.zip
zsh-workers/9322
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 11 insertions, 1 deletions
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