summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 794f24f..422bdeb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,13 +5,13 @@ dnl ==============================================================
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
-AC_INIT([avremote],[0.2.0],[jaromil@nimk.nl],[AVRemote])
+AC_INIT([avremote],[0.3.0],[jaromil@nimk.nl],[AVRemote])
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_HOST
dnl backwards compatibility for autoconf >= 2.64
dnl PACKAGE_URL should be the fifth argument of AC_INIT
-m4_define([AC_PACKAGE_URL], [http://nimk.nl/syncstarter])
+m4_define([AC_PACKAGE_URL], [http://nimk.nl/avremote])
AC_DEFINE(PACKAGE_URL, "AC_PACKAGE_URL", [Package URL])
AC_SUBST(PACKAGE_URL, AC_PACKAGE_URL)
@@ -31,6 +31,7 @@ AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
+AC_PROG_RANLIB
dnl Advanced network address translating functions
AC_CHECK_FUNCS(inet_pton inet_ntop)
@@ -53,8 +54,8 @@ AC_ARG_ENABLE(discovery,
AS_HELP_STRING([--enable-discovery],[compile with miniupnp to enable auto-discovery]),
[have_upnp=$enableval],
[have_upnp=no])
-AC_MSG_CHECKING([if UPNP support (miniupnp) is enabled])
-UPNP_LIBS=""
+AC_MSG_CHECKING([if compiling using external miniupnpc library])
+UPNP_LIBS="upnp/libupnpc.a"
if test x$have_upnp = xyes; then
# this is the default behaviour for --enable-upnp with no arguments
AC_MSG_RESULT(yes)
@@ -95,6 +96,7 @@ AC_SUBST(CFLAGS)
AC_CONFIG_FILES([
Makefile
src/Makefile
+src/upnp/Makefile
])
AC_OUTPUT