1
0
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:
David Steele
2020-03-12 09:34:52 -04:00
parent 79a6798f39
commit 838ef4eca1
2 changed files with 4 additions and 4 deletions
+4 -4
View File
@@ -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";