From: "cron2 (Code Review)" Date: Wed, 18 Sep 2024 21:00:56 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <872f19daff5a61ebe366ddb5d52f388fcc93af50-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="fkKL+G3bdvM="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: configure: Review use of standard AC macros List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld , plaisthos Cc: openvpn-devel --fkKL+G3bdvM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#4) to the change originally created by= flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/674?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by cron2 Change subject: configure: Review use of standard AC macros ...................................................................... configure: Review use of standard AC macros - Increase required version to 2.60 since that is documented minimum version for AC_USE_SYSTEM_EXTENSIONS - Remove obsolete macros AC_C_CONST and AC_C_VOLATILE. They are noops on every compiler we support. - Add explicit call to AC_PROG_CC. We get this implictly as dependency of other macros, but it is nicer to have it explicitely as well. - A few typo and whitespace fixes. Change-Id: I7927a572611b7c1dc0b522fd6cdf05fd222a852d Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Message-Id: <20240918204551.2530-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29= 321.html Signed-off-by: Gert Doering --- M configure.ac 1 file changed, 6 insertions(+), 8 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/74/674/4 diff --git a/configure.ac b/configure.ac index 5d7d0fc..0876a6a 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) +AC_PREREQ(2.60) m4_include(version.m4) AC_INIT([PRODUCT_NAME], [PRODUCT_VERSION], [PRODUCT_BUGREPORT], [PRODUCT_T= ARNAME]) @@ -387,6 +387,7 @@ pkg_config_found=3D"(${PKG_CONFIG})" fi +AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S @@ -443,9 +444,7 @@ ] ) -AC_C_CONST AC_C_INLINE -AC_C_VOLATILE AC_TYPE_OFF_T AC_TYPE_PID_T AC_TYPE_SIZE_T @@ -958,7 +957,7 @@ [AC_MSG_ERROR([OpenSSL check for AES-256-GCM support failed])] ) - # All supported OpenSSL version (>=3D 1.1.0) + # All supported OpenSSL versions (>=3D 1.1.0) # have this feature have_export_keying_material=3D"yes" @@ -1065,9 +1064,8 @@ elif test "${with_crypto_library}" =3D "wolfssl"; then AC_ARG_VAR([WOLFSSL_CFLAGS], [C compiler flags for wolfssl. The include d= irectory should - contain the regular wolfSSL header files but also the - wolfSSL OpenSSL header files. Ex: -I/usr/local/include - -I/usr/local/include/wolfssl]) + contain the regular wolfSSL header files but also the wolfSSL OpenSSL hea= der files. + Ex: -I/usr/local/include -I/usr/local/include/wolfssl]) AC_ARG_VAR([WOLFSSL_LIBS], [linker flags for wolfssl]) saved_CFLAGS=3D"${CFLAGS}" @@ -1258,7 +1256,7 @@ [PKG_CHECK_MODULES([libsystemd], [libsystemd-daemon]= )] ) - PKG_CHECK_EXISTS( [libsystemd > 216], + PKG_CHECK_EXISTS([libsystemd > 216], [AC_DEFINE([SYSTEMD_NEWER_THAN_216], [1], [systemd is newer than v216])] ) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/674?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I7927a572611b7c1dc0b522fd6cdf05fd222a852d Gerrit-Change-Number: 674 Gerrit-PatchSet: 4 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-MessageType: newpatchset --fkKL+G3bdvM= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 uploaded patch set #4 to the change originally cr= eated by flichtenheld.

View Change

The following approvals got outda= ted and were removed: Code-Review+2 by cron2

configure: Review use of standard AC macros

-= Increase required version to 2.60 since that is documented
minimum ve= rsion for AC_USE_SYSTEM_EXTENSIONS
- Remove obsolete macros AC_C_CONST a= nd AC_C_VOLATILE. They
are noops on every compiler we support.
- Ad= d explicit call to AC_PROG_CC. We get this implictly as
dependency of = other macros, but it is nicer to have it
explicitely as well.
- A f= ew typo and whitespace fixes.

Change-Id: I7927a572611b7c1dc0b522fd6c= df05fd222a852d
Signed-off-by: Frank Lichtenheld <frank@...2641...>=
Acked-by: Gert Doering <gert@...1296...>
Message-Id: <20240= 918204551.2530-1-gert@...1296...>
URL: https://www.mail-archive.com/o= penvpn-devel@lists.sourceforge.net/msg29321.html
Signed-off-by: Gert Doe= ring <gert@...1296...>
---
M configure.ac
1 file changed, 6 = insertions(+), 8 deletions(-)

git pull ssh://gerrit.openvpn.net:2=
9418/openvpn refs/changes/74/674/4
diff --git a/configure.ac b/conf=
igure.ac
index 5d7d0fc..0876a6a 100644
--- = a/configure.ac
+++ b/configure.ac
@@ -23,7 = +23,7 @@

dnl Process this file with auto= conf to produce a configure script.

-AC_PREREQ(2.59)
+AC_PREREQ(2.60)

m4_include(version.m4)
AC_INIT([PRODUCT_NAME], [PRODUC= T_VERSION], [PRODUCT_BUGREPORT], [PRODUCT_TARNAME])
@@ -387= ,6 +387,7 @@
pkg_config_found=3D"(${PKG_CONFIG})&quo= t;
fi

+AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
@@ -443,9 = +444,7 @@
]
)
-AC_C_CONST
AC= _C_INLINE
-AC_C_VOLATIL= E
AC_TYPE_OFF_T
AC_TYPE_PID_T
<= span> AC_TYPE_SIZE_T
@@ -958,7 +957,7 @@
= [AC_MSG_ERROR([OpenSSL check for AES-256-GCM support failed])]
<= span> )

- # All supported OpenSSL version (>=3D 1.1.0)
+ # All supported OpenSSL versions (>= =3D 1.1.0)
# have this feature
have_exp= ort_keying_material=3D"yes"

@@ = -1065,9 +1064,8 @@

elif test "${wit= h_crypto_library}" =3D "wolfssl"; then
AC_= ARG_VAR([WOLFSSL_CFLAGS], [C compiler flags for wolfssl. The include direct= ory should
- c= ontain the regular wolfSSL header files but also the
- wolfSSL OpenSSL header files. Ex:= -I/usr/local/include
-= -I/usr/local/include/wolfssl])
+ contain the regular wolfSSL header files but also the= wolfSSL OpenSSL header files.
+ Ex: -I/usr/local/include -I/usr/local/include/wolfssl])<= br> AC_ARG_VAR([WOLFSSL_LIBS], [linker flags for wolfssl])
saved_CFLAGS=3D"${CFLAGS}"
<= span>@@ -1258,7 +1256,7 @@
[PKG_CHEC= K_MODULES([libsystemd], [libsystemd-daemon])]
= )

- PKG_CHECK_EXISTS( [libsystemd > 216],
+ PKG_CHECK_EXISTS([libsystemd > 216= ],
[AC_DEFINE([SYSTEMD_NEWER_THAN_216= ], [1],
[systemd is newer than = v216])]
)

<= /pre>

To view, visit change 674. To unsubscribe, or for help writing mail filt= ers, visit settings.

=
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7927a572611b7c1dc0b522fd6cd= f05fd222a852d
Gerrit-Change-Number: 674
Gerrit-PatchSet: 4
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: newpatchset
--fkKL+G3bdvM=--