mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
configure.in:
Check for crypt() in libc first (bug#16478)
This commit is contained in:
parent
2c2ee32b93
commit
2d8f8ac6e1
1 changed files with 2 additions and 3 deletions
|
@ -827,9 +827,8 @@ AC_CHECK_FUNC(yp_get_default_domain, ,
|
|||
AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open))
|
||||
# This may get things to compile even if bind-8 is installed
|
||||
AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind))
|
||||
# For crypt() on Linux
|
||||
AC_CHECK_LIB(crypt, crypt)
|
||||
AC_CHECK_FUNC(crypt, AC_DEFINE([HAVE_CRYPT], [1], [crypt]))
|
||||
# Check if crypt() exists in libc or libcrypt, sets LIBS if needed
|
||||
AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(HAVE_CRYPT, 1, [crypt]))
|
||||
|
||||
# For sem_xxx functions on Solaris 2.6
|
||||
AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(posix4, sem_init))
|
||||
|
|
Loading…
Reference in a new issue