Remove HAVE_FLOCKFILE and HAVE_GETCUNLOCKED custom defines in favour of AC_CHECK_FUNCS call
This commit is contained in:
@@ -17,12 +17,6 @@
|
|||||||
***/
|
***/
|
||||||
@TOP@
|
@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 */
|
/** define if the system has a random number generating device */
|
||||||
#undef PATH_RANDOMDEV
|
#undef PATH_RANDOMDEV
|
||||||
|
|
||||||
|
|||||||
@@ -17,12 +17,6 @@
|
|||||||
*** it does not get installed.
|
*** 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 */
|
/** define if the system has a random number generating device */
|
||||||
#undef PATH_RANDOMDEV
|
#undef PATH_RANDOMDEV
|
||||||
|
|
||||||
|
|||||||
18
configure
vendored
18
configure
vendored
@@ -16943,24 +16943,6 @@ _ACEOF
|
|||||||
fi
|
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
|
# Large File
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1526,14 +1526,6 @@ AC_SUBST(ZLIB)
|
|||||||
#
|
#
|
||||||
AC_CHECK_LIB(scf, smf_enable_instance)
|
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
|
# Large File
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user