summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2007-04-04 07:44:12 -0400
committerunknown <cmiller@zippy.cornsilk.net>2007-04-04 07:44:12 -0400
commitc717287c22f2e18b31338d6ac7af5bf9c97e0b1f (patch)
treec6a5628b2901967381d1720c72fb0096fda0fb11 /configure.in
parent2879da7f847eeda8ebf7cdad769f665fe95f5259 (diff)
downloadmariadb-git-c717287c22f2e18b31338d6ac7af5bf9c97e0b1f.tar.gz
Backport:
B-g#27427: resolveip fails on hostnames with a leading digit We need inet_aton for the extra/resolveip tool. Some OSes put this in nonstandard libraries. configure.in: We need inet_aton for the extra/resolveip tool.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 13d2b50d7fa..f1a71d49359 100644
--- a/configure.in
+++ b/configure.in
@@ -791,6 +791,7 @@ AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open))
AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind))
# Check if crypt() exists in libc or libcrypt, sets LIBS if needed
AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(HAVE_CRYPT, 1, [crypt]))
+AC_SEARCH_LIBS(inet_aton, [socket nsl resolv])
# For the sched_yield() function on Solaris
AC_CHECK_FUNC(sched_yield, , AC_CHECK_LIB(posix4, sched_yield))