From a333c33f7e19ce0bc230ca32ce25063640df84cd Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 22 Mar 2002 01:03:34 +0200 Subject: 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 --- configure.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'configure.in') 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)) -- cgit v1.2.1