diff options
author | siretart <siretart@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-09-04 16:35:43 +0000 |
---|---|---|
committer | siretart <siretart@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-09-04 16:35:43 +0000 |
commit | 0ea9fcc19ca4afd2116817fa066709d840bab5f2 (patch) | |
tree | 0ba847ef64f5aa501482ca07cf6b7c4f87941543 | |
parent | aee3c227e3615b333d582a5b819807b018e99a3c (diff) | |
download | lcd4linux-0ea9fcc19ca4afd2116817fa066709d840bab5f2.tar.gz |
[lcd4linux @ 2006-09-04 16:35:43 by siretart]
fix linking with modular xorg. See http://bugs.debian.org/381606 for reference
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@703 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | drivers.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |