Skip to content
Snippets Groups Projects
Commit a9b373ae authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

nat-pmp: use same rule for define and conditional

If we add the define, we must also build the file.

Change-Id: Id336770ed7f7df02e26074b01aed25bad75f9288
parent 5eb9247b
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment