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
7384a9f2
Commit
7384a9f2
authored
Sep 05, 2018
by
Ondřej Surý
Browse files
Replace custom HAVE_CATGETS define with AC_CHECK_FUNCS call
parent
78bb5761
Changes
4
Hide whitespace changes
Inline
Side-by-side
acconfig.h
View file @
7384a9f2
...
...
@@ -17,9 +17,6 @@
***/
@
TOP
@
/** define if catgets() is available */
#undef HAVE_CATGETS
/** define if getifaddrs() exists */
#undef HAVE_GETIFADDRS
...
...
config.h.in
View file @
7384a9f2
...
...
@@ -17,9 +17,6 @@
*** it does not get installed.
***/
/** define if catgets() is available */
#undef HAVE_CATGETS
/** define if getifaddrs() exists */
#undef HAVE_GETIFADDRS
...
...
@@ -122,6 +119,9 @@
/* Define to 1 if the compiler supports __builtin_expect. */
#undef HAVE_BUILTIN_EXPECT
/* Define to 1 if you have the `catgets' function. */
#undef HAVE_CATGETS
/* Define to 1 if you have the `chroot' function. */
#undef HAVE_CHROOT
...
...
configure
View file @
7384a9f2
...
...
@@ -17071,11 +17071,16 @@ fi
#
# NLS
#
ac_fn_c_check_func "$LINENO" "catgets" "ac_cv_func_catgets"
for ac_func in catgets
do :
ac_fn_c_check_func "$LINENO" "catgets" "ac_cv_func_catgets"
if test "x$ac_cv_func_catgets" = xyes; then :
$as_echo "#define HAVE_CATGETS 1" >>confdefs.h
cat >>confdefs.h <<_ACEOF
#define HAVE_CATGETS 1
_ACEOF
fi
done
#
...
...
configure.in
View file @
7384a9f2
...
...
@@ -1603,7 +1603,7 @@ AC_SUBST(MKDEPPROG)
#
# NLS
#
AC_CHECK_FUNC
(
catgets
, AC_DEFINE(HAVE_CATGETS),
)
AC_CHECK_FUNC
S([
catgets
]
)
#
# -lxnet buys us one big porting headache... standards, gotta love 'em.
...
...
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