summaryrefslogtreecommitdiff
path: root/modules/unlink
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-22 17:14:51 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:07:03 +0200
commitfdfc1fcada2d062b008aeaa4ae2e2facb69efe19 (patch)
tree6441f4b523138f7e0ff953d5db4c46a8af5d9b6f /modules/unlink
parent1182d8066e62f5338c92bbc203ef53c1d1025e80 (diff)
downloadgnulib-fdfc1fcada2d062b008aeaa4ae2e2facb69efe19.tar.gz
unlink: Respect rules for use of AC_LIBOBJ.
* m4/unlink.m4 (gl_FUNC_UNLINK): Move AC_LIBOBJ invocation from here... * modules/unlink (configure.ac): ... to here.
Diffstat (limited to 'modules/unlink')
-rw-r--r--modules/unlink3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/unlink b/modules/unlink
index 26af43ddcc..63720aaf10 100644
--- a/modules/unlink
+++ b/modules/unlink
@@ -12,6 +12,9 @@ lstat [test $REPLACE_UNLINK = 1]
configure.ac:
gl_FUNC_UNLINK
+if test $REPLACE_UNLINK = 1; then
+ AC_LIBOBJ([unlink])
+fi
gl_UNISTD_MODULE_INDICATOR([unlink])
Makefile.am: