summaryrefslogtreecommitdiff
blob: d93f8cf13a47eb0a2786b901f5b8754beaaea5f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Make sure X paths are set before using
http://bugs.gentoo.org/79496

--- configure
+++ configure
@@ -1878,4 +1878,8 @@
 else
-  INCS="$INCS -I$x_includes"
-  LIBS="-L$x_libraries"
+  if test -n "$x_includes" ; then
+    INCS="$INCS -I$x_includes"
+  fi
+  if test -n "$x_libraries" ; then
+    LIBS="-L$x_libraries"
+  fi