Skip to content
Snippets Groups Projects
Commit bb2da128 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Improved readdir_r() test.

Rev: src/modules/files/configure.in:1.50
parent e33f4c36
No related branches found
No related tags found
Loading
# $Id: configure.in,v 1.49 1998/05/24 19:39:02 grubba Exp $ # $Id: configure.in,v 1.50 1998/06/28 16:15:02 grubba Exp $
AC_INIT(file.c) AC_INIT(file.c)
AC_CONFIG_HEADER(file_machine.h) AC_CONFIG_HEADER(file_machine.h)
...@@ -145,14 +145,23 @@ int main() ...@@ -145,14 +145,23 @@ int main()
exit(0); exit(0);
} }
} }
],pike_cv_func_solaris_style_readdir_r=yes,pike_cv_func_solaris_style_readdir_r=no) ],pike_cv_func_solaris_style_readdir_r=yes,
pike_cv_func_solaris_style_readdir_r=no,
[
ac_cv_func_readdir_r=no
pike_cv_func_solaris_style_readdir_r=unknown
])
]) ])
if test x$pike_cv_func_solaris_style_readdir_r = xyes ; then if test x$pike_cv_func_solaris_style_readdir_r = xyes ; then
AC_MSG_RESULT(Solaris style) AC_MSG_RESULT(Solaris style)
AC_DEFINE(HAVE_SOLARIS_READDIR_R) AC_DEFINE(HAVE_SOLARIS_READDIR_R)
else else
if test x$pike_cv_func_solaris_style_readdir_r = xno ; then
AC_MSG_RESULT(HPUX style) AC_MSG_RESULT(HPUX style)
AC_DEFINE(HAVE_HPUX_READDIR_R) AC_DEFINE(HAVE_HPUX_READDIR_R)
else
AC_MSG_RESULT(Unknown)
fi
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment