You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Move configure.ac to src/build.
This file is used to generate src/configure and is not required to make pgbackrest since src/configure is updated before distribution. Move to src/build so it is out of the way.
This commit is contained in:
+4
-4
@@ -454,7 +454,7 @@ eval
|
||||
#-----------------------------------------------------------------------------------------------------------------------
|
||||
if (!$bSmart || grep(/^src\/version\.h/, @stryModifiedList))
|
||||
{
|
||||
my $strConfigureAcOld = ${$oStorageTest->get("${strBackRestBase}/src/configure.ac")};
|
||||
my $strConfigureAcOld = ${$oStorageTest->get("${strBackRestBase}/src/build/configure.ac")};
|
||||
my $strConfigureAcNew;
|
||||
|
||||
foreach my $strLine (split("\n", $strConfigureAcOld))
|
||||
@@ -469,7 +469,7 @@ eval
|
||||
|
||||
# Save into the src dir
|
||||
my @stryBuilt;
|
||||
my $strBuilt = 'src/configure.ac';
|
||||
my $strBuilt = 'src/build/configure.ac';
|
||||
|
||||
if (buildPutDiffers($oStorageBackRest, "${strBackRestBase}/${strBuilt}", $strConfigureAcNew))
|
||||
{
|
||||
@@ -484,9 +484,9 @@ eval
|
||||
|
||||
# Auto-generate configure script
|
||||
#-----------------------------------------------------------------------------------------------------------------------
|
||||
if (!$bSmart || grep(/^src\/configure\.ac/, @stryModifiedList))
|
||||
if (!$bSmart || grep(/^src\/build\/configure\.ac/, @stryModifiedList))
|
||||
{
|
||||
my $strConfigure = executeTest("autoconf ${strBackRestBase}/src/configure.ac");
|
||||
my $strConfigure = executeTest("autoconf ${strBackRestBase}/src/build/configure.ac");
|
||||
|
||||
# Trim off any trailing LFs
|
||||
$strConfigure = trim($strConfigure) . "\n";
|
||||
|
||||
Reference in New Issue
Block a user