New upstream version 1.9
[debian/gzip] / m4 / rmdir.m4
index ebb3b5db19620a929b9b978b033e776dd2ea0917..36c45146f654c422c1afe74f328dc0ea19f23239 100644 (file)
@@ -1,5 +1,5 @@
-# rmdir.m4 serial 13
-dnl Copyright (C) 2002, 2005, 2009-2016 Free Software Foundation, Inc.
+# rmdir.m4 serial 15
+dnl Copyright (C) 2002, 2005, 2009-2018 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -33,10 +33,12 @@ AC_DEFUN([gl_FUNC_RMDIR],
     ]])],
        [gl_cv_func_rmdir_works=yes], [gl_cv_func_rmdir_works=no],
        [case "$host_os" in
-                  # Guess yes on glibc systems.
-          *-gnu*) gl_cv_func_rmdir_works="guessing yes" ;;
-                  # If we don't know, assume the worst.
-          *)      gl_cv_func_rmdir_works="guessing no" ;;
+                         # Guess yes on glibc systems.
+          *-gnu* | gnu*) gl_cv_func_rmdir_works="guessing yes" ;;
+                         # Guess no on native Windows.
+          mingw*)        gl_cv_func_rmdir_works="guessing no" ;;
+                         # If we don't know, assume the worst.
+          *)             gl_cv_func_rmdir_works="guessing no" ;;
         esac
        ])
      rm -rf conftest.dir conftest.file])