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
LSH
lsh
Commits
000a1bf3
Commit
000a1bf3
authored
Nov 07, 2008
by
Niels Möller
Browse files
* configure.ac: Try a different workaround for libXau on Solaris-5.8.
Rev: ChangeLog:1.1003 Rev: configure.ac:1.90
parent
d76eb5c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
000a1bf3
2008-11-07 Niels Mller <nisse@lysator.liu.se>
* configure.ac: Try a different workaround for libXau on
Solaris-5.8.
* src/pty-helper.c (pty_send_message): Set msg_control to NULL if
controllen is 0, to make FreeBSD happy.
...
...
configure.ac
View file @
000a1bf3
...
...
@@ -440,7 +440,8 @@ fi
# X11 stuff. We only need Xauth, usually located in libXau.
# FIXME: Use AC_PATH_XTRA instead?
# FIXME: Use AC_PATH_XTRA instead?
AC_PATH_X
if test -z "$no_x" ; then
...
...
@@ -448,15 +449,23 @@ if test -z "$no_x" ; then
CPPFLAGS="$CPPFLAGS -I$x_includes"
fi
if test -n "$x_libraries" ; then
# Kludge for On Solaris-5.8, AC_PATH_X seems to pick up headers
# and libraries i /usr/include and /usr/lib, which doesn't work
# because /usr/lib contains symlinks to most libraries, but not
# for libXau which is the one we need.
if test x$x_libraries = x/usr/lib ; then
if test -f /usr/openwin/lib/libXau.so ; then
x_libraries=/usr/openwin/lib
fi
fi
LDFLAGS="$LDFLAGS -L$x_libraries"
LSH_RPATH_ADD($x_libraries)
fi
fi
# On Solaris 5.8, it seams Xauth-related functions are in libX11, not
# libXau.
AC_CHECK_HEADERS(X11/Xauth.h)
AC_SEARCH_LIBS(XauGetAuthByAddr, Xau
X11
)
AC_SEARCH_LIBS(XauGetAuthByAddr, Xau)
LSH_RPATH_FIX
...
...
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