summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2013-05-06 22:10:25 +0200
committerRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2013-05-06 22:10:25 +0200
commit37690fe74c4c585564c67c1ff7b8be353cf68033 (patch)
treec46df913f63865f53f0058eca0849109b7e4bb01
parent2ce25faffd3ac3767aa52f8d7c71591d9043e3ad (diff)
configure: force ENABLE_QUICKSTART_LIBPNG to None with --enable-headless
Change-Id: I7ab931bb7c4f0d83dd7701650ec0d6a1ef83fda2
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index cda53d4c9ca3..8ec5b84432e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4330,7 +4330,7 @@ if test "$enable_headless" = "yes"; then
test_tde=no
test_kde=no
test_kde4=no
- test_unix_quickstarter=no
+ enable_unix_qstart_libpng=no
enable_cairo_canvas=no
enable_gnome_vfs=no
fi
@@ -9536,7 +9536,9 @@ AC_SUBST(TELEPATHY_LIBS)
dnl ===================================================================
-PKG_CHECK_MODULES( LIBPNG, libpng, ENABLE_QUICKSTART_LIBPNG="TRUE", ENABLE_QUICKSTART_LIBPNG="" )
+if test "$enable_headless" != "yes"; then
+ PKG_CHECK_MODULES( LIBPNG, libpng, ENABLE_QUICKSTART_LIBPNG="TRUE", ENABLE_QUICKSTART_LIBPNG="" )
+fi
AC_SUBST(LIBPNG_LIBS)
AC_SUBST(LIBPNG_CFLAGS)