diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-08 11:48:45 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:05 +0200 |
commit | 6531b40e89ecb9a18480e87633f61b16286abe7e (patch) | |
tree | 7f1078b3359781ffe468ff4b574c4222891cb5fd /m4/gethostname.m4 | |
parent | 82be3c7a98c3e607ab82ab7380fc15624c7bcba2 (diff) | |
download | gnulib-6531b40e89ecb9a18480e87633f61b16286abe7e.tar.gz |
gethostname: Move AC_LIBOBJ invocations to module description.
* m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): Move AC_LIBOBJ and
gl_PREREQ_GETHOSTNAME invocations from here...
* modules/gethostname (configure.ac): ... to here.
Diffstat (limited to 'm4/gethostname.m4')
-rw-r--r-- | m4/gethostname.m4 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/m4/gethostname.m4 b/m4/gethostname.m4 index b813c36fb6..8ea6329a20 100644 --- a/m4/gethostname.m4 +++ b/m4/gethostname.m4 @@ -1,4 +1,4 @@ -# gethostname.m4 serial 11 +# gethostname.m4 serial 12 dnl Copyright (C) 2002, 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, @@ -37,9 +37,7 @@ AC_DEFUN([gl_FUNC_GETHOSTNAME], AC_SUBST([GETHOSTNAME_LIB]) if test "$ac_cv_func_gethostname" = no; then - AC_LIBOBJ([gethostname]) HAVE_GETHOSTNAME=0 - gl_PREREQ_GETHOSTNAME fi dnl Also provide HOST_NAME_MAX when <limits.h> lacks it. |