From a9b373ae39a802c355a7de4e4b493dc618d9ba12 Mon Sep 17 00:00:00 2001 From: Adrien Beraud <adrien.beraud@savoirfairelinux.com> Date: Sun, 5 Mar 2023 11:08:35 -0500 Subject: [PATCH] nat-pmp: use same rule for define and conditional If we add the define, we must also build the file. Change-Id: Id336770ed7f7df02e26074b01aed25bad75f9288 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 451c5e0d64..4c200b48b5 100644 --- a/configure.ac +++ b/configure.ac @@ -621,7 +621,7 @@ AS_IF([test "x$with_natpmp" != xno], AC_DEFINE_UNQUOTED([HAVE_LIBNATPMP], `if test "x$with_natpmp" != xno; then echo 1; else echo 0; fi`, [Define if you have libnatpmp]) -AM_CONDITIONAL([BUILD_NATPMP], test "x$with_natpmp" = "xyes") +AM_CONDITIONAL([BUILD_NATPMP], test "x$with_natpmp" != "xno") # SHM dnl check for shm -- GitLab