From: Gert Doering Date: Fri, 20 Feb 2026 11:20:58 +0100 Message-ID: <20260220102106.32024-1-gert@...1296...> In-Reply-To: References: MIME-Version: 1.0 Subject: [Openvpn-devel] [PATCH v2] configure.ac: adjust to native inotify support for FreeBSD 15+ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net FreeBSD 15 has native inotify support, and no "libinotify.pc" pkg config file anymore, plus no extra includes are needed. This works fine if we conditionalize the FreeBSD check to "freebsd-1[0-4]". Due to m4 involvement double braces are needed for quoting. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293176 Reported-by: Ivo Karabojkov Reported-by: Marek Zarychta Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8 Signed-off-by: Gert Doering Acked-by: Antonio Quartulli Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1535 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1535 This mail reflects revision 2 of this Change. Acked-by according to Gerrit (reflected above): Antonio Quartulli diff --git a/configure.ac b/configure.ac index 9fa6a41..e151816 100644 --- a/configure.ac +++ b/configure.ac @@ -1294,7 +1294,7 @@ if test "${enable_async_push}" = "yes"; then case "$host" in - *-*-freebsd*) + *-*-freebsd1[[0-4]]*) PKG_CHECK_MODULES( [OPTIONAL_INOTIFY], [libinotify],