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
76dc7b26
Commit
76dc7b26
authored
Dec 04, 1998
by
Kurt Zeilenga
Browse files
Add checks for gethostby{name,addr}_r. Only should be used if
linking with $LTHREAD_LIBS.
parent
514c44a5
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
configure
View file @
76dc7b26
This diff is collapsed.
Click to expand it.
configure.in
View file @
76dc7b26
...
...
@@ -646,14 +646,12 @@ int main(argc, argv)
dnl with $LTHREAD_LIBS
dnl
AC_CHECK_FUNCS( \
feof_unlocked \
unlocked_feof \
putc_unlocked \
unlocked_putc \
ftrylockfile \
flockfile \
gmtime_r \
strtok_r \
gmtime_r \
gethostbyaddr_r gethostbyname_r \
feof_unlocked unlocked_feof \
putc_unlocked unlocked_putc \
flockfile ftrylockfile \
)
dnl restore flags
...
...
include/portable.h.in
View file @
76dc7b26
...
...
@@ -297,6 +297,12 @@ is provided ``as is'' without express or implied warranty.
/* Define if you have the getdtablesize function. */
#undef HAVE_GETDTABLESIZE
/* Define if you have the gethostbyaddr_r function. */
#undef HAVE_GETHOSTBYADDR_R
/* Define if you have the gethostbyname_r function. */
#undef HAVE_GETHOSTBYNAME_R
/* Define if you have the gethostname function. */
#undef HAVE_GETHOSTNAME
...
...
Write
Preview
Markdown
is supported
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