]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* bin/Makefile.am (RELEASE_YEAR): New macro.
authorEric Blake <ebb9@byu.net>
Thu, 4 Jan 2007 16:43:06 +0000 (16:43 +0000)
committerEric Blake <ebb9@byu.net>
Thu, 4 Jan 2007 16:43:06 +0000 (16:43 +0000)
(edit): Use it to supply correct copyright year to scripts.
* bin/autoconf.as (version): Use it.
* bin/autoheader.in ($version): Likewise.
* bin/autom4te.in ($version): Likewise.
* bin/autoreconf.in ($version): Likewise.
* bin/autoscan.in ($version): Likewise.
* bin/autoupdate.in ($version): Likewise.
* bin/ifnames.in ($version): Likewise.

ChangeLog
bin/Makefile.am
bin/Makefile.in
bin/autoconf.as
bin/autoheader.in
bin/autom4te.in
bin/autoreconf.in
bin/autoscan.in
bin/autoupdate.in
bin/ifnames.in
configure

index d52bd76bbb90a3d883affc92b5dd79d4febec15a..b35e40a942ece73ab85e141d21160a087165a55f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2007-01-04  Eric Blake  <ebb9@byu.net>
+
+       * bin/Makefile.am (RELEASE_YEAR): New macro.
+       (edit): Use it to supply correct copyright year to scripts.
+       * bin/autoconf.as (version): Use it.
+       * bin/autoheader.in ($version): Likewise.
+       * bin/autom4te.in ($version): Likewise.
+       * bin/autoreconf.in ($version): Likewise.
+       * bin/autoscan.in ($version): Likewise.
+       * bin/autoupdate.in ($version): Likewise.
+       * bin/ifnames.in ($version): Likewise.
+
 2007-01-02  Paul Eggert  <eggert@cs.ucla.edu>
 
        * doc/autoconf.texi (Integer Overflow): Revised based on today's
index 26d3529970d1ff73f9520b1fe2f0340c1c3dc66c..92d3baedbd094ac76dbaa72cb472fd7a588a0cca 100644 (file)
@@ -1,6 +1,6 @@
 # Make Autoconf commands.
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
 # Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -29,6 +29,9 @@ EXTRA_DIST = autoconf.as autoheader.in autoreconf.in autoupdate.in ifnames.in \
 # Files that should be removed, but which Automake does not know.
 MOSTLYCLEANFILES = $(bin_SCRIPTS) autoconf.in *.tmp
 
+# Get the release year from ../ChangeLog.
+RELEASE_YEAR = \
+  `sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' $(top_srcdir)/ChangeLog`
 
 ## ------------- ##
 ## The scripts.  ##
@@ -46,6 +49,7 @@ edit = sed \
        -e 's|@M4[@]|$(M4)|g' \
        -e 's|@M4_DEBUGFILE[@]|$(M4_DEBUGFILE)|g' \
        -e 's|@AWK[@]|$(AWK)|g' \
+       -e 's|@RELEASE_YEAR[@]|'$(RELEASE_YEAR)'|g' \
        -e 's|@VERSION[@]|$(VERSION)|g' \
        -e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
        -e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g'
index 6401c0eedca1515d6e4d9fb369e415dedcd8bbc4..733ef11bba675a7774c1fd06d58d0dcfe2f7233d 100644 (file)
@@ -16,7 +16,7 @@
 
 # Make Autoconf commands.
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
 # Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -246,6 +246,11 @@ EXTRA_DIST = autoconf.as autoheader.in autoreconf.in autoupdate.in ifnames.in \
 
 # Files that should be removed, but which Automake does not know.
 MOSTLYCLEANFILES = $(bin_SCRIPTS) autoconf.in *.tmp
+
+# Get the release year from ../ChangeLog.
+RELEASE_YEAR = \
+  `sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' $(top_srcdir)/ChangeLog`
+
 edit = sed \
        -e 's|@SHELL[@]|$(SHELL)|g' \
        -e 's|@PERL[@]|$(PERL)|g' \
@@ -258,6 +263,7 @@ edit = sed \
        -e 's|@M4[@]|$(M4)|g' \
        -e 's|@M4_DEBUGFILE[@]|$(M4_DEBUGFILE)|g' \
        -e 's|@AWK[@]|$(AWK)|g' \
+       -e 's|@RELEASE_YEAR[@]|'$(RELEASE_YEAR)'|g' \
        -e 's|@VERSION[@]|$(VERSION)|g' \
        -e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
        -e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g'
index f5c0824584c4ed7c1bf1f7c36f6b34dc7badc7ff..bf04f5fe7b17675e5036d2b4d884f0d55fd0761f 100644 (file)
@@ -2,7 +2,7 @@ AS_INIT[]dnl                                            -*- shell-script -*-
 # autoconf -- create `configure' using m4 macros
 
 # Copyright (C) 1992, 1993, 1994, 1996, 1999, 2000, 2001, 2002, 2003,
