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
d376986c
Commit
d376986c
authored
Sep 21, 1998
by
Kurt Zeilenga
Browse files
Add detection of -lnsl, -lsocket, -linet
parent
3b4931c0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
configure
View file @
d376986c
This diff is collapsed.
Click to expand it.
configure.in
View file @
d376986c
...
...
@@ -205,6 +205,12 @@ AC_PATH_PROG(FINGER, finger, /usr/ucb/finger, $PATH:/usr/ucb)
dnl ----------------------------------------------------------------
dnl Checks for libraries
AC_CHECK_FUNC(socket, :,
[ AC_CHECK_LIB(nsl, gethostname)
AC_CHECK_LIB(socket, socket)
AC_CHECK_LIB(inet, socket)
])
ol_link_threads=no
if test $ol_with_threads = auto -o $ol_with_threads = posix ; then
AC_CHECK_HEADERS(pthread.h sched.h)
...
...
@@ -552,7 +558,6 @@ AC_CHECK_FUNCS( \
mktime \
select \
socket \
strdup \
strerror \
strstr \
strrchr \
...
...
include/portable.h.in
View file @
d376986c
...
...
@@ -193,6 +193,15 @@
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have the inet library (-linet). */
#undef HAVE_LIBINET
/* Define if you have the nsl library (-lnsl). */
#undef HAVE_LIBNSL
/* Define if you have the socket library (-lsocket). */
#undef HAVE_LIBSOCKET
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#endif
...
...
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