aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 12 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index b5c2cc7..a46e933 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,11 +132,7 @@ LT_LANG([Windows Resource])
# For now we hardcode the use of version scripts. It would be better
# to write a test for this or even implement this within libtool.
have_ld_version_script=no
-check_descriptor_passing=yes
case "${host}" in
- *-*-cygwin*)
- check_descriptor_passing=no
- ;;
*-*-linux*)
have_ld_version_script=yes
;;
@@ -322,6 +318,18 @@ AC_TYPE_SIZE_T
gl_TYPE_SOCKLEN_T
+# Windows has different method for "descriptor passing" (actually,
+# it's file handle passing), so, don't check the feature.
+check_descriptor_passing=yes
+case "${host}" in
+ *-*-cygwin*)
+ check_descriptor_passing=no
+ ;;
+ *-mingw32*)
+ check_descriptor_passing=no
+ ;;
+esac
+
if test $check_descriptor_passing != yes; then
use_descriptor_passing=no
else