Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
43c46892
Commit
43c46892
authored
Sep 05, 2018
by
Ondřej Surý
Browse files
Remove HAVE_FLOCKFILE and HAVE_GETCUNLOCKED custom defines in favour of AC_CHECK_FUNCS call
parent
5d8f9bf9
Changes
4
Hide whitespace changes
Inline
Side-by-side
acconfig.h
View file @
43c46892
...
...
@@ -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
...
...
config.h.in
View file @
43c46892
...
...
@@ -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
...
...
configure
View file @
43c46892
...
...
@@ -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
#
...
...
configure.in
View file @
43c46892
...
...
@@ -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
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment