Commit 5c3ea741 authored by Niels Möller's avatar Niels Möller

(AC_PATH_X): Check not only $no_x, also check if

$x_includes and $x_libraries are empty before adding new flags.

Rev: ChangeLog:1.527.2.8
Rev: configure.ac:1.12.2.2
parent 5d5f5e2e
2004-07-11 Niels Mller <nisse@lysator.liu.se>
Copied 2003-01-14 fix from the head branch:
* configure.ac (AC_PATH_X): Check not only $no_x, also check if
$x_includes and $x_libraries are empty before adding new flags.
2003-09-20 Niels Mller <nisse@cuckoo.hack.org>
* Released lsh-1.4.3.
......
......@@ -406,9 +406,13 @@ fi
AC_PATH_X
if test -z "$no_x" ; then
if test -n "$x_includes" ; then
CPPFLAGS="$CPPFLAGS -I$x_includes"
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment