]>
Commit | Line | Data |
---|---|---|
cb57527c | 1 | --- mysql-3.23.51/configure.in.orig Mon Jun 3 12:39:03 2002 |
2 | +++ mysql-3.23.51/configure.in Thu Jun 13 09:41:57 2002 | |
3 | @@ -675,16 +675,14 @@ | |
4 | ||
5 | AC_CHECK_LIB(m, floor, [], AC_CHECK_LIB(m, __infinity)) | |
6 | ||
7 | -AC_CHECK_LIB(nsl_r, gethostbyname_r, [], | |
8 | - AC_CHECK_LIB(nsl, gethostbyname_r)) | |
9 | -AC_CHECK_FUNC(gethostbyname_r) | |
10 | +AC_CHECK_FUNC(gethostbyname_r, [], | |
11 | + [AC_CHECK_LIB(nsl_r, gethostbyname_r, | |
12 | + [AC_CHECK_LIB(nsl, gethostbyname_r)] | |
13 | + )] | |
14 | +) | |
15 | ||
14db007b JB |
16 | AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt)) |
17 | -AC_CHECK_FUNC(yp_get_default_domain, , | |
18 | - AC_CHECK_LIB(nsl, yp_get_default_domain)) | |
19 | AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open)) | |
20 | -# This may get things to compile even if bind-8 is installed | |
21 | -AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind)) | |
22 | # For crypt() on Linux | |
23 | AC_CHECK_LIB(crypt, crypt) | |
24 | AC_CHECK_FUNC(crypt, AC_DEFINE(HAVE_CRYPT)) |