RedHat: Use configure.ac in makesrpm.pl
authorAndrew Deason <adeason@sinenomine.net>
Wed, 1 Sep 2010 15:12:31 +0000 (10:12 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 1 Sep 2010 19:14:32 +0000 (12:14 -0700)
We don't have a configure.in anymore; instead we have a configure.ac.

Change-Id: Ic79b5577cf2d5cd3021fe933ca5405fb2d514a4d
Reviewed-on: http://gerrit.openafs.org/2639
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/packaging/RedHat/makesrpm.pl

index 3fd938a..be36c14 100755 (executable)
@@ -29,7 +29,7 @@ if (! -f $srcball) {
 
 my $tmpdir = File::Temp::tempdir(CLEANUP => 1);
 
-system("tar -C $tmpdir -xvjf $srcball '\*/configure.in' ".
+system("tar -C $tmpdir -xvjf $srcball '\*/configure.ac' ".
        "'\*/src/packaging/RedHat' > /dev/null")==0
   or die "Unable to unpack src tar ball\n";
 
@@ -41,12 +41,12 @@ die "Unable to find unpacked source code\n" if !$vdir;
 
 my $srcdir = $tmpdir."/".$vdir;
 
-# Work out which version we're dealing with from the configure.in file
+# Work out which version we're dealing with from the configure.ac file
 my $afsversion;
 my $linuxver;
 my $linuxrel;
-my $fh = new IO::File $srcdir."/configure.in"
-  or die "Unable to find unpacked configure.in file";
+my $fh = new IO::File $srcdir."/configure.ac"
+  or die "Unable to find unpacked configure.ac file";
 while(<$fh>) {
   next if (/^\s*\#/);