From: Kalev Lember Date: Sun, 5 Jun 2011 11:26:12 +0000 (+0300) Subject: configure.ac: Print qsort_r result only once X-Git-Tag: 2.29.8~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=886a3499e1c886d4320617f6272e03d6d77efdbc;p=platform%2Fupstream%2Fglib.git 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. --- 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)