diff options
author | David M. Syzdek <david.syzdek@acsalaska.net> | 2008-10-26 03:52:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-02 15:39:54 -0800 |
commit | 1689c5de8730ea334535337a341db3c7a21ad002 (patch) | |
tree | aed02b7848d38356e7578583745ffbf44851561a /t/t4127-apply-same-fn.sh | |
parent | Merge branch 'maint' (diff) | |
download | tgif-1689c5de8730ea334535337a341db3c7a21ad002.tar.xz |
autoconf: Add link tests to each AC_CHECK_FUNC() test
Update configure.ac to test libraries for getaddrinfo, strcasestr, memmem,
strlcpy, strtoumax, setenv, unsetenv, and mkdtemp. The default compilers
on FreeBSD 4.9-SECURITY and FreeBSD 6.2-RELEASE-p4 do not generate warnings
for missing prototypes unless `-Wall' is used. This behavior renders the
results of AC_CHECK_FUNC() void on these platforms. The test AC_SEARCH_LIBS()
verifies a function is valid by linking to symbol within the system libraries.
Since this pattern needs to be repeated for many functions that are
checked with AC_CHECK_FUNC(), we add GIT_CHECK_FUNC() to drive the two
autoconf macros together.
Signed-off-by: David M. Syzdek <david.syzdek@acsalaska.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4127-apply-same-fn.sh')
0 files changed, 0 insertions, 0 deletions