1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 05:24:23 +01:00
zsh/configure.in
Andrey Borzenkov 4b44bbb3fb unposted; based on 14679 (me) and 14693 (Bart): Allow processing by both
autoconf-2.13 and autoconf-2.50; remove config.status hack for autoconf-2.50
2001-06-06 08:37:21 +00:00

21 lines
654 B
Plaintext

AC_INIT(Src/zsh.h)
real_no_create=$no_create
no_create=yes
builtin([include], [zshconfig.ac])
dnl The standard config.status is missing some essential features.
dnl So add them now. See the comment at the end of Src/mkmakemod.sh.
[rm -f $CONFIG_STATUS.old
cp $CONFIG_STATUS $CONFIG_STATUS.old
sed '1,$s@^\( *ac_file_inputs=\).*$@\1`echo $ac_file_in | sed -e "s%^%:%" -e "s%:\\([^!]\\)% $ac_given_srcdir/\\1%g" -e "s%:!% %"`@' \
$CONFIG_STATUS.old >$CONFIG_STATUS
echo "# Hack for autoconf-2.13" >>$CONFIG_STATUS
chmod +x $CONFIG_STATUS
rm -f $CONFIG_STATUS.old]
test "$real_no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1