diff --git a/configure b/configure index 864b747919..6c17ac625a 100755 --- a/configure +++ b/configure @@ -5871,7 +5871,7 @@ if [ "$CFG_GETIFADDRS" != "no" ]; then fi # find if the platform provides thread-safe CLOEXEC support -if compileTest unix/cloexec; then +if compileTest unix/cloexec "cloexec"; then CFG_CLOEXEC=yes fi