summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-11-04 18:13:22 +0100
committerBruno Haible <bruno@clisp.org>2011-11-04 18:13:22 +0100
commitab7fdecd178550fb78d17c44d94b9c3aa7102e18 (patch)
treefefd0edc2ea7f40823671e11ecb488eb4b350568 /modules
parentd28182354554d3778e7a5e39816638c8eefa4afd (diff)
downloadgnulib-ab7fdecd178550fb78d17c44d94b9c3aa7102e18.tar.gz
renameat: Optimize code size.
* modules/renameat (configure.ac): Don't compile at-func2.c if REPLACE_RENAMEAT is 1.
Diffstat (limited to 'modules')
-rw-r--r--modules/renameat2
1 files changed, 2 insertions, 0 deletions
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])