[PATCH 1/2] configure.ac: remove unused macros
- From: Víctor Manuel Jáquez Leal <vjaquez igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 1/2] configure.ac: remove unused macros
- Date: Sat, 24 Apr 2010 00:00:34 +0200
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>
---
configure.ac | 34 ----------------------------------
1 files changed, 0 insertions(+), 34 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5a0e878..9f681b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,6 @@ CFLAGS="$CFLAGS -Wall -Werror -Wmissing-prototypes -Wmissing-declarations -std=c
# ABI version
GRL_MAJORMINOR=0.1
-AC_SUBST(GRL_MAJORMINOR)
AC_DEFINE_UNQUOTED(GRL_MAJORMINOR, "$GRL_MAJORMINOR", [library major.minor version])
# Give parameters a default value
@@ -68,51 +67,24 @@ PKG_CHECK_MODULES(DEPS, glib-2.0 \
gobject-2.0 \
gmodule-2.0 \
grilo-0.1 >= 0.1.4)
-AC_SUBST(DEPS_CFLAGS)
-AC_SUBST(DEPS_LIBS)
PKG_CHECK_MODULES(XML, libxml-2.0, HAVE_XML=yes, HAVE_XML=no)
-AC_SUBST(XML_CFLAGS)
-AC_SUBST(XML_LIBS)
-AC_SUBST(HAVE_XML)
-AM_CONDITIONAL(HAVE_XML, test "x$HAVE_XML" = "xyes")
PKG_CHECK_MODULES(GIO, gio-2.0, HAVE_GIO=yes, HAVE_GIO=no)
-AC_SUBST(GIO_CFLAGS)
-AC_SUBST(GIO_LIBS)
-AC_SUBST(HAVE_GIO)
-AM_CONDITIONAL(HAVE_GIO, test "x$HAVE_GIO" = "xyes")
PKG_CHECK_MODULES(GUPNP, gupnp-1.0, HAVE_GUPNP=yes, HAVE_GUPNP=no)
-AC_SUBST(GUPNP_CFLAGS)
-AC_SUBST(GUPNP_LIBS)
-AC_SUBST(HAVE_GUPNP)
-AM_CONDITIONAL(HAVE_GUPNP, test "x$HAVE_GUPNP" = "xyes")
PKG_CHECK_MODULES(GUPNPAV, gupnp-av-1.0, HAVE_GUPNPAV=yes, HAVE_GUPNPAV=no)
-AC_SUBST(GUPNPAV_CFLAGS)
-AC_SUBST(GUPNPAV_LIBS)
-AC_SUBST(HAVE_GUPNPAV)
-AM_CONDITIONAL(HAVE_GUPNPAV, test "x$HAVE_GUPNPAV" = "xyes")
PKG_CHECK_MODULES(SQLITE, sqlite3, HAVE_SQLITE=yes, HAVE_SQLITE=no)
-AC_SUBST(SQLITE_CFLAGS)
-AC_SUBST(SQLITE_LIBS)
-AC_SUBST(HAVE_SQLITE)
-AM_CONDITIONAL(HAVE_SQLITE, test "x$HAVE_SQLITE" = "xyes")
PKG_CHECK_MODULES(GDATA, libgdata >= 0.4.0, HAVE_GDATA=yes, HAVE_GDATA=no)
-AC_SUBST(GDATA_CFLAGS)
-AC_SUBST(GDATA_LIBS)
-AC_SUBST(HAVE_GDATA)
-AM_CONDITIONAL(HAVE_GDATA, test "x$HAVE_GDATA" = "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 }'`
@@ -120,8 +92,6 @@ if test "x$HAVE_GUPNPAV" = "xyes"; then
if test $gupnpav_version_major -eq 0 -a $gupnpav_version_minor -lt 5; then
GUPNPAV_OLD_VERSION=yes
fi
- AC_SUBST(gupnpav_version_major)
- AC_SUBST(gupnpav_version_minor)
fi
AM_CONDITIONAL(GUPNPAV_OLD_VERSION, test "x$GUPNPAV_OLD_VERSION" = "xyes")
@@ -134,8 +104,6 @@ AC_ARG_ENABLE(uninstalled,
[run uninstalled (default: no)]),,
[enable_uninstalled=no])
-AM_CONDITIONAL([UNINSTALLED], [test "x$enable_uninstalled" = "xyes"])
-
# ----------------------------------------------------------
# DEBUG SUPPORT
# ----------------------------------------------------------
@@ -149,8 +117,6 @@ if test "x$enable_debug" = "xyes"; then
CFLAGS="$CFLAGS -g3 -O0"
fi
-AM_CONDITIONAL([DEBUG], [test "x$enable_debug" = "xyes"])
-
# ----------------------------------------------------------
# BUILD FAKE METADATA PLUGIN
# ----------------------------------------------------------
--
1.7.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]