diff options
author | monty@hundin.mysql.fi <> | 2002-03-22 01:03:34 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-03-22 01:03:34 +0200 |
commit | 70099b2143bf05a6161e69539f456be30fec2487 (patch) | |
tree | 932b64f535192a08e083a9360ec58924df455417 /configure.in | |
parent | 288f81ce0745ac61f91fc219003081d2f1816c26 (diff) | |
download | mariadb-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.in | 8 |
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)) |