New upstream version 1.10
[debian/gzip] / m4 / rmdir.m4
index 36c45146f654c422c1afe74f328dc0ea19f23239..a24d845e37b970f578efcad4839e006037b623cc 100644 (file)
@@ -1,4 +1,4 @@
-# rmdir.m4 serial 15
+# rmdir.m4 serial 16
 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,
@@ -33,12 +33,14 @@ 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* | 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" ;;
+                           # Guess yes on Linux systems.
+          linux-* | linux) gl_cv_func_rmdir_works="guessing yes" ;;
+                           # 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])