[gnome-packagekit] Remove useless ALL_X_LIBS from configure.ac and make xsltproc mandatory



commit e826a81d6b2d136e495c2e597298d070a4ca37ea
Author: Mounir Lamouri (volkmar) <mounir lamouri gmail com>
Date:   Fri Sep 4 16:08:05 2009 +0200

    Remove useless ALL_X_LIBS from configure.ac and make xsltproc mandatory

 configure.ac |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 32b1476..eed1676 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,7 +86,10 @@ CPPFLAGS="$CPPFLAGS -fexceptions"
 dnl ---------------------------------------------------------------------------
 dnl - xsltproc
 dnl ---------------------------------------------------------------------------
-AC_PATH_PROG([XSLTPROC], [xsltproc])
+AC_PATH_PROG(XSLTPROC, xsltproc, no)
+if test "$XSLTPROC" = "no" ; then
+	AC_MSG_ERROR([xsltproc has not been found])
+fi
 
 dnl ---------------------------------------------------------------------------
 dnl - gettext stuff
@@ -207,10 +210,6 @@ AC_SUBST(GUDEV_LIBS)
 AC_PATH_PROG(GCONFTOOL, gconftool-2)
 AM_GCONF_SOURCE_2
 
-AC_PATH_XTRA
-
-ALL_X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
-
 dnl ---------------------------------------------------------------------------
 dnl - Make paths available for source files
 dnl ---------------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]