Bugzilla – Bug 464
Conditionally define MAXHOSTNAMELEN
Last modified: 2012-08-21 11:04:02 CEST
Created attachment 211 [details]
Patch to conditionally define MAXHOSTNAMELEN
NSD uses MAXHOSTNAMELEN, which doesn't exist on some platforms (for example GNU/Hurd). The Debian package contains the attached 3-line patch to set it to a reasonable value on these platforms.
Thanks for your report. We have a macro for checking the MAXHOSTNAMELEN, it was not called by the configure.ac script.
Since we have a common macro for it, lets use it:-) :
--- branches/NSD_3_2/configure.ac 2012-08-21 08:41:09 UTC (rev 3635)
+++ branches/NSD_3_2/configure.ac 2012-08-21 08:58:14 UTC (rev 3636)
@@ -807,6 +807,7 @@
Also applied to trunk.