1.1 --- a/gmyth-upnp/configure.ac Wed Jan 10 22:47:28 2007 +0000
1.2 +++ b/gmyth-upnp/configure.ac Fri Feb 01 22:17:33 2008 +0000
1.3 @@ -3,17 +3,11 @@
1.4
1.5 AC_PREREQ(2.50)
1.6
1.7 -AC_INIT([gmyth-upnp],[0.1])
1.8 +AC_INIT([gmyth-upnp],[0.7])
1.9
1.10 AC_CONFIG_SRCDIR([src/gmyth_upnp.c])
1.11 AC_CONFIG_HEADER(config.h)
1.12
1.13 -dnl when going to/from release please set the nano (fourth number) right !
1.14 -dnl releases only do Wall, SVN and prerelease does Werror too
1.15 -AS_VERSION(gmyth-upnp, GMYTH_UPNP, 0, 1, 0, 3, GMYTH_UPNP_SVN="no", GMYTH_UPNP_SVN="yes")
1.16 -GMYTH_UPNP_MAJORMINOR=$GMYTH_UPNP_MAJOR_VERSION.$GMYTH_UPNP_MINOR_VERSION
1.17 -AC_SUBST(GMYTH_UPNP_MAJORMINOR)
1.18 -
1.19 dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode
1.20 AM_MAINTAINER_MODE
1.21 dnl make aclocal work in maintainer mode
1.22 @@ -26,17 +20,6 @@
1.23 AC_PROG_CC
1.24 AC_PROG_LIBTOOL
1.25
1.26 -dnl Generate doxygen documentation
1.27 -DX_HTML_FEATURE(ON)
1.28 -DX_CHM_FEATURE(OFF)
1.29 -DX_CHI_FEATURE(OFF)
1.30 -DX_MAN_FEATURE(OFF)
1.31 -DX_RTF_FEATURE(OFF)
1.32 -DX_XML_FEATURE(OFF)
1.33 -DX_PDF_FEATURE(OFF)
1.34 -DX_PS_FEATURE(OFF)
1.35 -DX_INIT_DOXYGEN(gmyth-upnp, doxygen.cfg, docs)
1.36 -
1.37 # Checks for libraries.
1.38
1.39 # Check for pkgconfig
1.40 @@ -120,12 +103,12 @@
1.41 AC_SUBST(GOBJECT_CFLAGS)
1.42 AC_SUBST(GOBJECT_LIBS)
1.43
1.44 -## Check for gmyth-0.1
1.45 -PKG_CHECK_MODULES(LIBGMYTH, gmyth-0.1, HAVE_LIBGMYTH=yes,HAVE_LIBGMYTH=no)
1.46 +## Check for gmyth-0.7
1.47 +PKG_CHECK_MODULES(LIBGMYTH, gmyth >= 0.7, HAVE_LIBGMYTH=yes,HAVE_LIBGMYTH=no)
1.48
1.49 -# Give error and exit if we don't have gmyth-0.1
1.50 +# Give error and exit if we don't have gmyth-0.7
1.51 if test "x$HAVE_LIBGMYTH" = "xno"; then
1.52 - AC_MSG_ERROR([you need gmyth-0.1 installed])
1.53 + AC_MSG_ERROR([you need gmyth installed])
1.54 fi
1.55
1.56 # make LIBXML_CFLAGS and LIBXML_LIBS available
1.57 @@ -133,28 +116,24 @@
1.58 AC_SUBST(LIBGMYTH_LIBS)
1.59
1.60 dnl ========== Check for Cyberlink UPnP Libraries
1.61 -PKG_CHECK_MODULES(CYBERLINK, clinkc,
1.62 - HAVE_CYBERLINK=yes, HAVE_CYBERLINK=no)
1.63 +PKG_CHECK_MODULES(LIBUPNP, libupnp, HAVE_LIBUPNP=yes, HAVE_LIBUPNP=no)
1.64
1.65 -if test "x$HAVE_CYBERLINK" = "xno"; then
1.66 - AC_MSG_ERROR([you need clinkc installed])
1.67 +if test "x$HAVE_LIBUPNP" = "xno"; then
1.68 + AC_MSG_ERROR([you need libupnp installed])
1.69 fi
1.70
1.71 -dnl make CYBERLINK_CFLAGS and CYBERLINK_LIBS available
1.72 -AC_SUBST(CYBERLINK_CFLAGS)
1.73 -AC_SUBST(CYBERLINK_LIBS)
1.74 -
1.75 -#dnl Enable gtk-doc
1.76 -#GTK_DOC_CHECK(1.4)
1.77 +AC_SUBST(LIBUPNP_CFLAGS)
1.78 +AC_SUBST(LIBIPNP_LIBS)
1.79
1.80 AC_OUTPUT([
1.81 Makefile
1.82 src/Makefile
1.83 +test/Makefile
1.84 gmyth-upnp.pc])
1.85
1.86 if test "x$enable_debug" != "xno"; then
1.87 AC_MSG_NOTICE([Debug: Enabled])
1.88 else
1.89 AC_MSG_NOTICE([Debug: Disabled])
1.90 -fi
1.91 +fi
1.92