mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-17 14:01:27 +08:00
* acgeneral.m4: Adjust copyright notice.
* acspecific.m4: Likewise. * acoldnames.m4: Likewise. * acversion.m4.in: Likewise. * autoconf.sh: Likewise. * autoheader.sh: Likewise. * autoreconf.sh: Likewise. * autoscan.pl: Likewise. * autoupdate.sh: Likewise. * ifnames.sh: Likewise.
This commit is contained in:
parent
f31906a5b7
commit
1e3cdfe0a3
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
2000-10-16 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* acgeneral.m4: Adjust copyright notice.
|
||||
* acspecific.m4: Likewise.
|
||||
* acoldnames.m4: Likewise.
|
||||
* acversion.m4.in: Likewise.
|
||||
* autoconf.sh: Likewise.
|
||||
* autoheader.sh: Likewise.
|
||||
* autoreconf.sh: Likewise.
|
||||
* autoscan.pl: Likewise.
|
||||
* autoupdate.sh: Likewise.
|
||||
* ifnames.sh: Likewise.
|
||||
|
||||
2000-10-16 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* tests/aclocal.m4: Don't considers variables @, '*', '?' and
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Checking for functions.
|
||||
# Copyright (C) 2000
|
||||
# Copyright 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Parameterized macros.
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@ -2082,7 +2082,7 @@ ifset([AC_PACKAGE_BUGREPORT],
|
||||
# ------------------
|
||||
define([_AC_INIT_COPYRIGHT],
|
||||
[AC_COPYRIGHT(
|
||||
[Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
[Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This configure script is free software; the Free Software Foundation
|
||||
gives unlimited permission to copy, distribute and modify it.])dnl
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Programming languages support.
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Copyright 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Support old macros, and provide automated updates.
|
||||
# Copyright (C) 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Macros that test for specific features.
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -1,5 +1,5 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Version of Autoconf.
|
||||
# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
define([AC_ACVERSION], [@VERSION@])
|
||||
|
@ -1,6 +1,7 @@
|
||||
#! @SHELL@
|
||||
# autoconf -- create `configure' using m4 macros
|
||||
# Copyright (C) 1992, 93, 94, 96, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1992, 1993, 1994, 1996, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -63,7 +64,8 @@ version="\
|
||||
autoconf (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1992, 93, 94, 96, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1993, 1994, 1996, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
include(libm4.m4)# -*- Autoconf -*-
|
||||
# This file is part of Autoconf.
|
||||
# Driver that loads the Autoconf macro files.
|
||||
# Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999 Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,6 +1,7 @@
|
||||
#! @SHELL@
|
||||
# autoconf -- create `configure' using m4 macros
|
||||
# Copyright (C) 1992, 93, 94, 96, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1992, 1993, 1994, 1996, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -63,7 +64,8 @@ version="\
|
||||
autoconf (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1992, 93, 94, 96, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1993, 1994, 1996, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#! @SHELL@
|
||||
# autoheader -- create `config.h.in' from `configure.in'
|
||||
# Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1992, 1993, 1994, 1996, 1998, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -53,7 +54,8 @@ version="\
|
||||
autoheader (GNU @PACKAGE@) @VERSION@
|
||||
Written by Roland McGrath.
|
||||
|
||||
Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1993, 1994, 1996, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#! @SHELL@
|
||||
# autoheader -- create `config.h.in' from `configure.in'
|
||||
# Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1992, 1993, 1994, 1996, 1998, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -53,7 +54,8 @@ version="\
|
||||
autoheader (GNU @PACKAGE@) @VERSION@
|
||||
Written by Roland McGrath.
|
||||
|
||||
Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1993, 1994, 1996, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# autoreconf - remake all Autoconf configure scripts in a directory tree
|
||||
# Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -68,7 +68,7 @@ version="\
|
||||
autoreconf (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# autoreconf - remake all Autoconf configure scripts in a directory tree
|
||||
# Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -68,7 +68,7 @@ version="\
|
||||
autoreconf (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @PERL@ -w
|
||||
# autoscan - Create configure.scan (a preliminary configure.in) for a package.
|
||||
# Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -67,7 +67,7 @@ sub print_version
|
||||
print "autoscan (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";
|
||||
exit 0;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @PERL@ -w
|
||||
# autoscan - Create configure.scan (a preliminary configure.in) for a package.
|
||||
# Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -67,7 +67,7 @@ sub print_version
|
||||
print "autoscan (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";
|
||||
exit 0;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#! @SHELL@
|
||||
# autoconf -- create `configure' using m4 macros
|
||||
# Copyright (C) 1992, 93, 94, 96, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1992, 1993, 1994, 1996, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -63,7 +64,8 @@ version="\
|
||||
autoconf (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1992, 93, 94, 96, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1993, 1994, 1996, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#! @SHELL@
|
||||
# autoheader -- create `config.h.in' from `configure.in'
|
||||
# Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1992, 1993, 1994, 1996, 1998, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -53,7 +54,8 @@ version="\
|
||||
autoheader (GNU @PACKAGE@) @VERSION@
|
||||
Written by Roland McGrath.
|
||||
|
||||
Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1993, 1994, 1996, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# autoreconf - remake all Autoconf configure scripts in a directory tree
|
||||
# Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -68,7 +68,7 @@ version="\
|
||||
autoreconf (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @PERL@ -w
|
||||
# autoscan - Create configure.scan (a preliminary configure.in) for a package.
|
||||
# Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -67,7 +67,7 @@ sub print_version
|
||||
print "autoscan (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";
|
||||
exit 0;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# ifnames - print the identifiers used in C preprocessor conditionals
|
||||
# Copyright (C) 1994, 95, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1995, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -44,7 +44,7 @@ version="\
|
||||
ifnames (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie and Paul Eggert.
|
||||
|
||||
Copyright (C) 1994, 95, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1994, 1995, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
@ -73,16 +73,20 @@ done
|
||||
|
||||
$AWK '
|
||||
# Record that sym was found in FILENAME.
|
||||
function file_sym(sym, i, fs) {
|
||||
if (sym ~ /^[A-Za-z_]/) {
|
||||
if (!found[sym,FILENAME]) {
|
||||
function file_sym(sym, i, fs)
|
||||
{
|
||||
if (sym ~ /^[A-Za-z_]/)
|
||||
{
|
||||
if (!found[sym,FILENAME])
|
||||
{
|
||||
found[sym,FILENAME] = 1
|
||||
|
||||
# Insert FILENAME into files[sym], keeping the list sorted.
|
||||
i = 1
|
||||
fs = files[sym]
|
||||
while (match(substr(fs, i), /^ [^ ]*/) \
|
||||
&& substr(fs, i + 1, RLENGTH - 1) < FILENAME) {
|
||||
&& substr(fs, i + 1, RLENGTH - 1) < FILENAME)
|
||||
{
|
||||
i += RLENGTH
|
||||
}
|
||||
files[sym] = substr(fs, 1, i - 1) " " FILENAME substr(fs, i)
|
||||
@ -91,7 +95,8 @@ $AWK '
|
||||
}
|
||||
|
||||
{
|
||||
while (sub(/\\$/, "", $0) > 0) {
|
||||
while (sub(/\\$/, "", $0) > 0)
|
||||
{
|
||||
if ((getline tmp) > 0)
|
||||
$0 = $0 tmp
|
||||
else
|
||||
@ -99,25 +104,32 @@ $AWK '
|
||||
}
|
||||
}
|
||||
|
||||
/^[\t ]*#/ {
|
||||
if (sub(/^[\t ]*#[\t ]*ifn?def[\t ]+/, "", $0)) {
|
||||
/^[\t ]*#/
|
||||
{
|
||||
if (sub(/^[\t ]*#[\t ]*ifn?def[\t ]+/, "", $0))
|
||||
{
|
||||
sub(/[^A-Za-z_0-9].*/, "", $0)
|
||||
file_sym($0)
|
||||
}
|
||||
if (sub(/^[\t ]*#[\t ]*(el)?if[\t ]+/, "", $0)) {
|
||||
if (sub(/^[\t ]*#[\t ]*(el)?if[\t ]+/, "", $0))
|
||||
{
|
||||
# Remove comments. Not perfect, but close enough.
|
||||
gsub(/\/\*[^\/]*(\*\/)?/, "", $0)
|
||||
|
||||
for (i = split($0, field, /[^A-Za-z_0-9]+/); 1 <= i; i--) {
|
||||
if (field[i] != "defined") {
|
||||
for (i = split($0, field, /[^A-Za-z_0-9]+/); 1 <= i; i--)
|
||||
{
|
||||
if (field[i] != "defined")
|
||||
{
|
||||
file_sym(field[i])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
END {
|
||||
for (sym in files) {
|
||||
END
|
||||
{
|
||||
for (sym in files)
|
||||
{
|
||||
print sym files[sym]
|
||||
}
|
||||
}
|
||||
|
4
configure
vendored
4
configure
vendored
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Report bugs to <bug-autoconf@gnu.org>.
|
||||
#
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
# This configure script is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy, distribute and modify it.
|
||||
@ -576,7 +576,7 @@ if $ac_init_version; then
|
||||
cat <<\EOF
|
||||
configure (Autoconf 2.49b) 2.49b
|
||||
|
||||
Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This configure script is free software; the Free Software Foundation
|
||||
gives unlimited permission to copy, distribute and modify it.
|
||||
|
40
ifnames.in
40
ifnames.in
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# ifnames - print the identifiers used in C preprocessor conditionals
|
||||
# Copyright (C) 1994, 95, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1995, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -44,7 +44,7 @@ version="\
|
||||
ifnames (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie and Paul Eggert.
|
||||
|
||||
Copyright (C) 1994, 95, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1994, 1995, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
@ -73,16 +73,20 @@ done
|
||||
|
||||
$AWK '
|
||||
# Record that sym was found in FILENAME.
|
||||
function file_sym(sym, i, fs) {
|
||||
if (sym ~ /^[A-Za-z_]/) {
|
||||
if (!found[sym,FILENAME]) {
|
||||
function file_sym(sym, i, fs)
|
||||
{
|
||||
if (sym ~ /^[A-Za-z_]/)
|
||||
{
|
||||
if (!found[sym,FILENAME])
|
||||
{
|
||||
found[sym,FILENAME] = 1
|
||||
|
||||
# Insert FILENAME into files[sym], keeping the list sorted.
|
||||
i = 1
|
||||
fs = files[sym]
|
||||
while (match(substr(fs, i), /^ [^ ]*/) \
|
||||
&& substr(fs, i + 1, RLENGTH - 1) < FILENAME) {
|
||||
&& substr(fs, i + 1, RLENGTH - 1) < FILENAME)
|
||||
{
|
||||
i += RLENGTH
|
||||
}
|
||||
files[sym] = substr(fs, 1, i - 1) " " FILENAME substr(fs, i)
|
||||
@ -91,7 +95,8 @@ $AWK '
|
||||
}
|
||||
|
||||
{
|
||||
while (sub(/\\$/, "", $0) > 0) {
|
||||
while (sub(/\\$/, "", $0) > 0)
|
||||
{
|
||||
if ((getline tmp) > 0)
|
||||
$0 = $0 tmp
|
||||
else
|
||||
@ -99,25 +104,32 @@ $AWK '
|
||||
}
|
||||
}
|
||||
|
||||
/^[\t ]*#/ {
|
||||
if (sub(/^[\t ]*#[\t ]*ifn?def[\t ]+/, "", $0)) {
|
||||
/^[\t ]*#/
|
||||
{
|
||||
if (sub(/^[\t ]*#[\t ]*ifn?def[\t ]+/, "", $0))
|
||||
{
|
||||
sub(/[^A-Za-z_0-9].*/, "", $0)
|
||||
file_sym($0)
|
||||
}
|
||||
if (sub(/^[\t ]*#[\t ]*(el)?if[\t ]+/, "", $0)) {
|
||||
if (sub(/^[\t ]*#[\t ]*(el)?if[\t ]+/, "", $0))
|
||||
{
|
||||
# Remove comments. Not perfect, but close enough.
|
||||
gsub(/\/\*[^\/]*(\*\/)?/, "", $0)
|
||||
|
||||
for (i = split($0, field, /[^A-Za-z_0-9]+/); 1 <= i; i--) {
|
||||
if (field[i] != "defined") {
|
||||
for (i = split($0, field, /[^A-Za-z_0-9]+/); 1 <= i; i--)
|
||||
{
|
||||
if (field[i] != "defined")
|
||||
{
|
||||
file_sym(field[i])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
END {
|
||||
for (sym in files) {
|
||||
END
|
||||
{
|
||||
for (sym in files)
|
||||
{
|
||||
print sym files[sym]
|
||||
}
|
||||
}
|
||||
|
40
ifnames.sh
40
ifnames.sh
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# ifnames - print the identifiers used in C preprocessor conditionals
|
||||
# Copyright (C) 1994, 95, 99, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1995, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -44,7 +44,7 @@ version="\
|
||||
ifnames (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie and Paul Eggert.
|
||||
|
||||
Copyright (C) 1994, 95, 99, 2000 Free Software Foundation, Inc.
|
||||
Copyright 1994, 1995, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
|
||||
@ -73,16 +73,20 @@ done
|
||||
|
||||
$AWK '
|
||||
# Record that sym was found in FILENAME.
|
||||
function file_sym(sym, i, fs) {
|
||||
if (sym ~ /^[A-Za-z_]/) {
|
||||
if (!found[sym,FILENAME]) {
|
||||
function file_sym(sym, i, fs)
|
||||
{
|
||||
if (sym ~ /^[A-Za-z_]/)
|
||||
{
|
||||
if (!found[sym,FILENAME])
|
||||
{
|
||||
found[sym,FILENAME] = 1
|
||||
|
||||
# Insert FILENAME into files[sym], keeping the list sorted.
|
||||
i = 1
|
||||
fs = files[sym]
|
||||
while (match(substr(fs, i), /^ [^ ]*/) \
|
||||
&& substr(fs, i + 1, RLENGTH - 1) < FILENAME) {
|
||||
&& substr(fs, i + 1, RLENGTH - 1) < FILENAME)
|
||||
{
|
||||
i += RLENGTH
|
||||
}
|
||||
files[sym] = substr(fs, 1, i - 1) " " FILENAME substr(fs, i)
|
||||
@ -91,7 +95,8 @@ $AWK '
|
||||
}
|
||||
|
||||
{
|
||||
while (sub(/\\$/, "", $0) > 0) {
|
||||
while (sub(/\\$/, "", $0) > 0)
|
||||
{
|
||||
if ((getline tmp) > 0)
|
||||
$0 = $0 tmp
|
||||
else
|
||||
@ -99,25 +104,32 @@ $AWK '
|
||||
}
|
||||
}
|
||||
|
||||
/^[\t ]*#/ {
|
||||
if (sub(/^[\t ]*#[\t ]*ifn?def[\t ]+/, "", $0)) {
|
||||
/^[\t ]*#/
|
||||
{
|
||||
if (sub(/^[\t ]*#[\t ]*ifn?def[\t ]+/, "", $0))
|
||||
{
|
||||
sub(/[^A-Za-z_0-9].*/, "", $0)
|
||||
file_sym($0)
|
||||
}
|
||||
if (sub(/^[\t ]*#[\t ]*(el)?if[\t ]+/, "", $0)) {
|
||||
if (sub(/^[\t ]*#[\t ]*(el)?if[\t ]+/, "", $0))
|
||||
{
|
||||
# Remove comments. Not perfect, but close enough.
|
||||
gsub(/\/\*[^\/]*(\*\/)?/, "", $0)
|
||||
|
||||
for (i = split($0, field, /[^A-Za-z_0-9]+/); 1 <= i; i--) {
|
||||
if (field[i] != "defined") {
|
||||
for (i = split($0, field, /[^A-Za-z_0-9]+/); 1 <= i; i--)
|
||||
{
|
||||
if (field[i] != "defined")
|
||||
{
|
||||
file_sym(field[i])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
END {
|
||||
for (sym in files) {
|
||||
END
|
||||
{
|
||||
for (sym in files)
|
||||
{
|
||||
print sym files[sym]
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
include(libm4.m4)# -*- Autoconf -*-
|
||||
# This file is part of Autoconf.
|
||||
# Driver that loads the Autoconf macro files.
|
||||
# Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999 Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Programming languages support.
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Copyright 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Programming languages support.
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Copyright 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Checking for functions.
|
||||
# Copyright (C) 2000
|
||||
# Copyright 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Parameterized macros.
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@ -2082,7 +2082,7 @@ ifset([AC_PACKAGE_BUGREPORT],
|
||||
# ------------------
|
||||
define([_AC_INIT_COPYRIGHT],
|
||||
[AC_COPYRIGHT(
|
||||
[Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
[Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This configure script is free software; the Free Software Foundation
|
||||
gives unlimited permission to copy, distribute and modify it.])dnl
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Programming languages support.
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Copyright 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Support old macros, and provide automated updates.
|
||||
# Copyright (C) 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Macros that test for specific features.
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
|
||||
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
2
libm4.m4
2
libm4.m4
@ -2,7 +2,7 @@ divert(-1) -*- Autoconf -*-
|
||||
# This file is part of Autoconf.
|
||||
# Base m4 layer.
|
||||
# Requires GNU m4.
|
||||
# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
||||
# Copyright 1999, 2000 Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
|
||||
.TH AUTOCONF "1" "September 2000" "GNU autoconf 2.49b" FSF
|
||||
.TH AUTOCONF "1" "October 2000" "GNU autoconf 2.49b" FSF
|
||||
.SH NAME
|
||||
autoconf \- Generate configuration scripts
|
||||
.SH SYNOPSIS
|
||||
@ -69,13 +69,13 @@ also trace Autoconf's initialization process
|
||||
In tracing mode, no configuration script is created.
|
||||
.SH AUTHOR
|
||||
Written by David J. MacKenzie.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1992, 93, 94, 96, 99, 2000 Free Software Foundation, Inc.
|
||||
.br
|
||||
.PP
|
||||
Copyright 1992, 1993, 1994, 1996, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH "SEE ALSO"
|
||||
.BR autoconf (1),
|
||||
.BR autoreconf (1),
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
|
||||
.TH AUTOHEADER "1" "September 2000" "GNU autoconf 2.49b" FSF
|
||||
.TH AUTOHEADER "1" "October 2000" "GNU autoconf 2.49b" FSF
|
||||
.SH NAME
|
||||
autoheader \- Create a template header for configure
|
||||
.SH SYNOPSIS
|
||||
@ -43,13 +43,13 @@ Autoconf's macro files location (rarely needed)
|
||||
location of `aclocal.m4' and `acconfig.h'
|
||||
.SH AUTHOR
|
||||
Written by Roland McGrath.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
|
||||
.br
|
||||
.PP
|
||||
Copyright 1992, 1993, 1994, 1996, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH "SEE ALSO"
|
||||
.BR autoconf (1),
|
||||
.BR autoreconf (1),
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
|
||||
.TH AUTORECONF "1" "September 2000" "GNU autoconf 2.49b" FSF
|
||||
.TH AUTORECONF "1" "October 2000" "GNU autoconf 2.49b" FSF
|
||||
.SH NAME
|
||||
autoreconf \- Update generated configuration files
|
||||
.SH SYNOPSIS
|
||||
@ -78,13 +78,12 @@ The environment variables AUTOCONF, AUTOHEADER, AUTOMAKE, and ACLOCAL
|
||||
are honored.
|
||||
.SH AUTHOR
|
||||
Written by David J. MacKenzie.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
.br
|
||||
.PP
|
||||
Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH "SEE ALSO"
|
||||
.BR autoconf (1),
|
||||
.BR autoreconf (1),
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
|
||||
.TH AUTOSCAN "1" "September 2000" "GNU autoconf 2.49b" FSF
|
||||
.TH AUTOSCAN "1" "October 2000" "GNU autoconf 2.49b" FSF
|
||||
.SH NAME
|
||||
autoscan \- Generate a preliminary configure.in
|
||||
.SH SYNOPSIS
|
||||
@ -28,13 +28,12 @@ Autoconf's files location (rarely needed)
|
||||
location of `aclocal.m4' and `acconfig.h'
|
||||
.SH AUTHOR
|
||||
Written by David J. MacKenzie.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
.br
|
||||
.PP
|
||||
Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH "SEE ALSO"
|
||||
.BR autoconf (1),
|
||||
.BR autoreconf (1),
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
|
||||
.TH AUTOUPDATE "1" "September 2000" "GNU autoconf 2.49b" FSF
|
||||
.TH AUTOUPDATE "1" "October 2000" "GNU autoconf 2.49b" FSF
|
||||
.SH NAME
|
||||
autoupdate \- Update a configure.in to a newer Autoconf
|
||||
.SH SYNOPSIS
|
||||
@ -38,13 +38,12 @@ SED
|
||||
GNU sed is required.
|
||||
.SH AUTHOR
|
||||
Written by David J. MacKenzie.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1994, 99, 2000 Free Software Foundation, Inc.
|
||||
.br
|
||||
.PP
|
||||
Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH "SEE ALSO"
|
||||
.BR autoconf (1),
|
||||
.BR autoreconf (1),
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
|
||||
.TH IFNAMES "1" "September 2000" "GNU autoconf 2.49b" FSF
|
||||
.TH IFNAMES "1" "October 2000" "GNU autoconf 2.49b" FSF
|
||||
.SH NAME
|
||||
ifnames \- Extract CPP conditionals from a set of files
|
||||
.SH SYNOPSIS
|
||||
@ -22,13 +22,12 @@ print version number, then exit
|
||||
verbosely report processing
|
||||
.SH AUTHOR
|
||||
Written by David J. MacKenzie and Paul Eggert.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1994, 95, 99, 2000 Free Software Foundation, Inc.
|
||||
.br
|
||||
.PP
|
||||
Copyright 1994, 1995, 1999, 2000 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH "SEE ALSO"
|
||||
.BR autoconf (1),
|
||||
.BR autoreconf (1),
|
||||
|
@ -82,7 +82,7 @@ CLEANFILES = debug-*.sh macro configure configure.in config.status config.cache
|
||||
DISTCLEANFILES = atconfig testsuite
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_CLEAN_FILES = atconfig
|
||||
DIST_COMMON = Makefile.am Makefile.in atconfig.in configure.in
|
||||
DIST_COMMON = Makefile.am Makefile.in atconfig.in
|
||||
|
||||
|
||||
PACKAGE = @PACKAGE@
|
||||
|
Loading…
Reference in New Issue
Block a user