Mercurial > hg > octave-lojdl > gnulib-hg
changeset 14960:e04076de7206
getdomainname: Move AC_LIBOBJ invocations to module description.
* m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Move AC_LIBOBJ and
gl_PREREQ_GETDOMAINNAME invocations from here...
* modules/getdomainname (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 08 May 2011 11:41:07 +0200 |
parents | 27680dcf5c46 |
children | cbd754f1928f |
files | ChangeLog m4/getdomainname.m4 modules/getdomainname |
diffstat | 3 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-08 Bruno Haible <bruno@clisp.org> + + getdomainname: Move AC_LIBOBJ invocations to module description. + * m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Move AC_LIBOBJ and + gl_PREREQ_GETDOMAINNAME invocations from here... + * modules/getdomainname (configure.ac): ... to here. + 2011-05-08 Bruno Haible <bruno@clisp.org> getline: Move AC_LIBOBJ invocations to module description.
--- a/m4/getdomainname.m4 +++ b/m4/getdomainname.m4 @@ -1,4 +1,4 @@ -# getdomainname.m4 serial 6 +# getdomainname.m4 serial 7 dnl Copyright (C) 2002-2003, 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -82,11 +82,6 @@ || test "$gl_cv_func_getdomainname_in_libnsl" = yes; then REPLACE_GETDOMAINNAME=1 fi - - if test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1; then - AC_LIBOBJ([getdomainname]) - gl_PREREQ_GETDOMAINNAME - fi ]) # Prerequisites of lib/getdomainname.c.
--- a/modules/getdomainname +++ b/modules/getdomainname @@ -13,6 +13,10 @@ configure.ac: gl_FUNC_GETDOMAINNAME +if test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1; then + AC_LIBOBJ([getdomainname]) + gl_PREREQ_GETDOMAINNAME +fi gl_UNISTD_MODULE_INDICATOR([getdomainname]) Makefile.am: