[Openvpn-devel] configure.ac: fix typ0 in LIBCAPNG_CFALGS

Message ID 20230725065840.24568-1-a@unstable.cc
State Accepted
Headers show
Series [Openvpn-devel] configure.ac: fix typ0 in LIBCAPNG_CFALGS | expand

Commit Message

Antonio Quartulli July 25, 2023, 6:58 a.m. UTC
Reported-by: Matt Whitlock <gentoo@mattwhitlock.name>
Change-Id: Ic473fbc447741e54a9aac83c70bc4e6d87d91080
Signed-off-by: Antonio Quartulli <a@unstable.cc>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gert Doering July 25, 2023, 7:06 a.m. UTC | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

Obviously correct (and used only in this place, the definition comes
out of autoconf and has no typos :) ).  Interesting that this wasn't
spotted earlier, seems nobody buildt with "libcapng with non-default
include path" yet.

Not tested whatsoever, just stared at configure/configure.ac

Your patch has been applied to the master and release/2.6 branch.

commit bd95104a2b375f87eb37441d33c8e35bd1c19b1f (master)
commit 2f0e7dd1444e3d29773c6b701f53afa4cadac970 (release/2.6)
Author: Antonio Quartulli
Date:   Tue Jul 25 08:58:40 2023 +0200

     configure.ac: fix typ0 in LIBCAPNG_CFALGS

     Signed-off-by: Antonio Quartulli <a@unstable.cc>
     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <20230725065840.24568-1-a@unstable.cc>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26890.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

diff --git a/configure.ac b/configure.ac
index 5ab1d0df..2f65cbd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -869,7 +869,7 @@  case "$host" in
 		)
 		AC_CHECK_HEADER([sys/prctl.h],,[AC_MSG_ERROR([sys/prctl.h not found!])])
 
-		CFLAGS="${CFLAGS} ${LIBCAPNG_CFALGS}"
+		CFLAGS="${CFLAGS} ${LIBCAPNG_CFLAGS}"
 		LIBS="${LIBS} ${LIBCAPNG_LIBS}"
 		AC_DEFINE(HAVE_LIBCAPNG, 1, [Enable libcap-ng support])
 	;;