~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to m4/gethostname.m4

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# gethostname.m4 serial 12
2
 
dnl Copyright (C) 2002, 2008-2011 Free Software Foundation, Inc.
 
1
# gethostname.m4 serial 13
 
2
dnl Copyright (C) 2002, 2008-2012 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
40
40
    HAVE_GETHOSTNAME=0
41
41
  fi
42
42
 
43
 
  dnl Also provide HOST_NAME_MAX when <limits.h> lacks it.
 
43
  gl_PREREQ_HOST_NAME_MAX
 
44
])
 
45
 
 
46
# Provide HOST_NAME_MAX when <limits.h> lacks it.
 
47
AC_DEFUN([gl_PREREQ_HOST_NAME_MAX], [
44
48
  dnl - On most Unix systems, use MAXHOSTNAMELEN from <sys/param.h> instead.
45
49
  dnl - On Solaris, Cygwin, BeOS, use MAXHOSTNAMELEN from <netdb.h> instead.
46
50
  dnl - On mingw, use 256, because