[glib] configure.ac: Print qsort_r result only once



commit 886a3499e1c886d4320617f6272e03d6d77efdbc
Author: Kalev Lember <kalev smartlink ee>
Date:   Sun Jun 5 14:26:12 2011 +0300

    configure.ac: Print qsort_r result only once
    
    AC_CACHE_CHECK that was introduced in 70a19815 prints the result, so the
    following AC_MSG_RESULT is no longer needed.

 configure.ac |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3511c3f..04a0d05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -614,11 +614,8 @@ main (int argc, char **argv)
     return 1;
 }]])],[glib_cv_have_qsort_r=yes],[glib_cv_have_qsort_r=no])])
 
-if test $glib_cv_have_qsort_r = yes ; then
-  AC_MSG_RESULT([yes])
-    AC_DEFINE(HAVE_QSORT_R, 1, [Define to 1 if you have the 'qsort_r' function])
-else
-  AC_MSG_RESULT([no])
+if test x$glib_cv_have_qsort_r = xyes ; then
+  AC_DEFINE(HAVE_QSORT_R, 1, [Define to 1 if you have the 'qsort_r' function])
 fi
 
 AC_CHECK_SIZEOF(char)



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