summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-03-22 01:03:34 +0200
committermonty@hundin.mysql.fi <>2002-03-22 01:03:34 +0200
commit70099b2143bf05a6161e69539f456be30fec2487 (patch)
tree932b64f535192a08e083a9360ec58924df455417 /configure.in
parent288f81ce0745ac61f91fc219003081d2f1816c26 (diff)
downloadmariadb-git-70099b2143bf05a6161e69539f456be30fec2487.tar.gz
Fix for load data infile when no active database
Fix for Solaris and gethostbyname_r
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 417870c3dcd..c6cda3c157f 100644
--- a/configure.in
+++ b/configure.in
@@ -647,9 +647,11 @@ AC_CHECK_HEADERS(fcntl.h float.h floatingpoint.h ieeefp.h limits.h \
#--------------------------------------------------------------------
AC_CHECK_LIB(m, floor, [], AC_CHECK_LIB(m, __infinity))
-AC_CHECK_FUNC(gethostbyname_r, [], [
- AC_CHECK_LIB(nsl_r, gethostbyname_r, [],
- AC_CHECK_LIB(nsl, gethostbyname_r))])
+
+AC_CHECK_LIB(nsl_r, gethostbyname_r, [],
+ AC_CHECK_LIB(nsl, gethostbyname_r))
+AC_CHECK_FUNC(gethostbyname_r)
+
AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
AC_CHECK_FUNC(yp_get_default_domain, ,
AC_CHECK_LIB(nsl, yp_get_default_domain))