aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2006-08-26 11:22:34 +0200
committerReinhard Tartler <siretart@tauware.de>2006-08-26 11:22:34 +0200
commitf2b067088967528db0ccc577afafcac1be32eab6 (patch)
tree25ed838544777e5c30817295cc1b785caa09d258 /drivers.m4
parent0609070248187606505cc1b4667790a7c5ea43f0 (diff)
parent7ea355421e25c91dd46235f49246c6a21bdeae2b (diff)
downloadlcd4linux-f2b067088967528db0ccc577afafcac1be32eab6.tar.gz
merge FTBFS fix and fixup debian/changelog
Diffstat (limited to '')
-rw-r--r--drivers.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers.m4 b/drivers.m4
index 514230d..3b3b1d2 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -467,7 +467,11 @@ if test "$X11" = "yes"; then
else
GRAPHIC="yes"
DRIVERS="$DRIVERS drv_X11.o"
- DRVLIBS="$DRVLIBS -L$ac_x_libraries -lX11"
+ if test "x$ac_x_libraries" = "x"; then
+ DRVLIBS="$DRVLIBS -lX11"
+ else
+ DRVLIBS="$DRVLIBS -L$ac_x_libraries -lX11"
+ fi
CPP_FLAGS="$CPPFLAGS $X_CFLAGS"
AC_DEFINE(WITH_X11, 1, [X11 driver])
fi