diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | nice/nice.pc.in | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b915249..124c9ea 100644 --- a/configure.ac +++ b/configure.ac @@ -274,6 +274,7 @@ fi if test "x$HAVE_GUPNP" = "xyes"; then AC_DEFINE(HAVE_GUPNP,,[Have the GUPnP IGD library]) + UPNP_ENABLED="true" else GUPNP_PACKAGES_PUBLIC="" GUPNP_PACKAGES_PRIVATE="" @@ -285,6 +286,7 @@ AC_SUBST([GUPNP_PACKAGES_PRIVATE]) AC_SUBST([GUPNP_PACKAGES]) AC_SUBST(HAVE_GUPNP) +AC_SUBST([UPNP_ENABLED]) dnl Test coverage AC_ARG_ENABLE([coverage], diff --git a/nice/nice.pc.in b/nice/nice.pc.in index edc01f5..9461daa 100644 --- a/nice/nice.pc.in +++ b/nice/nice.pc.in @@ -2,6 +2,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ +upnp_enabled=@UPNP_ENABLED@ Name: libnice Description: ICE library |