summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2011-05-24 14:54:24 (GMT)
committer Jaromil <jaromil@dyne.org>2011-05-24 14:54:24 (GMT)
commit70555cc5c37f844e5b463566311c058565717222 (patch)
treeb08b6fee1e2a78ece6f9e545840d8e238b6c1673
parent3a83c1694fb4a9b295ad8d965f85f6a543d35619 (diff)
fix for makedistcheck
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index fd7332f..f7fe746 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,8 +55,8 @@ AC_ARG_ENABLE(discovery,
[have_upnp=$enableval],
[have_upnp=no])
AC_MSG_CHECKING([if compiling using external miniupnpc library])
-UPNP_LIBS="upnp/libupnpc.a"
-UPNP_CPPFLAGS="-Iupnp"
+UPNP_LIBS="\$(top_builddir)/src/upnp/libupnpc.a"
+UPNP_CPPFLAGS="-I\$(top_srcdir)/src/upnp"
if test x$have_upnp = xyes; then
# this is the default behaviour for --enable-upnp with no arguments
AC_MSG_RESULT(yes)