Split the HOST_NAME_MAX detection into a separate m4 macro
authorBen Walton <bwalton@artsci.utoronto.ca>
Sat, 3 Dec 2011 04:04:16 +0000 (23:04 -0500)
committerBruno Haible <bruno@clisp.org>
Sat, 3 Dec 2011 12:26:18 +0000 (13:26 +0100)
commit6456298728da1591044a3237258ca16828a4e45d
treeba0e32a58d1d767f19c6f8a50ae3866c1355a404
parentb572c3a256e7bf1e4eecc8c36448c08093240a6a
Split the HOST_NAME_MAX detection into a separate m4 macro

The sethostname module will rely on this code too, so make it a
separate function.

* m4/gethostname.m4 (gl_PREREQ_HOST_NAME_MAX): Make this a separate
macro so it can be used by the pending sethostname module.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
ChangeLog
m4/gethostname.m4