Make the qsort_r check cross-compile friendly
authorMatthias Clasen <mclasen@redhat.com>
Tue, 6 Dec 2011 12:43:35 +0000 (07:43 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 6 Dec 2011 12:44:55 +0000 (07:44 -0500)
Pointed out by Daniel Mack.

https://bugzilla.gnome.org/show_bug.cgi?id=665607

configure.ac

index 1befff3..ca44747 100644 (file)
@@ -608,7 +608,7 @@ if test x$ac_cv_func_qsort_r = xyes ; then
       return 0;
     else
       return 1;
-  }]])],[glib_cv_have_qsort_r=yes],[glib_cv_have_qsort_r=no])])
+  }]])],[glib_cv_have_qsort_r=yes],[glib_cv_have_qsort_r=no],[glib_cv_have_qsort_r=no])])
 fi
 
 if test x$glib_cv_have_qsort_r = xyes ; then