From: Matt McCutchen Date: Tue, 9 Feb 2010 01:45:39 +0000 (-0500) Subject: Rename configure.in to configure.ac, the current autoconf standard. X-Git-Tag: v3.0.8pre1~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=178ccdde7d6fe1e7229942ad3d11f137b4026303;p=thirdparty%2Frsync.git Rename configure.in to configure.ac, the current autoconf standard. --- diff --git a/Makefile.in b/Makefile.in index 7d18a4ac..38986da7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -123,7 +123,7 @@ gensend: gen conf: cd $(srcdir) && $(MAKE) -f prepare-source.mak conf -configure.sh config.h.in: configure.in aclocal.m4 +configure.sh config.h.in: configure.ac aclocal.m4 @if test -f configure.sh; then cp -p configure.sh configure.sh.old; else touch configure.sh.old; fi @if test -f config.h.in; then cp -p config.h.in config.h.in.old; else touch config.h.in.old; fi autoconf -o configure.sh diff --git a/configure.in b/configure.ac similarity index 100% rename from configure.in rename to configure.ac diff --git a/packaging/release-rsync b/packaging/release-rsync index 6fa42137..b2884d98 100755 --- a/packaging/release-rsync +++ b/packaging/release-rsync @@ -67,7 +67,7 @@ die "The checkout is not clean:\n", $status unless $status =~ /\nnothing to comm die "The checkout is not on the $master_branch branch.\n" unless $status =~ /^# On branch $master_branch\n/; my $confversion; -open(IN, '<', 'configure.in') or die $!; +open(IN, '<', 'configure.ac') or die $!; while () { if (/^RSYNC_VERSION=(.*)/) { $confversion = $1; @@ -75,7 +75,7 @@ while () { } } 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 $!; $_ = ; @@ -146,9 +146,9 @@ print "\n", $break, < $finalversion, 'Release:' => $release, '%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 $!; diff --git a/prepare-source.mak b/prepare-source.mak index 277dd6f2..054bab70 100644 --- a/prepare-source.mak +++ b/prepare-source.mak @@ -1,7 +1,7 @@ conf: configure.sh config.h.in -configure.sh: configure.in aclocal.m4 +configure.sh: configure.ac aclocal.m4 autoconf -o configure.sh -config.h.in: configure.in aclocal.m4 +config.h.in: configure.ac aclocal.m4 autoheader && touch config.h.in diff --git a/testsuite/itemize.test b/testsuite/itemize.test index bdb08c2f..0dbb5a4b 100644 --- a/testsuite/itemize.test +++ b/testsuite/itemize.test @@ -17,7 +17,7 @@ outfile="$scratchdir/rsync.out" makepath "$fromdir/foo" makepath "$fromdir/bar/baz" -cp -p "$srcdir/configure.in" "$fromdir/foo/config1" +cp -p "$srcdir/configure.ac" "$fromdir/foo/config1" cp -p "$srcdir/config.h.in" "$fromdir/foo/config2" cp -p "$srcdir/rsync.h" "$fromdir/bar/baz/rsync" chmod 600 "$fromdir"/foo/config? "$fromdir/bar/baz/rsync" @@ -66,7 +66,7 @@ diff $diffopt "$chkfile" "$outfile" || test_fail "test 1 failed" # Ensure there are no accidental directory-time problems. $RSYNC -a -f '-! */' "$fromdir/" "$todir" -cp -p "$srcdir/configure.in" "$fromdir/foo/config2" +cp -p "$srcdir/configure.ac" "$fromdir/foo/config2" chmod 601 "$fromdir/foo/config2" $RSYNC -iplrH "$fromdir/" "$todir/" \ | tee "$outfile" @@ -99,7 +99,7 @@ cLc$T.$dots foo/sym -> ../bar/baz/rsync EOT diff $diffopt "$chkfile" "$outfile" || test_fail "test 3 failed" -cp -p "$srcdir/configure.in" "$fromdir/foo/config2" +cp -p "$srcdir/configure.ac" "$fromdir/foo/config2" chmod 600 "$fromdir/foo/config2" # Lack of -t is for unchanged hard-link stress-test! $RSYNC -vvplrH "$fromdir/" "$todir/" \