[gparted] Add autoconf checking messages for two checks



commit 12d2cad682f1da06e2c59459ba73d2715cb1e615
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sun Mar 10 12:55:27 2013 +0000

    Add autoconf checking messages for two checks
    
    Make the generated configure script additionally report these two checks
    with their outcome:
        checking for gtk_show_uri function... yes
        checking for Gtk::MessageDialog::get_message_area() method... yes

 configure.ac |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9fdd861..9bc57e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -317,15 +317,26 @@ AC_LANG_POP([C++])
 
 
 dnl GTKMM 2.16 needed for gtk_show_uri()
-PKG_CHECK_EXISTS([gtkmm-2.4 >= 2.16.0],
-  [AC_DEFINE([HAVE_GTK_SHOW_URI], 1, [Define to 1 if you have gtk_show_uri])],
-  [])
+AC_MSG_CHECKING([for gtk_show_uri function])
+PKG_CHECK_EXISTS(
+       [gtkmm-2.4 >= 2.16.0],
+       [AC_DEFINE([HAVE_GTK_SHOW_URI], 1, [Define to 1 if gtkmm provides gtk_show_uri() function.])
+        AC_MSG_RESULT([yes])
+       ],
+       [AC_MSG_RESULT([no])]
+)
 
 
 dnl Check for gtkmm >= 2.22 to determine availability of Gtk::MessageDialog::get_message_area().
-PKG_CHECK_EXISTS([gtkmm-2.4 >= 2.22.0],
-  [AC_DEFINE([HAVE_GET_MESSAGE_AREA], 1, [Define if gtkmm provides Gtk::MessageDialog::get_message_area() 
function.])],
-  [])
+AC_MSG_CHECKING([for Gtk::MessageDialog::get_message_area() method])
+PKG_CHECK_EXISTS(
+       [gtkmm-2.4 >= 2.22.0],
+       [AC_DEFINE([HAVE_GET_MESSAGE_AREA], 1,
+                  [Define to 1 if gtkmm provides Gtk::MessageDialog::get_message_area() method.])
+        AC_MSG_RESULT([yes])
+       ],
+       [AC_MSG_RESULT([no])]
+)
 
 
 dnl======================


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