Mercurial > hg > octave-nkf > gnulib-hg
changeset 8152:51a661790093
* m4/unlinkdir.m4 (gl_UNLINKDIR): Fix m4 quoting bug.
* m4/unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Likewise.
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
---|---|
date | Tue, 13 Feb 2007 23:20:02 +0000 |
parents | ac756949b4b0 |
children | 0f48fdcc7a64 |
files | ChangeLog m4/unlink-busy.m4 m4/unlinkdir.m4 |
diffstat | 3 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- a/m4/unlink-busy.m4 +++ b/m4/unlink-busy.m4 @@ -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_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
--- a/m4/unlinkdir.m4 +++ b/m4/unlinkdir.m4 @@ -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 @@ # 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.]);;