summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-03-22 01:03:34 +0200
committerunknown <monty@hundin.mysql.fi>2002-03-22 01:03:34 +0200
commita333c33f7e19ce0bc230ca32ce25063640df84cd (patch)
tree932b64f535192a08e083a9360ec58924df455417 /configure.in
parentb70f53b28940008233995d885584c2e0984e3bf4 (diff)
downloadmariadb-git-a333c33f7e19ce0bc230ca32ce25063640df84cd.tar.gz
Fix for load data infile when no active database
Fix for Solaris and gethostbyname_r Docs/manual.texi: Changelog client/mysql.cc: Cleanup configure.in: Fix for Solaris and gethostbyname_r sql/log_event.h: Fix for load data infile when no active database sql/sql_load.cc: Fix for load data infile when no active database
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))