diff modules/getpagesize @ 14970:3c854f4a4670

getpagesize: Move AC_LIBOBJ invocations to module description. * m4/getpagesize.m4 (gl_FUNC_GETPAGESIZE): Move AC_LIBOBJ invocation from here... * modules/getpagesize (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sun, 08 May 2011 13:10:22 +0200
parents c98fca1ff8b8
children
line wrap: on
line diff
--- a/modules/getpagesize
+++ b/modules/getpagesize
@@ -10,6 +10,9 @@
 
 configure.ac:
 gl_FUNC_GETPAGESIZE
+if test $REPLACE_GETPAGESIZE = 1; then
+  AC_LIBOBJ([getpagesize])
+fi
 gl_UNISTD_MODULE_INDICATOR([getpagesize])
 
 Makefile.am: