mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
great renaming. gratuitous spacing changes
This commit is contained in:
parent
121cb301ca
commit
fff7008edd
26
Makefile.in
26
Makefile.in
@ -27,7 +27,7 @@ MAKEINFO = makeinfo
|
||||
TEXI2DVI = texi2dvi
|
||||
M4 = @M4@
|
||||
|
||||
PROGS = autoconf autoheader autoreconf ifnames @PROGS@
|
||||
PROGS = autoconf autoheader autoreconf autoupdate ifnames @PROGS@
|
||||
# Path of the perl interpreter.
|
||||
PERL = @PERL@
|
||||
|
||||
@ -54,9 +54,10 @@ DISTDEP = info Makefile
|
||||
# Files to distribute.
|
||||
DISTFILES = COPYING ChangeLog INSTALL Makefile.in NEWS README \
|
||||
acconfig.h acfunctions acgeneral.m4 acheaders acidentifiers \
|
||||
acmakevars acprograms acspecific.m4 autoconf.info* \
|
||||
acmakevars acoldnames.m4 acprograms acspecific.m4 autoconf.info* \
|
||||
autoconf.sh autoconf.texi install.texi \
|
||||
autoheader.sh autoreconf.sh autoscan.pl shindent.sh ifnames.sh \
|
||||
autoheader.sh autoreconf.sh autoscan.pl autoupdate.sh \
|
||||
shindent.sh ifnames.sh \
|
||||
config.guess config.sub configure configure.in \
|
||||
install.sh mkinstalldirs texinfo.tex \
|
||||
testsuite/Makefile.in testsuite/config/*.exp \
|
||||
@ -80,6 +81,10 @@ autoreconf: autoreconf.sh
|
||||
rm -f $@ $@.tmp
|
||||
$(editsh) $(srcdir)/autoreconf.sh > $@.tmp && mv $@.tmp $@ && chmod +x $@
|
||||
|
||||
autoupdate: autoupdate.sh
|
||||
rm -f $@ $@.tmp
|
||||
$(editsh) $(srcdir)/autoupdate.sh > $@.tmp && mv $@.tmp $@ && chmod +x $@
|
||||
|
||||
shindent: shindent.sh
|
||||
rm -f $@ $@.tmp
|
||||
$(editsh) $(srcdir)/shindent.sh > $@.tmp && mv $@.tmp $@ && chmod +x $@
|
||||
@ -122,12 +127,15 @@ installdirs:
|
||||
$(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
|
||||
|
||||
# References to install-info have been removed until it's released.
|
||||
install: all acgeneral.m4 acspecific.m4 acconfig.h installdirs install-info
|
||||
install: all acgeneral.m4 acoldnames.m4 acspecific.m4 acconfig.h \
|
||||
installdirs install-info
|
||||
$(INSTALL_PROGRAM) autoconf $(bindir)/autoconf
|
||||
$(INSTALL_PROGRAM) autoheader $(bindir)/autoheader
|
||||
$(INSTALL_PROGRAM) autoreconf $(bindir)/autoreconf
|
||||
$(INSTALL_PROGRAM) autoupdate $(bindir)/autoupdate
|
||||
$(INSTALL_PROGRAM) ifnames $(bindir)/ifnames
|
||||
$(INSTALL_DATA) $(srcdir)/acgeneral.m4 $(acdatadir)/acgeneral.m4
|
||||
$(INSTALL_DATA) $(srcdir)/acoldnames.m4 $(acdatadir)/acoldnames.m4
|
||||
$(INSTALL_DATA) $(srcdir)/acspecific.m4 $(acdatadir)/acspecific.m4
|
||||
$(INSTALL_DATA) $(srcdir)/acconfig.h $(acdatadir)/acconfig.h
|
||||
-if test -f autoscan; then \
|
||||
@ -154,16 +162,17 @@ install-info: info installdirs
|
||||
|
||||
uninstall:
|
||||
rm -f $(bindir)/autoconf $(bindir)/autoheader $(bindir)/autoscan
|
||||
rm -f $(bindir)/autoreconf $(bindir)/shindent $(bindir)/ifnames
|
||||
rm -f $(bindir)/autoreconf $(bindir)/autoupdate
|
||||
rm -f $(bindir)/shindent $(bindir)/ifnames
|
||||
rm -fr $(acdatadir)
|
||||
cd $(infodir); rm -f autoconf.info*
|
||||
if test -f standards.info || test -f $(srcdir)/standards.info; \
|
||||
then cd $(infodir); rm -f standards.info*; fi
|
||||
|
||||
configure: configure.in acgeneral.m4 acspecific.m4
|
||||
configure: configure.in acgeneral.m4 acspecific.m4 acoldnames.m4
|
||||
cd $(srcdir); \
|
||||
rm -f $@ $@.tmp; \
|
||||
$(M4) acgeneral.m4 acspecific.m4 configure.in > $@.tmp && \
|
||||
$(M4) acgeneral.m4 acspecific.m4 acoldnames.m4 configure.in > $@.tmp && \
|
||||
mv $@.tmp $@ && \
|
||||
chmod +x $@
|
||||
Makefile: Makefile.in config.status
|
||||
@ -178,7 +187,8 @@ clean mostlyclean distclean realclean::
|
||||
done
|
||||
|
||||
clean::
|
||||
rm -f autoconf autoheader autoscan autoreconf shindent ifnames *.tmp
|
||||
rm -f autoconf autoheader autoscan autoreconf autoupdate
|
||||
rm -f shindent ifnames *.tmp
|
||||
rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
|
||||
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs *.ma *.mas
|
||||
|
||||
|
7
NEWS
7
NEWS
@ -15,13 +15,13 @@ Major changes in release 2.0:
|
||||
support deciding unguessable features based on the host and target types.
|
||||
* AC_CONFIG_SUBDIRS to recursively configure a source tree.
|
||||
* AC_CHECK_TYPE, which checks whether sys/types.h defines a given type.
|
||||
* AC_TEST_LINK, which obsoletes AC_COMPILE_CHECK.
|
||||
* AC_TEST_RUN, which obsoletes AC_TEST_PROGRAM.
|
||||
* AC_TRY_LINK, which obsoletes AC_COMPILE_CHECK.
|
||||
* AC_PREFIX_PROGRAM, which obsoletes AC_PREFIX.
|
||||
* AC_ARG_ENABLE and AC_ARG_WITH, which obsolete AC_ENABLE and AC_WITH.
|
||||
* AC_SUBST_FILE, to insert one file into another.
|
||||
|
||||
** Changed macros:
|
||||
* Many macros renamed, but old names are accepted for backward compatibility.
|
||||
* AC_OUTPUT adds the "automatically generated" comment after "#!" lines,
|
||||
not before them.
|
||||
* AC_OUTPUT does not replace "prefix" and "exec_prefix" in generated
|
||||
@ -30,6 +30,8 @@ Major changes in release 2.0:
|
||||
override the file name "config.status".
|
||||
* AC_PROG_INSTALL looks for install.sh in the directory specified by
|
||||
AC_CONFIG_AUXDIR, or srcdir or srcdir/.. or srcdir/../.. by default.
|
||||
* AC_HEADER_DIRENT (formerly AC_DIR_HEADER) defines standard macro
|
||||
names as well as the old ones, e.g. HAVE_DIRENT_H as well as DIRENT.
|
||||
|
||||
** New utilities:
|
||||
* autoscan to generate a preliminary configure.in for a package by
|
||||
@ -37,6 +39,7 @@ Major changes in release 2.0:
|
||||
programs, and header files.
|
||||
* autoreconf to recursively remake configure and configuration header
|
||||
files in a source tree.
|
||||
* autoupdate to update a configure.in to use the new macro names.
|
||||
* shindent to produce consistent indentation in shell scripts, such as
|
||||
configure.
|
||||
* ifnames to list the symbols used in #if and #ifdef directives in a
|
||||
|
401
acgeneral.m4
401
acgeneral.m4
File diff suppressed because it is too large
Load Diff
555
acspecific.m4
555
acspecific.m4
File diff suppressed because it is too large
Load Diff
17
autoconf.in
17
autoconf.in
@ -21,8 +21,8 @@
|
||||
# the given template file.
|
||||
|
||||
usage="\
|
||||
Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
|
||||
[-v] [--version] [template-file]"
|
||||
Usage: autoconf [-hv] [--help] [-m dir] [--macrodir=dir]
|
||||
[--version] [template-file]"
|
||||
|
||||
# NLS nuisances.
|
||||
# Only set `LANG' and `LC_ALL' to "C" if already set.
|
||||
@ -40,8 +40,8 @@ case "${M4}" in
|
||||
esac
|
||||
|
||||
tmpout=/tmp/acout.$$
|
||||
|
||||
print_version=
|
||||
|
||||
while test $# -gt 0 ; do
|
||||
case "${1}" in
|
||||
-h | --help | --h* )
|
||||
@ -88,13 +88,14 @@ if test -z "$print_version"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
MACROFILES="${AC_MACRODIR}/acgeneral.m4 ${AC_MACRODIR}/acspecific.m4"
|
||||
test -r ${AC_MACRODIR}/aclocal.m4 \
|
||||
&& MACROFILES="${MACROFILES} ${AC_MACRODIR}/aclocal.m4"
|
||||
MACROFILES="${AC_MACRODIR}/acgeneral.m4 ${AC_MACRODIR}/acspecific.m4 \
|
||||
${AC_MACRODIR}/acoldnames.m4"
|
||||
test -r ${AC_MACRODIR}/aclocal.m4 &&
|
||||
MACROFILES="${MACROFILES} ${AC_MACRODIR}/aclocal.m4"
|
||||
test -r aclocal.m4 && MACROFILES="${MACROFILES} aclocal.m4"
|
||||
MACROFILES="${print_version} ${MACROFILES}"
|
||||
MACROFILES="${print_version} ${MACROFILES} ${infile}"
|
||||
|
||||
$M4 $MACROFILES $infile > $tmpout || { st=$?; rm -f $tmpin $tmpout; exit $st; }
|
||||
$M4 $MACROFILES > $tmpout || { st=$?; rm -f $tmpin $tmpout; exit $st; }
|
||||
|
||||
if test -n "$print_version"; then
|
||||
cat $tmpout
|
||||
|
17
autoconf.sh
17
autoconf.sh
@ -21,8 +21,8 @@
|
||||
# the given template file.
|
||||
|
||||
usage="\
|
||||
Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
|
||||
[-v] [--version] [template-file]"
|
||||
Usage: autoconf [-hv] [--help] [-m dir] [--macrodir=dir]
|
||||
[--version] [template-file]"
|
||||
|
||||
# NLS nuisances.
|
||||
# Only set `LANG' and `LC_ALL' to "C" if already set.
|
||||
@ -40,8 +40,8 @@ case "${M4}" in
|
||||
esac
|
||||
|
||||
tmpout=/tmp/acout.$$
|
||||
|
||||
print_version=
|
||||
|
||||
while test $# -gt 0 ; do
|
||||
case "${1}" in
|
||||
-h | --help | --h* )
|
||||
@ -88,13 +88,14 @@ if test -z "$print_version"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
MACROFILES="${AC_MACRODIR}/acgeneral.m4 ${AC_MACRODIR}/acspecific.m4"
|
||||
test -r ${AC_MACRODIR}/aclocal.m4 \
|
||||
&& MACROFILES="${MACROFILES} ${AC_MACRODIR}/aclocal.m4"
|
||||
MACROFILES="${AC_MACRODIR}/acgeneral.m4 ${AC_MACRODIR}/acspecific.m4 \
|
||||
${AC_MACRODIR}/acoldnames.m4"
|
||||
test -r ${AC_MACRODIR}/aclocal.m4 &&
|
||||
MACROFILES="${MACROFILES} ${AC_MACRODIR}/aclocal.m4"
|
||||
test -r aclocal.m4 && MACROFILES="${MACROFILES} aclocal.m4"
|
||||
MACROFILES="${print_version} ${MACROFILES}"
|
||||
MACROFILES="${print_version} ${MACROFILES} ${infile}"
|
||||
|
||||
$M4 $MACROFILES $infile > $tmpout || { st=$?; rm -f $tmpin $tmpout; exit $st; }
|
||||
$M4 $MACROFILES > $tmpout || { st=$?; rm -f $tmpin $tmpout; exit $st; }
|
||||
|
||||
if test -n "$print_version"; then
|
||||
cat $tmpout
|
||||
|
754
autoconf.texi
754
autoconf.texi
File diff suppressed because it is too large
Load Diff
@ -21,8 +21,8 @@
|
||||
# the given template file.
|
||||
|
||||
usage="\
|
||||
Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
|
||||
[-v] [--version] [template-file]"
|
||||
Usage: autoconf [-hv] [--help] [-m dir] [--macrodir=dir]
|
||||
[--version] [template-file]"
|
||||
|
||||
# NLS nuisances.
|
||||
# Only set `LANG' and `LC_ALL' to "C" if already set.
|
||||
@ -40,8 +40,8 @@ case "${M4}" in
|
||||
esac
|
||||
|
||||
tmpout=/tmp/acout.$$
|
||||
|
||||
print_version=
|
||||
|
||||
while test $# -gt 0 ; do
|
||||
case "${1}" in
|
||||
-h | --help | --h* )
|
||||
@ -88,13 +88,14 @@ if test -z "$print_version"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
MACROFILES="${AC_MACRODIR}/acgeneral.m4 ${AC_MACRODIR}/acspecific.m4"
|
||||
test -r ${AC_MACRODIR}/aclocal.m4 \
|
||||
&& MACROFILES="${MACROFILES} ${AC_MACRODIR}/aclocal.m4"
|
||||
MACROFILES="${AC_MACRODIR}/acgeneral.m4 ${AC_MACRODIR}/acspecific.m4 \
|
||||
${AC_MACRODIR}/acoldnames.m4"
|
||||
test -r ${AC_MACRODIR}/aclocal.m4 &&
|
||||
MACROFILES="${MACROFILES} ${AC_MACRODIR}/aclocal.m4"
|
||||
test -r aclocal.m4 && MACROFILES="${MACROFILES} aclocal.m4"
|
||||
MACROFILES="${print_version} ${MACROFILES}"
|
||||
MACROFILES="${print_version} ${MACROFILES} ${infile}"
|
||||
|
||||
$M4 $MACROFILES $infile > $tmpout || { st=$?; rm -f $tmpin $tmpout; exit $st; }
|
||||
$M4 $MACROFILES > $tmpout || { st=$?; rm -f $tmpin $tmpout; exit $st; }
|
||||
|
||||
if test -n "$print_version"; then
|
||||
cat $tmpout
|
||||
|
@ -27,7 +27,7 @@ MAKEINFO = makeinfo
|
||||
TEXI2DVI = texi2dvi
|
||||
M4 = @M4@
|
||||
|
||||
PROGS = autoconf autoheader autoreconf ifnames @PROGS@
|
||||
PROGS = autoconf autoheader autoreconf autoupdate ifnames @PROGS@
|
||||
# Path of the perl interpreter.
|
||||
PERL = @PERL@
|
||||
|
||||
@ -54,9 +54,10 @@ DISTDEP = info Makefile
|
||||
# Files to distribute.
|
||||
DISTFILES = COPYING ChangeLog INSTALL Makefile.in NEWS README \
|
||||
acconfig.h acfunctions acgeneral.m4 acheaders acidentifiers \
|
||||
acmakevars acprograms acspecific.m4 autoconf.info* \
|
||||
acmakevars acoldnames.m4 acprograms acspecific.m4 autoconf.info* \
|
||||
autoconf.sh autoconf.texi install.texi \
|
||||
autoheader.sh autoreconf.sh autoscan.pl shindent.sh ifnames.sh \
|
||||
autoheader.sh autoreconf.sh autoscan.pl autoupdate.sh \
|
||||
shindent.sh ifnames.sh \
|
||||
config.guess config.sub configure configure.in \
|
||||
install.sh mkinstalldirs texinfo.tex \
|
||||
testsuite/Makefile.in testsuite/config/*.exp \
|
||||
@ -80,6 +81,10 @@ autoreconf: autoreconf.sh
|
||||
rm -f $@ $@.tmp
|
||||
$(editsh) $(srcdir)/autoreconf.sh > $@.tmp && mv $@.tmp $@ && chmod +x $@
|
||||
|
||||
autoupdate: autoupdate.sh
|
||||
rm -f $@ $@.tmp
|
||||
$(editsh) $(srcdir)/autoupdate.sh > $@.tmp && mv $@.tmp $@ && chmod +x $@
|
||||
|
||||
shindent: shindent.sh
|
||||
rm -f $@ $@.tmp
|
||||
$(editsh) $(srcdir)/shindent.sh > $@.tmp && mv $@.tmp $@ && chmod +x $@
|
||||
@ -122,12 +127,15 @@ installdirs:
|
||||
$(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
|
||||
|
||||
# References to install-info have been removed until it's released.
|
||||
install: all acgeneral.m4 acspecific.m4 acconfig.h installdirs install-info
|
||||
install: all acgeneral.m4 acoldnames.m4 acspecific.m4 acconfig.h \
|
||||
installdirs install-info
|
||||
$(INSTALL_PROGRAM) autoconf $(bindir)/autoconf
|
||||
$(INSTALL_PROGRAM) autoheader $(bindir)/autoheader
|
||||
$(INSTALL_PROGRAM) autoreconf $(bindir)/autoreconf
|
||||
$(INSTALL_PROGRAM) autoupdate $(bindir)/autoupdate
|
||||
$(INSTALL_PROGRAM) ifnames $(bindir)/ifnames
|
||||
$(INSTALL_DATA) $(srcdir)/acgeneral.m4 $(acdatadir)/acgeneral.m4
|
||||
$(INSTALL_DATA) $(srcdir)/acoldnames.m4 $(acdatadir)/acoldnames.m4
|
||||
$(INSTALL_DATA) $(srcdir)/acspecific.m4 $(acdatadir)/acspecific.m4
|
||||
$(INSTALL_DATA) $(srcdir)/acconfig.h $(acdatadir)/acconfig.h
|
||||
-if test -f autoscan; then \
|
||||
@ -154,16 +162,17 @@ install-info: info installdirs
|
||||
|
||||
uninstall:
|
||||
rm -f $(bindir)/autoconf $(bindir)/autoheader $(bindir)/autoscan
|
||||
rm -f $(bindir)/autoreconf $(bindir)/shindent $(bindir)/ifnames
|
||||
rm -f $(bindir)/autoreconf $(bindir)/autoupdate
|
||||
rm -f $(bindir)/shindent $(bindir)/ifnames
|
||||
rm -fr $(acdatadir)
|
||||
cd $(infodir); rm -f autoconf.info*
|
||||
if test -f standards.info || test -f $(srcdir)/standards.info; \
|
||||
then cd $(infodir); rm -f standards.info*; fi
|
||||
|
||||
configure: configure.in acgeneral.m4 acspecific.m4
|
||||
configure: configure.in acgeneral.m4 acspecific.m4 acoldnames.m4
|
||||
cd $(srcdir); \
|
||||
rm -f $@ $@.tmp; \
|
||||
$(M4) acgeneral.m4 acspecific.m4 configure.in > $@.tmp && \
|
||||
$(M4) acgeneral.m4 acspecific.m4 acoldnames.m4 configure.in > $@.tmp && \
|
||||
mv $@.tmp $@ && \
|
||||
chmod +x $@
|
||||
Makefile: Makefile.in config.status
|
||||
@ -178,7 +187,8 @@ clean mostlyclean distclean realclean::
|
||||
done
|
||||
|
||||
clean::
|
||||
rm -f autoconf autoheader autoscan autoreconf shindent ifnames *.tmp
|
||||
rm -f autoconf autoheader autoscan autoreconf autoupdate
|
||||
rm -f shindent ifnames *.tmp
|
||||
rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
|
||||
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs *.ma *.mas
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user