Merge branch 'gfio' into gfio-int
[fio.git] / configure
index 4e2202fec75ea6f27c133ca175e57e8259a40a40..4b71afd6571fe39fe407f07feeeb74d7bc9564b7 100755 (executable)
--- a/configure
+++ b/configure
@@ -871,6 +871,22 @@ if compile_prog "" "" "strsep"; then
 fi
 echo "strsep                        $strsep"
 
+##########################################
+# strcasestr() probe
+strcasestr="no"
+cat > $TMPC << EOF
+#include <string.h>
+int main(int argc, char **argv)
+{
+  strcasestr(NULL, NULL);
+  return 0;
+}
+EOF
+if compile_prog "" "" "strcasestr"; then
+  strcasestr="yes"
+fi
+echo "strcasestr                    $strcasestr"
+
 ##########################################
 # getopt_long_only() probe
 getopt_long_only="no"
@@ -939,7 +955,7 @@ fi
 echo "__thread                      $tls_thread"
 
 ##########################################
-# Whether or not __thread is supported for TLS
+# Check if we have required gtk/glib support for gfio
 if test "$gfio" = "yes" ; then
   cat > $TMPC << EOF
 #include <glib.h>
@@ -979,7 +995,7 @@ else
 fi
 fi
 
-echo "gfio                          $gfio"
+echo "gtk 2.18 or higher            $gfio"
 
 # Check whether we have getrusage(RUSAGE_THREAD)
 rusage_thread="no"
@@ -1113,6 +1129,9 @@ fi
 if test "$strsep" = "yes" ; then
   output_sym "CONFIG_STRSEP"
 fi
+if test "$strcasestr" = "yes" ; then
+  output_sym "CONFIG_STRCASESTR"
+fi
 if test "$getopt_long_only" = "yes" ; then
   output_sym "CONFIG_GETOPT_LONG_ONLY"
 fi