Commit 43c46892 authored by Ondřej Surý's avatar Ondřej Surý

Remove HAVE_FLOCKFILE and HAVE_GETCUNLOCKED custom defines in favour of AC_CHECK_FUNCS call

parent 5d8f9bf9
......@@ -17,12 +17,6 @@
***/
@TOP@
/** define if flockfile() is available */
#undef HAVE_FLOCKFILE
/** define if getc_unlocked() is available */
#undef HAVE_GETCUNLOCKED
/** define if the system has a random number generating device */
#undef PATH_RANDOMDEV
......
......@@ -17,12 +17,6 @@
*** it does not get installed.
***/
/** define if flockfile() is available */
#undef HAVE_FLOCKFILE
/** define if getc_unlocked() is available */
#undef HAVE_GETCUNLOCKED
/** define if the system has a random number generating device */
#undef PATH_RANDOMDEV
......
......@@ -16943,24 +16943,6 @@ _ACEOF
fi
#
# flockfile is usually provided by pthreads, but we may want to use it
# even if compiled with --disable-threads. getc_unlocked might also not
# be defined.
#
ac_fn_c_check_func "$LINENO" "flockfile" "ac_cv_func_flockfile"
if test "x$ac_cv_func_flockfile" = xyes; then :
$as_echo "#define HAVE_FLOCKFILE 1" >>confdefs.h
fi
ac_fn_c_check_func "$LINENO" "getc_unlocked" "ac_cv_func_getc_unlocked"
if test "x$ac_cv_func_getc_unlocked" = xyes; then :
$as_echo "#define HAVE_GETCUNLOCKED 1" >>confdefs.h
fi
#
# Large File
#
......
......@@ -1526,14 +1526,6 @@ AC_SUBST(ZLIB)
#
AC_CHECK_LIB(scf, smf_enable_instance)
#
# flockfile is usually provided by pthreads, but we may want to use it
# even if compiled with --disable-threads. getc_unlocked might also not
# be defined.
#
AC_CHECK_FUNC(flockfile, AC_DEFINE(HAVE_FLOCKFILE),)
AC_CHECK_FUNC(getc_unlocked, AC_DEFINE(HAVE_GETCUNLOCKED),)
#
# Large File
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment