From: Bruno Haible Date: Fri, 4 Nov 2011 17:13:22 +0000 (+0100) Subject: renameat: Optimize code size. X-Git-Tag: v0.1~1497 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ab7fdecd178550fb78d17c44d94b9c3aa7102e18;p=gnulib.git renameat: Optimize code size. * modules/renameat (configure.ac): Don't compile at-func2.c if REPLACE_RENAMEAT is 1. --- diff --git a/ChangeLog b/ChangeLog index 8561375a09..631a886c3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-11-04 Bruno Haible + + renameat: Optimize code size. + * modules/renameat (configure.ac): Don't compile at-func2.c if + REPLACE_RENAMEAT is 1. + 2011-11-04 Bruno Haible openat tests: Fix file list. diff --git a/modules/renameat b/modules/renameat index ddf2350060..5fde86e23b 100644 --- a/modules/renameat +++ b/modules/renameat @@ -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])