mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Rename configure.in to configure.ac
The new name has been preferred by Autoconf for a long time. Future versions of Autoconf will warn about the old name. Discussion: https://www.postgresql.org/message-id/flat/e796c185-5ece-8569-248f-dd3799701be1%402ndquadrant.com
This commit is contained in:
@ -155,9 +155,9 @@ sub GenerateFiles
|
||||
my $ac_define_openssl_api_compat_found = 0;
|
||||
my $openssl_api_compat;
|
||||
|
||||
# Parse configure.in to get version numbers
|
||||
open(my $c, '<', "configure.in")
|
||||
|| confess("Could not open configure.in for reading\n");
|
||||
# Parse configure.ac to get version numbers
|
||||
open(my $c, '<', "configure.ac")
|
||||
|| confess("Could not open configure.ac for reading\n");
|
||||
while (<$c>)
|
||||
{
|
||||
if (/^AC_INIT\(\[([^\]]+)\], \[([^\]]+)\], \[([^\]]+)\], \[([^\]]*)\], \[([^\]]+)\]/
|
||||
@ -185,7 +185,7 @@ sub GenerateFiles
|
||||
}
|
||||
}
|
||||
close($c);
|
||||
confess "Unable to parse configure.in for all variables!"
|
||||
confess "Unable to parse configure.ac for all variables!"
|
||||
unless $ac_init_found && $ac_define_openssl_api_compat_found;
|
||||
|
||||
if (IsNewer("src/include/pg_config_os.h", "src/include/port/win32.h"))
|
||||
@ -834,7 +834,7 @@ EOF
|
||||
|
||||
# Read lines from input file and substitute symbols using the same
|
||||
# logic that config.status uses. There should be one call of this for
|
||||
# each AC_CONFIG_HEADERS call in configure.in.
|
||||
# each AC_CONFIG_HEADERS call in configure.ac.
|
||||
#
|
||||
# If the "required" argument is true, we also keep track which of our
|
||||
# defines have been found and error out if any are left unused at the
|
||||
|
Reference in New Issue
Block a user