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
14b92903
Commit
14b92903
authored
Nov 10, 2008
by
Niels Möller
Browse files
Use AC_CHECK_LIB to check for libXau.
Rev: ChangeLog:1.1005 Rev: configure.ac:1.92
parent
3a34fbe7
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
14b92903
2008-11-10 Niels Mller <nisse@lysator.liu.se>
* configure.ac: Use AC_CHECK_LIB to check for libXau.
2008-11-09 Niels Mller <nisse@lysator.liu.se>
* src/testsuite/functions.sh: Explicitly export DISPLAY.
...
...
configure.ac
View file @
14b92903
...
...
@@ -448,25 +448,14 @@ if test -z "$no_x" ; then
if test -n "$x_includes" ; 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" = xNONE; then
if test -f /usr/openwin/lib/libXau.so ; then
AC_MSG_WARN([Using X11 libraries in /usr/openwin/lib.])
x_libraries=/usr/openwin/lib
fi
fi
if test -n "$x_libraries" ; then
LDFLAGS="$LDFLAGS -L$x_libraries"
LSH_RPATH_ADD($x_libraries)
fi
fi
AC_CHECK_HEADERS(X11/Xauth.h)
AC_
SEARCH_LIBS(
XauGetAuthByAddr
, Xau
)
AC_
CHECK_LIB([Xau], [
XauGetAuthByAddr
]
)
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