* m4/unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Likewise.
+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.
-#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.
[
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
-#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,
# 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.]);;