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 --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index e87748c..caea080 100755 --- a/configure +++ b/configure @@ -8120,7 +8120,11 @@ echo "$as_me: WARNING: X11 headers or libraries not available: X11 driver disabl 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" cat >>confdefs.h <<\_ACEOF -- cgit v1.2.3