Subject: CVS commit: othersrc/usr.bin/tnftp
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/25/2005 06:14:08
Module Name: othersrc
Committed By: lukem
Date: Sat Jun 25 06:14:08 UTC 2005
Modified Files:
othersrc/usr.bin/tnftp: acconfig.h configure.in tnftp.h
Log Message:
* Simplify the detection & replacement of dirname() and fparseln()
and just use AC_REPLACE_FUNCS.
(We don't care if the vendor has a working version in -lgen or -lutil
instead of -lc; they'll get our replacement version in that case).
Fixes build issue on older Darwin where the previous autoconf check
wouldn't find dirname() in the default system libraries.
* Only provide a prototype for dirname() if we can't find one in <libgen.h>
* Search for NS_IN6ADDRSZ instead of IN6ADDRSZ, since we use the former
and not the latter and older Darwin has the former.
(This allows INET6 support to be enabled on Darwin 7.9.0)
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 othersrc/usr.bin/tnftp/acconfig.h
cvs rdiff -r1.16 -r1.17 othersrc/usr.bin/tnftp/configure.in
cvs rdiff -r1.19 -r1.20 othersrc/usr.bin/tnftp/tnftp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.