diff options
author | NIIBE Yutaka <[email protected]> | 2023-05-17 02:31:41 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-05-17 02:31:41 +0000 |
commit | 316fae4401975e26d6b7e6b89534133c7b3df25c (patch) | |
tree | 481fef102ea783d41fc5351467f03dce40326201 /configure.ac | |
parent | Don't use ASSUAN_INVALID_PID for assuan_pid_t value. (diff) | |
download | libassuan-316fae4401975e26d6b7e6b89534133c7b3df25c.tar.gz libassuan-316fae4401975e26d6b7e6b89534133c7b3df25c.zip |
w32: File handle passing to server is now supported.
* configure.ac: Fix for MinGW.
* src/assuan-buffer.c (assuan_sendfd): Fix runtime check.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
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 |