Rename configure.in to configure.ac, the current autoconf standard.
[rsync/rsync.git] / packaging / release-rsync
index 939e5b9..0b906c4 100755 (executable)
@@ -65,7 +65,7 @@ require 'packaging/git-status.pl';
 check_git_state($master_branch, 1, 1);
 
 my $confversion;
 check_git_state($master_branch, 1, 1);
 
 my $confversion;
-open(IN, '<', 'configure.in') or die $!;
+open(IN, '<', 'configure.ac') or die $!;
 while (<IN>) {
     if (/^RSYNC_VERSION=(.*)/) {
        $confversion = $1;
 while (<IN>) {
     if (/^RSYNC_VERSION=(.*)/) {
        $confversion = $1;
@@ -73,7 +73,7 @@ while (<IN>) {
     }
 }
 close IN;
     }
 }
 close IN;
-die "Unable to find RSYNC_VERSION in configure.in\n" unless defined $confversion;
+die "Unable to find RSYNC_VERSION in configure.ac\n" unless defined $confversion;
 
 open(IN, '<', 'OLDNEWS') or die $!;
 $_ = <IN>;
 
 open(IN, '<', 'OLDNEWS') or die $!;
 $_ = <IN>;
@@ -181,7 +181,7 @@ print "\n", $break, <<EOT;
 
 About to:
     - tweak SUBPROTOCOL_VERSION in rsync.h, if needed
 
 About to:
     - tweak SUBPROTOCOL_VERSION in rsync.h, if needed
-    - tweak the version in configure.in and the spec files
+    - tweak the version in configure.ac and the spec files
     - tweak NEWS and OLDNEWS to ensure header values are correct
     - tweak the date in the *.yo files and generate the manpages
     - generate configure.sh, config.h.in, and proto.h
     - tweak NEWS and OLDNEWS to ensure header values are correct
     - tweak the date in the *.yo files and generate the manpages
     - generate configure.sh, config.h.in, and proto.h
@@ -195,7 +195,7 @@ my %specvars = ( 'Version:' => $finalversion, 'Release:' => $release,
                 '%define fullversion' => "\%{version}$pre", 'Released' => "$version.",
                 '%define srcdir' => $srcdir );
 my @tweak_files = ( glob('packaging/*.spec'), glob('packaging/*/*.spec'), glob('*.yo'),
                 '%define fullversion' => "\%{version}$pre", 'Released' => "$version.",
                 '%define srcdir' => $srcdir );
 my @tweak_files = ( glob('packaging/*.spec'), glob('packaging/*/*.spec'), glob('*.yo'),
-                   qw( configure.in rsync.h NEWS OLDNEWS options.c ) );
+                   qw( configure.ac rsync.h NEWS OLDNEWS options.c ) );
 
 foreach my $fn (@tweak_files) {
     open(IN, '<', $fn) or die $!;
 
 foreach my $fn (@tweak_files) {
     open(IN, '<', $fn) or die $!;