Work around declaration collisions on Minix.
[gnulib.git] / modules / renameat
index cefdb13..6e1012a 100644 (file)
@@ -20,6 +20,10 @@ save-cwd         [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 
 configure.ac:
 gl_FUNC_RENAMEAT
+if test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1; then
+  AC_LIBOBJ([renameat])
+  AC_LIBOBJ([at-func2])
+fi
 gl_STDIO_MODULE_INDICATOR([renameat])
 
 Makefile.am: