Skip to content

Commit

Permalink
nat-pmp: use same rule for define and conditional
Browse files Browse the repository at this point in the history
If we add the define, we must also build the file.

Change-Id: Id336770ed7f7df02e26074b01aed25bad75f9288
  • Loading branch information
aberaud authored and Sébastien Blin committed Mar 6, 2023
1 parent 5eb9247 commit a9b373a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9b373a

Please sign in to comment.