From 7ea355421e25c91dd46235f49246c6a21bdeae2b Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Sat, 26 Aug 2006 10:52:44 +0200 Subject: fix FTBFS because of X11 --- drivers.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'drivers.m4') 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 -- cgit v1.2.3