summaryrefslogtreecommitdiffstats
path: root/desktop/wmakerconf/patches/patch-configure
blob: c7dcb3cc6a12cba729714a52e88b900d80064845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- configure.orig	2007-04-12 10:52:31 UTC
+++ configure
@@ -3458,7 +3458,7 @@ fi
 libwmfun="no"
 # Checks for wraster lib
 # Extract the first word of "get-wings-flags", so it can be a program name with args.
-set dummy get-wings-flags; ac_word=$2
+set dummy pkg-config; ac_word=$2
 echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_path_wraster+set}" = set; then
@@ -3486,7 +3486,7 @@ done
   ;;
 esac
 fi
-wraster=$ac_cv_path_wraster
+wraster="$ac_cv_path_wraster wrlib"
 
 if test -n "$wraster"; then
   echo "$as_me:$LINENO: result: $wraster" >&5
@@ -3497,7 +3497,7 @@ echo "${ECHO_T}no" >&6
 fi
 
 if test -n "$wraster"; then
-        WRASTERLIBS=`($wraster --ldflags --libs 2>/dev/null || $wraster --lflags --libs) | xargs`
+        WRASTERLIBS=`$wraster --libs`
         WRASTERINCLUDES=`$wraster --cflags`
         MKPREVIEW="mkpreview"
         OLD_LDFLAGS="$LDFLAGS"
@@ -5818,7 +5818,7 @@ echo "${ECHO_T}yes" >&6
         else
                 echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
-                for ac_prog in lynx wget
+                for ac_prog in lynx fetch
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2