mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Solve conflict with mysql's readdir_r check. Both defined HAVE_READDIR_R,
but with different values.
This commit is contained in:
parent
fb39eda0d8
commit
2bd6846adc
@ -5,7 +5,8 @@ dnl This file contains local autoconf functions.
|
||||
sinclude(dynlib.m4)
|
||||
|
||||
AC_DEFUN(PHP_READDIR_R_TYPE,[
|
||||
AC_CHECK_FUNCS(readdir_r)
|
||||
dnl HAVE_READDIR_R is also defined by libmysql
|
||||
AC_CHECK_FUNC(readdir_r,ac_cv_func_readdir_r=yes,ac_cv_func_readdir=no)
|
||||
if test "$ac_cv_func_readdir_r" = "yes"; then
|
||||
AC_CACHE_CHECK(for type of readdir_r, ac_cv_what_readdir_r,[
|
||||
AC_TRY_RUN([
|
||||
|
Loading…
Reference in New Issue
Block a user