From: Bruno Haible Date: Sun, 8 May 2011 11:10:22 +0000 (+0200) Subject: getpagesize: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b5e506d9d07a85d4f7f3476b693a6bcc22fd585;p=pspp 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. --- diff --git a/ChangeLog b/ChangeLog index b1c66fd170..3291e64244 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-08 Bruno Haible + + 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. + 2011-05-08 Bruno Haible getopt: Move AC_LIBOBJ invocations to module description. diff --git a/m4/getpagesize.m4 b/m4/getpagesize.m4 index 79dfbbe493..f7ac1ef69d 100644 --- a/m4/getpagesize.m4 +++ b/m4/getpagesize.m4 @@ -1,4 +1,4 @@ -# getpagesize.m4 serial 8 +# getpagesize.m4 serial 9 dnl Copyright (C) 2002, 2004-2005, 2007, 2009-2011 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation @@ -24,7 +24,6 @@ AC_DEFUN([gl_FUNC_GETPAGESIZE], case "$host_os" in mingw*) REPLACE_GETPAGESIZE=1 - AC_LIBOBJ([getpagesize]) ;; esac dnl Also check whether it's declared. diff --git a/modules/getpagesize b/modules/getpagesize index 6ad162083c..015fbe6bdf 100644 --- a/modules/getpagesize +++ b/modules/getpagesize @@ -10,6 +10,9 @@ unistd configure.ac: gl_FUNC_GETPAGESIZE +if test $REPLACE_GETPAGESIZE = 1; then + AC_LIBOBJ([getpagesize]) +fi gl_UNISTD_MODULE_INDICATOR([getpagesize]) Makefile.am: