summaryrefslogtreecommitdiff
path: root/modules/close
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-07-25 23:47:31 +0200
committerBruno Haible <bruno@clisp.org>2011-07-25 23:59:48 +0200
commit1ed055e3d9cc6e80839fa0b56cca2a5b97462524 (patch)
tree3a17d81d07eef7c7879363b4e9ae33d6aeb6f6b9 /modules/close
parentb6a7ab350dba501b3d8f6527865cdb43cc0e2520 (diff)
downloadgnulib-1ed055e3d9cc6e80839fa0b56cca2a5b97462524.tar.gz
close: Move AC_LIBOBJ invocation to module description.
* m4/close.m4 (gl_REPLACE_CLOSE): Remove macro. (gl_FUNC_CLOSE): Instead of gl_REPLACE_CLOSE, just set REPLACE_CLOSE to 1. * modules/close (configure.ac): Invoke AC_LIBOBJ.
Diffstat (limited to 'modules/close')
-rw-r--r--modules/close3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/close b/modules/close
index 9f1028b990..adec0401e3 100644
--- a/modules/close
+++ b/modules/close
@@ -11,6 +11,9 @@ fd-hook [test $REPLACE_CLOSE = 1]
configure.ac:
gl_FUNC_CLOSE
+if test $REPLACE_CLOSE = 1; then
+ AC_LIBOBJ([close])
+fi
gl_UNISTD_MODULE_INDICATOR([close])
Makefile.am: