* m4/unlinkdir.m4 (gl_UNLINKDIR): Fix m4 quoting bug.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 13 Feb 2007 23:20:02 +0000 (23:20 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 13 Feb 2007 23:20:02 +0000 (23:20 +0000)
* m4/unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Likewise.

ChangeLog
m4/unlink-busy.m4
m4/unlinkdir.m4

index e989a476c763046e9cd2cce8d9e6fdf1590d0eb5..7b1ab0729ae0be778b1f3e5b82054747a94e6e50 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/unlinkdir.m4 (gl_UNLINKDIR): Fix m4 quoting bug.
+       * m4/unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Likewise.
+
 2007-02-13  Bruno Haible  <bruno@clisp.org>
 
        * m4/intdiv0.m4 (gt_INTDIV0): Assume ANSI C. Fix underquoting bug.
index cdc5f74a0a367b2e2171e5971c50f3e9c43f5639..687f900da1d6bd941a227ce92d7a91623683d7c8 100644 (file)
@@ -1,10 +1,10 @@
-#serial 10
+#serial 11
 
 dnl From J. David Anglin.
 
 dnl HPUX and other systems can't unlink shared text that is being executed.
 
-# Copyright (C) 2000, 2001, 2004, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2004, 2007 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -16,12 +16,12 @@ AC_DEFUN([gl_FUNC_UNLINK_BUSY_TEXT],
     [
       AC_RUN_IFELSE(
         [AC_LANG_SOURCE(
-           [AC_INCLUDES_DEFAULT
+           [AC_INCLUDES_DEFAULT[
            int
            main (int argc, char **argv)
            {
              return !argc || unlink (argv[0]) != 0;
-           }])],
+           }]])],
       jm_cv_func_unlink_busy_text=yes,
       jm_cv_func_unlink_busy_text=no,
       jm_cv_func_unlink_busy_text=no
index 9ec7e08b717268b0f43db4e2d86533f878f2ee62..6ef7168a37737f29288fbb1d90542fb95d788516 100644 (file)
@@ -1,6 +1,6 @@
-#serial 4
+#serial 5
 
-# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -23,9 +23,9 @@ AC_DEFUN([gl_UNLINKDIR],
   # and might create garbage in the file system,
   # so the code below simply relies on the kernel name and version number.
   case $host in
-  *-*-gnu[0-9]* | \
+  *-*-gnu[[0-9]]* | \
   *-*-linux-* | *-*-linux | \
-  *-*-freebsd2.2* | *-*-freebsd[3-9]* | *-*-freebsd[1-9][0-9]* | \
+  *-*-freebsd2.2* | *-*-freebsd[[3-9]]* | *-*-freebsd[[1-9]][[0-9]]* | \
   *-cygwin)
     AC_DEFINE([UNLINK_CANNOT_UNLINK_DIR], 1,
       [Define to 1 if unlink (dir) cannot possibly succeed.]);;