if there is NO x dir.... still link anyway

SVN revision: 13547
This commit is contained in:
Carsten Haitzler 2005-03-01 08:13:41 +00:00
parent 3a23fa3020
commit 9b33f633f5
1 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,8 @@ if test "x$have_x" = "xyes"; then
fi
if test "x$x_libraries" != "x"; then
x_libs="-L$x_libraries -lX11 -lXext"
else
x_libs="-lX11 -lXext"
fi
AM_CONDITIONAL(BUILD_X11, true)
AC_DEFINE(BUILD_X11, 1, [enabling X11 support])