You've already forked pgbackrest
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:
Vendored
+2
-2
@@ -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,
|
||||
|
||||
@@ -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")
|
||||
|
||||
|
||||
Vendored
+2059
-2132
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user