[svn r242] Added verification for the UPnP CyberLink C library. trunk
authorrosfran
Thu Jan 04 17:17:41 2007 +0000 (2007-01-04)
branchtrunk
changeset 2412cbfa780c21e
parent 240 bb2752e9fe02
child 242 9612496070ae
[svn r242] Added verification for the UPnP CyberLink C library.
gmyth/configure.ac
     1.1 --- a/gmyth/configure.ac	Thu Dec 21 21:48:28 2006 +0000
     1.2 +++ b/gmyth/configure.ac	Thu Jan 04 17:17:41 2007 +0000
     1.3 @@ -225,6 +225,30 @@
     1.4  AC_SUBST(MYSQL_CFLAGS)
     1.5  AC_SUBST(MYSQL_LIBS)
     1.6  
     1.7 +dnl ========== Check for Cyberlink UPnP Libraries
     1.8 +AC_ARG_ENABLE(upnp,
     1.9 +	[AC_HELP_STRING([--disable-upnp], [disable building UPnP related stuff])],
    1.10 +	enable_upnp="$enableval",
    1.11 +	enable_upnp=yes)
    1.12 +
    1.13 +if test "x$enable_upnp" = "xyes" ; then
    1.14 +	PKG_CHECK_MODULES(CYBERLINK,
    1.15 +	  clinkc,
    1.16 +	  HAVE_CYBERLINK=yes, HAVE_CYBERLINK=no)
    1.17 +fi
    1.18 +
    1.19 +if test "x$HAVE_CYBERLINK" = "xyes"; then
    1.20 +  AC_DEFINE(WITH_UPNP, 1, [build with upnp related stuff])
    1.21 +else
    1.22 +  AC_MSG_RESULT(no)
    1.23 +fi
    1.24 +
    1.25 +AM_CONDITIONAL(WITH_UPNP, test "x$HAVE_CYBERLINK" = "xyes")
    1.26 +
    1.27 +dnl make CYBERLINK_CFLAGS and CYBERLINK_LIBS available
    1.28 +AC_SUBST(CYBERLINK_CFLAGS)
    1.29 +AC_SUBST(CYBERLINK_LIBS)
    1.30 +
    1.31  #dnl Enable gtk-doc
    1.32  #GTK_DOC_CHECK(1.4)
    1.33