-# 2004, 2005, 2006 Free Software Foundation, Inc.
+# 2004, 2005, 2006, 2007 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
@@ -61,7 +61,7 @@ Report bugs to <bug-autoconf@gnu.org>."]
 
 version=["\
 autoconf (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
index 5bd1e2c399b31e9e390b0297eddea08799be4f3b..9fec827703bc232a74767e2f48e8762497337dde 100644 (file)
@@ -8,7 +8,7 @@ eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
 # autoheader -- create `config.h.in' from `configure.ac'
 
 # Copyright (C) 1992, 1993, 1994, 1996, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007 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
@@ -87,7 +87,7 @@ Report bugs to <bug-autoconf\@gnu.org>.
 # $VERSION
 # --------
 $version = "autoheader (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
index 77d7ef7d4c103d8b82e655d6370a6b2db63f1e5c..5c5af9363c479e13032c10c0ab04e60c31148214 100644 (file)
@@ -6,7 +6,8 @@ eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
     if 0;
 
 # autom4te - Wrapper around M4 libraries.
-# Copyright (C) 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007 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
@@ -211,7 +212,7 @@ Report bugs to <bug-autoconf\@gnu.org>.
 # --------
 $version =  <<"EOF";
 autom4te (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
index c063987afcfa9a46f4e41549d5b8daaa531e095c..86d50840a2a40bed4ccd6dce0ae851647a379d10 100644 (file)
@@ -6,7 +6,7 @@ eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
     if 0;
 
 # autoreconf - install the GNU Build System in a directory tree
-# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -97,7 +97,7 @@ Report bugs to <bug-autoconf\@gnu.org>.
 # $VERSION
 # --------
 $version = "autoreconf (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
index 890108c50eda6950a47b34ff4887e271e2e40b99..fd657eabfa8374bcbeddb1e7416b15a82ec672b1 100644 (file)
@@ -3,7 +3,7 @@
 # @configure_input@
 
 # autoscan - Create configure.scan (a preliminary configure.ac) for a package.
-# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 #  Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -123,7 +123,7 @@ Report bugs to <bug-autoconf\@gnu.org>.\n";
 # $version
 # --------
 $version = "autoscan (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
index 5eaa9f886885f644538f1d4bb78a9f73f11868ea..08c5429519da12fafbbbd9ea8ef2692df3515965 100644 (file)
@@ -3,7 +3,7 @@
 # @configure_input@
 
 # autoupdate - modernize an Autoconf file.
-# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,7 @@ Report bugs to <bug-autoconf\@gnu.org>.
 # $VERSION
 # --------
 $version = "autoupdate (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
index 1302337af14be964c097095b067bdbffa7e9df51..3587cf3a35148d2fe147a77abc930d4fa710b096 100644 (file)
@@ -7,7 +7,7 @@ eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
 
 # ifnames - print the identifiers used in C preprocessor conditionals
 
-# Copyright (C) 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2005, 2006
+# Copyright (C) 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -66,7 +66,7 @@ Report bugs to <bug-autoconf\@gnu.org>.
 # $VERSION
 # --------
 $version = "ifnames (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
index 71e3b486aa1763ede7da1f32057a4e91034be52f..815d687d0fa8508306bc2bd863ff288e44cd8438 100755 (executable)
--- a/configure
+++ b/configure
@@ -799,10 +799,11 @@ do
     expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    { (exit 1); exit 1; }; }
+    ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
     case $ac_user_opts in
       *:enable_$ac_useropt:*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt"
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
          ac_unrecognized_sep=', ';;
     esac
     eval enable_$ac_useropt=no ;;
@@ -823,10 +824,11 @@ do
     expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    { (exit 1); exit 1; }; }
+    ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
     case $ac_user_opts in
       *:enable_$ac_useropt:*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt"
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
          ac_unrecognized_sep=', ';;
     esac
     eval enable_$ac_useropt=\$ac_optarg ;;
@@ -1025,10 +1027,11 @@ do
     expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    { (exit 1); exit 1; }; }
+    ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
     case $ac_user_opts in
       *:with_$ac_useropt:*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt"
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
          ac_unrecognized_sep=', ';;
     esac
     eval with_$ac_useropt=\$ac_optarg ;;
@@ -1039,10 +1042,11 @@ do
     expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    { (exit 1); exit 1; }; }
+    ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
     case $ac_user_opts in
       *:with_$ac_useropt:*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt"
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
          ac_unrecognized_sep=', ';;
     esac
     eval with_$ac_useropt=no ;;
@@ -3497,7 +3501,7 @@ fi
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 if \$ac_cs_recheck; then
-  set X '$SHELL' '$0'$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   shift
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   CONFIG_SHELL='$SHELL'