]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove HAVE_FLOCKFILE and HAVE_GETCUNLOCKED custom defines in favour of AC_CHECK_FUNC...
authorOndřej Surý <ondrej@sury.org>
Wed, 5 Sep 2018 11:42:19 +0000 (13:42 +0200)
committerOndřej Surý <ondrej@sury.org>
Fri, 7 Sep 2018 10:17:40 +0000 (12:17 +0200)
acconfig.h
config.h.in
configure
configure.in

index 8d667442bcbc991adfa1832205070279c97bb421..d3b0ee4d3a5ffb4e115bf15686f091dcfdb10452 100644 (file)
  ***/
 @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
 
index e838e776a417615b75e0fd851461b912fc01db8a..9c7a06992b0cec32b8b10639e8c32a79a80cf330 100644 (file)
  *** 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
 
index 193423fb7fdee0b7d2d9c4d8d2fb08969761f8ac..00ca246ca0ca24063b9d66cacf5aa4b1918bc947 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
 #
index c6e1489964645565508c74239c7506aa7f39c9e4..652dd201992322ed0d5c7c656604a608c63bf285 100644 (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
 #