renameat: Optimize code size.
authorBruno Haible <bruno@clisp.org>
Fri, 4 Nov 2011 17:13:22 +0000 (18:13 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 4 Nov 2011 17:13:22 +0000 (18:13 +0100)
* modules/renameat (configure.ac): Don't compile at-func2.c if
REPLACE_RENAMEAT is 1.

ChangeLog
modules/renameat

index 8561375..631a886 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-11-04  Bruno Haible  <bruno@clisp.org>
 
+       renameat: Optimize code size.
+       * modules/renameat (configure.ac): Don't compile at-func2.c if
+       REPLACE_RENAMEAT is 1.
+
+2011-11-04  Bruno Haible  <bruno@clisp.org>
+
        openat tests: Fix file list.
        * modules/openat-tests (Files): Add tests/test-open.h.
 
index ddf2350..5fde86e 100644 (file)
@@ -24,6 +24,8 @@ configure.ac:
 gl_FUNC_RENAMEAT
 if test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1; then
   AC_LIBOBJ([renameat])
+fi
+if test $HAVE_RENAMEAT = 0; then
   AC_LIBOBJ([at-func2])
 fi
 gl_STDIO_MODULE_INDICATOR([renameat])