summaryrefslogtreecommitdiff
blob: 91e6c679dcdaee33d59aea97521e43664b4e4709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.orig	2005-08-24 09:45:23.000000000 +0200
+++ configure	2005-08-24 09:45:08.000000000 +0200
@@ -1977,11 +1977,15 @@
 
 
 if test "$x_includes" != "NONE"; then
-        CFLAGS="$CFLAGS -I$x_includes"
+        if test "$x_includes" != ""; then
+                CFLAGS="$CFLAGS -I$x_includes"
+        fi
 fi
 
 if test "$x_libraries" != "NONE"; then
-        LDFLAGS="$LDFLAGS -L$x_libraries"
+        if test "$x_libraries" != ""; then
+                LDFLAGS="$LDFLAGS -L$x_libraries"
+        fi
 fi
 
 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6