mirror of
https://github.com/samba-team/samba.git
synced 2025-11-29 16:23:52 +03:00
r18455: check if getdents() and getdirentries() are available.
(only for the nicer configure output) metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
f9f14a9429
commit
d53eb6bd10
@@ -11,6 +11,7 @@ AC_CACHE_CHECK([for broken readdir],libreplace_READDIR_NEEDED,[
|
|||||||
# try to replace with getdents() if needed
|
# try to replace with getdents() if needed
|
||||||
#
|
#
|
||||||
if test x"$libreplace_READDIR_NEEDED" = x"yes"; then
|
if test x"$libreplace_READDIR_NEEDED" = x"yes"; then
|
||||||
|
AC_CHECK_FUNCS(getdents)
|
||||||
AC_CACHE_CHECK([for replacing readdir using getdents()],libreplace_READDIR_GETDENTS,[
|
AC_CACHE_CHECK([for replacing readdir using getdents()],libreplace_READDIR_GETDENTS,[
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
@@ -32,6 +33,7 @@ fi
|
|||||||
# try to replace with getdirentries() if needed
|
# try to replace with getdirentries() if needed
|
||||||
#
|
#
|
||||||
if test x"$libreplace_READDIR_NEEDED" = x"yes"; then
|
if test x"$libreplace_READDIR_NEEDED" = x"yes"; then
|
||||||
|
AC_CHECK_FUNCS(getdirentries)
|
||||||
AC_CACHE_CHECK([for replacing readdir using getdirentries()],libreplace_READDIR_GETDIRENTRIES,[
|
AC_CACHE_CHECK([for replacing readdir using getdirentries()],libreplace_READDIR_GETDIRENTRIES,[
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user