summarylogtreecommitdiffstats
path: root/wmmp3-0.12-x_includes_n_libraries.patch
blob: f316ff9b77af6c72d9e741a44ad0edfefa6108eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/configure	2000-04-02 20:12:15.000000000 -0400
+++ b/configure_patch	2024-11-29 07:26:21.222524661 -0500
@@ -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