1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

manual/8916

This commit is contained in:
Tanaka Akira 1999-12-06 16:40:30 +00:00
parent e0efcf71b1
commit a4d24d1d55
2 changed files with 12 additions and 3 deletions

View file

@ -33,7 +33,7 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
MODDIR = $(libdir)/zsh/$(VERSION)
MODDIR = $(libdir)/@tzsh@/$(VERSION)
infodir = @infodir@
mandir = @mandir@
fndir = @fndir@

View file

@ -48,6 +48,15 @@ dnl -----------------------------
dnl Handle --program-prefix, --program-suffix, etc.
AC_ARG_PROGRAM
u_ptn=`make -s -f - <<EOF
all:
@echo ${program_transform_name}
EOF
`
tzsh=`echo zsh | sed -e "${u_ptn}"`
AC_SUBST(tzsh)dnl
dnl Do you want to debug zsh?
undefine([zsh-debug])dnl
AC_ARG_ENABLE(zsh-debug,
@ -214,10 +223,10 @@ undefine([fndir])dnl
AC_ARG_ENABLE(fndir,
[ --enable-fndir=DIR where functions go (default DATADIR/zsh/functions)],
[if test $enableval = yes; then
fndir=${datadir}/zsh/functions
fndir=${datadir}/${tzsh}/functions
else
fndir="$enableval"
fi], [fndir=${datadir}/zsh/functions])
fi], [fndir=${datadir}/${tzsh}/functions])
undefine([function_subdirs])
AC_ARG_ENABLE(function-subdirs,