Mercurial > hg > octave-kai > gnulib-hg
view m4/gethostname.m4 @ 5871:8b95519c71b9
* lib/chown.c (rpl_chown): Return -1 on failure.
* m4/chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs of -1.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 20 May 2005 20:57:40 +0000 |
parents | 87c42e194f4a |
children | b867b19bccb3 |
line wrap: on
line source
# gethostname.m4 serial 2 dnl Copyright (C) 2002 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_GETHOSTNAME], [ AC_REPLACE_FUNCS(gethostname) if test $ac_cv_func_gethostname = no; then gl_PREREQ_GETHOSTNAME fi ]) # Prerequisites of lib/gethostname.c. AC_DEFUN([gl_PREREQ_GETHOSTNAME], [ AC_CHECK_FUNCS(uname) ])