configure.ac: Check for qsort_r function before running the test program
authorKalev Lember <kalev@smartlink.ee>
Sun, 5 Jun 2011 11:34:33 +0000 (14:34 +0300)
committerKalev Lember <kalev@smartlink.ee>
Sun, 5 Jun 2011 16:38:47 +0000 (19:38 +0300)
commit03441e406c65cdf8fe56e75aa386b5a04235e203
treebf51ddf9c3e1473d5613e3d632b02f600deffa53
parent886a3499e1c886d4320617f6272e03d6d77efdbc
configure.ac: Check for qsort_r function before running the test program

When cross compiling, test programs cannot be run. In order to make it
easier to cross compile for targets that do not have qsort_r(), check
for the function before trying to run the test program.

This avoid having to populate cache with glib_cv_have_qsort_r=no with
e.g. mingw cross compiler.

https://bugzilla.gnome.org/show_bug.cgi?id=651920
configure.ac