Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
cb31c7aa
Commit
cb31c7aa
authored
Jan 13, 1999
by
Kurt Zeilenga
Browse files
Update check for res_search. If not available in $LIBS, check
in -lbind then in -lresolv.
parent
a5653c87
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
acconfig.h
View file @
cb31c7aa
...
...
@@ -100,6 +100,12 @@
/* define if you have ptrdiff_t */
#undef HAVE_PTRDIFF_T
/* define if you have res_search() */
#ifdef __notdef__
/* see second res_search define */
#undef HAVE_RES_SEARCH
#endif
/* define if you have sched_yield() */
#ifdef __notdef__
/* see second sched_yield define */
...
...
configure
View file @
cb31c7aa
This diff is collapsed.
Click to expand it.
configure.in
View file @
cb31c7aa
...
...
@@ -274,8 +274,18 @@ dnl
])
dnl Check for resolver routines
AC_CHECK_LIB(bind, res_search)
AC_CHECK_LIB(resolv, res_search)
AC_CHECK_FUNCS(res_search)
if test $ac_cv_func_res_search = "no" ; then
AC_CHECK_LIB(bind, res_search)
if test $ac_cv_libac_cv_lib_bind_res_search = "yes" ; then
AC_DEFINE(HAVE_RES_SEARCH,1)
else
AC_CHECK_LIB(resolv, res_search)
if test $ac_cv_libac_cv_lib_resolv_res_search = "yes" ; then
AC_DEFINE(HAVE_RES_SEARCH,1)
fi
fi
fi
dnl HP-UX requires -lV3
AC_CHECK_LIB(V3, sigset)
...
...
@@ -1207,7 +1217,6 @@ AC_CHECK_FUNCS( \
memcpy \
memmove \
mkstemp \
res_search \
select \
setpwfile \
setsid \
...
...
include/portable.h.in
View file @
cb31c7aa
...
...
@@ -182,6 +182,12 @@
/* define if you have ptrdiff_t */
#undef HAVE_PTRDIFF_T
/* define if you have res_search() */
#ifdef __notdef__
/* see second res_search define */
#undef HAVE_RES_SEARCH
#endif
/* define if you have sched_yield() */
#ifdef __notdef__
/* see second sched_yield define */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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