[Spice-commits] configure.ac

Marc-André Lureau elmarco at kemper.freedesktop.org
Mon Jan 21 12:21:32 PST 2013


 configure.ac |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 8268b07430d1dc2f40aec6b9fe4d895854ab87ed
Author: Jasper Lievisse Adriaanse <jasper at humppa.nl>
Date:   Mon Jan 21 21:20:50 2013 +0100

    build-sys: Use a portable variable assignment in configure.ac

diff --git a/configure.ac b/configure.ac
index f31cdc1..e8a4ddd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,18 +95,18 @@ SPICE_GTK_REQUIRES=""
 PKG_CHECK_MODULES(PIXMAN, pixman-1 >= 0.17.7)
 AC_SUBST(PIXMAN_CFLAGS)
 AC_SUBST(PIXMAN_LIBS)
-SPICE_GLIB_REQUIRES+=" pixman-1 >= 0.17.7"
+SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRED} pixman-1 >= 0.17.7"
 
 PKG_CHECK_MODULES(CELT051, celt051 >= 0.5.1.1)
 AC_SUBST(CELT051_CFLAGS)
 AC_SUBST(CELT051_LIBS)
 AC_SUBST(CELT051_LIBDIR)
-SPICE_GLIB_REQUIRES+=" celt051 >= 0.5.1.1"
+SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRED} celt051 >= 0.5.1.1"
 
 PKG_CHECK_MODULES(SSL, openssl)
 AC_SUBST(SSL_CFLAGS)
 AC_SUBST(SSL_LIBS)
-SPICE_GLIB_REQUIRES+=" openssl"
+SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRED} openssl"
 
 dnl Cyrus SASL
 AC_ARG_WITH([sasl],
@@ -189,7 +189,7 @@ AM_CONDITIONAL([HAVE_GTK_3],[test "$with_gtk" = "3.0"])
 PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED)
 AC_SUBST(GTK_CFLAGS)
 AC_SUBST(GTK_LIBS)
-SPICE_GTK_REQUIRES+=" gtk+-$GTK_API_VERSION >= $GTK_REQUIRED"
+SPICE_GTK_REQUIRES="${SPICE_GLIB_REQUIRED} gtk+-$GTK_API_VERSION >= $GTK_REQUIRED"
 
 PKG_CHECK_EXISTS([gtk+-x11-$with_gtk], [have_x11=yes], [have_x11=no])
 AS_IF([test "x$have_x11" = "xyes"], [AC_DEFINE([HAVE_X11], 1, [Have x11?])])


More information about the Spice-commits mailing list