diff options
Diffstat (limited to 'm4/renameat.m4')
-rw-r--r-- | m4/renameat.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/m4/renameat.m4 b/m4/renameat.m4 index bda7660c4c..6dc7ff31ab 100644 --- a/m4/renameat.m4 +++ b/m4/renameat.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 # See if we need to provide renameat replacement. dnl Copyright (C) 2009 Free Software Foundation, Inc. @@ -19,5 +19,10 @@ AC_DEFUN([gl_FUNC_RENAMEAT], HAVE_RENAMEAT=0 AC_LIBOBJ([renameat]) AC_LIBOBJ([at-func2]) + elif test $REPLACE_RENAME = 1; then + dnl Solaris 9 and 10 have the same bugs in renameat as in rename. + REPLACE_RENAMEAT=1 + AC_LIBOBJ([renameat]) + AC_LIBOBJ([at-func2]) fi ]) |