diff options
author | Philippe Normand <phil@base-art.net> | 2010-02-19 15:41:57 +0100 |
---|---|---|
committer | Juan A. Suarez Romero <jasuarez@igalia.com> | 2010-02-23 10:28:01 +0100 |
commit | 8637c3e35132b8ff9663b879eda3f2b52cfaf19f (patch) | |
tree | cc39a77f06bbbaee5fb1961bc9ebe5791fa7db74 | |
parent | f1800cef1587d146a118fcb73b4113481a9a378f (diff) | |
download | grilo-plugins-8637c3e35132b8ff9663b879eda3f2b52cfaf19f.tar.gz |
configure.ac: enable build even if gupnp* is not available
-rw-r--r-- | configure.ac | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 70a063f..f7bd6ce 100644 --- a/configure.ac +++ b/configure.ac @@ -103,20 +103,19 @@ AM_CONDITIONAL(HAVE_SQLITE, test "x$HAVE_SQLITE" = "xyes") # GUPNP-AV VERSION # ---------------------------------------------------------- +GUPNPAV_OLD_VERSION=no +AC_SUBST(GUPNPAV_OLD_VERSION) if test "x$HAVE_GUPNPAV" = "xyes"; then gupnpav_version=`pkg-config --modversion gupnp-av-1.0` gupnpav_version_major=`echo $gupnpav_version | awk -F. '{ print $1 }'` gupnpav_version_minor=`echo $gupnpav_version | awk -F. '{ print $2 }'` if test $gupnpav_version_major -eq 0 -a $gupnpav_version_minor -lt 5; then GUPNPAV_OLD_VERSION=yes - else - GUPNPAV_OLD_VERSION=no fi - AC_SUBST(GUPNPAV_OLD_VERSION) AC_SUBST(gupnpav_version_major) AC_SUBST(gupnpav_version_minor) - AM_CONDITIONAL(GUPNPAV_OLD_VERSION, test "x$GUPNPAV_OLD_VERSION" = "xyes") fi +AM_CONDITIONAL(GUPNPAV_OLD_VERSION, test "x$GUPNPAV_OLD_VERSION" = "xyes") # ---------------------------------------------------------- # UNINSTALLED SUPPORT |