19338 etc.: remove support for autoconf before 2.50

This commit is contained in:
Peter Stephenson
2004-01-08 12:59:25 +00:00
parent a892f5e24c
commit caea0dbeac
6 changed files with 2154 additions and 2170 deletions

View File

@@ -1,3 +1,10 @@
2004-01-08 Peter Stephenson <pws@csr.com>
* 19338 adapated (see following thread): .distfiles,
Makefile.in, zshconfig.ac, configure.in, configure.ac,
Etc/zsh-development-guide: Remove support for autoconf
versions before 2.50.
2004-01-06 Peter Stephenson <pws@csr.com>
* 19339: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_fd_handler,

View File

@@ -18,10 +18,9 @@ Tools
To develop (as opposed to just build) zsh, you'll need a few specialised
tools:
* GNU autoconf, version 2.12 or later. (Earlier versions mostly work,
but part of the configuration system now relies on part of the format
of the config.status files that get generated. See the comments in
configure.in and at the end of Src/mkmakemod.sh for an explanation.)
* GNU autoconf, version 2.50 or later. This version contained
significant enhancements and arlier versions will no
longer work.
* GNU m4. (Required by autoconf.)

View File

@@ -131,7 +131,7 @@ config: config.h
config.status: $(sdir)/configure
$(SHELL) ./config.status --recheck
$(sdir)/configure: $(sdir)/zshconfig.ac $(sdir)/aclocal.m4 $(sdir)/aczsh.m4 $(sdir)/configure.in $(sdir)/configure.ac
$(sdir)/configure: $(sdir)/aclocal.m4 $(sdir)/aczsh.m4 $(sdir)/configure.ac
cd $(sdir) && autoconf
config.h: stamp-h
@@ -140,7 +140,7 @@ stamp-h: $(sdir)/config.h.in config.status
CONFIG_FILES= CONFIG_HEADERS=$(subdir)/config.h $(SHELL) ./config.status
$(sdir)/config.h.in: $(sdir)/stamp-h.in
$(sdir)/stamp-h.in: $(sdir)/zshconfig.ac $(sdir)/acconfig.h \
$(sdir)/stamp-h.in: $(sdir)/configure.ac $(sdir)/acconfig.h \
$(sdir)/aclocal.m4 $(sdir)/aczsh.m4
cd $(sdir) && autoheader
echo > $(sdir)/stamp-h.in

File diff suppressed because it is too large Load Diff

View File

@@ -1,20 +0,0 @@
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

File diff suppressed because it is too large Load Diff