configure.ac: Print qsort_r result only once
authorKalev Lember <kalev@smartlink.ee>
Sun, 5 Jun 2011 11:26:12 +0000 (14:26 +0300)
committerKalev Lember <kalev@smartlink.ee>
Sun, 5 Jun 2011 16:37:49 +0000 (19:37 +0300)
AC_CACHE_CHECK that was introduced in 70a19815 prints the result, so the
following AC_MSG_RESULT is no longer needed.

configure.ac

index 3511c3f..04a0d05 100644 (file)
@@ -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)