--- configure.orig 2016-06-26 22:49:47 UTC +++ configure @@ -1913,6 +1913,8 @@ else cat > conftest.$ac_ext < +#include #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" @@ -6031,7 +6033,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-ldl $LIBS" +LIBS=" $LIBS" cat > conftest.$ac_ext <&6 @@ -7586,7 +7588,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lpthread $LIBS" +LIBS="-pthread $LIBS" cat > conftest.$ac_ext <&6 @@ -7633,7 +7635,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-ldl $LIBS" +LIBS=" $LIBS" cat > conftest.$ac_ext <&6 @@ -9837,7 +9839,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lpthread $LIBS" +LIBS="-pthread $LIBS" cat > conftest.$ac_ext <&6