[ostree] build: Note the status of libsoup-gnome and libarchive



commit a90e09103747eaa07ce32b3a7938ac5dc8e6a38a
Author: Colin Walters <walters verbum org>
Date:   Fri Feb 24 15:40:52 2012 -0500

    build: Note the status of libsoup-gnome and libarchive
    
    So fewer people accidentally compile without one.

 configure.ac |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c976a11..2818907 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,12 +49,15 @@ AC_ARG_WITH(soup-gnome,
 	    AS_HELP_STRING([--without-soup-gnome], [Do not use libsoup-gnome (implies no pull support)]),
 	    :, with_soup_gnome=maybe)
 if test x$with_soup_gnome != xno; then
+    AC_MSG_CHECKING([for $SOUP_DEPENDENCY])
     PKG_CHECK_EXISTS($SOUP_DEPENDENCY, have_soup_gnome=yes, have_soup_gnome=no)
+    AC_MSG_RESULT([$have_soup_gnome])
     if test x$have_soup_gnome = xno && test x$with_soup_gnome != xmaybe; then
        AC_MSG_ERROR([libsoup-gnome is enabled but could not be found])
     fi
     if test x$have_soup_gnome = xyes; then
 	PKG_CHECK_MODULES(OT_DEP_SOUP, $SOUP_DEPENDENCY)
+	with_soup_gnome=yes
     else
 	with_soup_gnome=no
     fi		
@@ -65,13 +68,16 @@ AC_ARG_WITH(libarchive,
 	    AS_HELP_STRING([--without-libarchive], [Do not use libarchive]),
 	    :, with_libarchive=maybe)
 if test x$with_libarchive != xno; then
+    AC_MSG_CHECKING([for $LIBARCHIVE_DEPENDENCY])
     PKG_CHECK_EXISTS($LIBARCHIVE_DEPENDENCY, have_libarchive=yes, have_libarchive=no)
+    AC_MSG_RESULT([$have_libarchive])
     if test x$have_libarchive = xno && test x$with_libarchive != xmaybe; then
        AC_MSG_ERROR([libarchive is enabled but could not be found])
     fi
     if test x$have_libarchive = xyes; then
         AC_DEFINE(HAVE_LIBARCHIVE, 1, [Define if we have libarchive.pc])
 	PKG_CHECK_MODULES(OT_DEP_LIBARCHIVE, $LIBARCHIVE_DEPENDENCY)
+	with_libarchive=yes
     else
 	with_libarchive=no
     fi		
@@ -84,3 +90,12 @@ AC_CONFIG_FILES([
 Makefile
 ])
 AC_OUTPUT
+
+echo "
+    OSTree $VERSION
+    ===============
+
+
+    libsoup (retrieve remote HTTP repositories): $with_soup_gnome
+    libarchive (parse tar files directly): $with_libarchive
+"



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