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
Robert Dubner
OpenLDAP
Commits
12e8624d
Commit
12e8624d
authored
Jan 14, 1999
by
Kurt Zeilenga
Browse files
Import res_search check fixes from devel.
parent
17a7a9df
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
12e8624d
...
...
@@ -2797,7 +2797,7 @@ else
echo
"
$ac_t
""no"
1>&6
fi
if
test
$
ac_cv_lib
ac_cv_lib_bind_res_search
=
"yes"
;
then
if
test
"
$ac_cv_lib_bind_res_search
"
=
"yes"
;
then
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_RES_SEARCH 1
EOF
...
...
@@ -2850,7 +2850,7 @@ else
echo
"
$ac_t
""no"
1>&6
fi
if
test
$
ac_cv_lib
ac_cv_lib_resolv_res_search
=
"yes"
;
then
if
test
"
$ac_cv_lib_resolv_res_search
"
=
"yes"
;
then
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_RES_SEARCH 1
EOF
...
...
configure.in
View file @
12e8624d
...
...
@@ -274,11 +274,11 @@ dnl Check for resolver routines
AC_CHECK_FUNCS(res_search)
if test $ac_cv_func_res_search = "no" ; then
AC_CHECK_LIB(bind, res_search)
if test $
ac_cv_lib
ac_cv_lib_bind_res_search = "yes" ; then
if test
"
$ac_cv_lib_bind_res_search
"
= "yes" ; then
AC_DEFINE(HAVE_RES_SEARCH,1)
else
AC_CHECK_LIB(resolv, res_search)
if test $
ac_cv_lib
ac_cv_lib_resolv_res_search = "yes" ; then
if test
"
$ac_cv_lib_resolv_res_search
"
= "yes" ; then
AC_DEFINE(HAVE_RES_SEARCH,1)
fi
fi
...
...
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