1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Replace AC_PROG_CC_C99 configure macro with AC_PROG_CC.

AC_PROG_CC_C99 is now obsolete.

The AC_PROG_CC macro does not guarantee C99 compliance but we add an option to check for that a bit later.
This commit is contained in:
David Steele
2022-07-14 17:13:33 -04:00
parent 364af1635d
commit 1df1e0281b
3 changed files with 2063 additions and 2139 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
+2 -5
View File
@@ -1,6 +1,6 @@
# Initialize configuration
# ----------------------------------------------------------------------------------------------------------------------------------
AC_PREREQ([2.69])
AC_PREREQ([2.71])
AC_INIT([pgBackRest], [2.40dev])
AC_CONFIG_SRCDIR([version.h])
AC_CONFIG_AUX_DIR(build)
@@ -9,12 +9,9 @@ AC_CONFIG_AUX_DIR(build)
# ----------------------------------------------------------------------------------------------------------------------------------
: ${CFLAGS=""}
# Check compiler supports C99 standard
# ----------------------------------------------------------------------------------------------------------------------------------
AC_PROG_CC_C99
# Build C standard based on the host type. C99 is required and other flags are added depending on the host.
# ----------------------------------------------------------------------------------------------------------------------------------
AC_PROG_CC
AC_CANONICAL_HOST
AC_SUBST(CFLAGS, "${CFLAGS} -std=c99")
+2059 -2132
View File
File diff suppressed because it is too large Load Diff