summaryrefslogtreecommitdiff
blob: 53609c0a61d82f8a762ba4231e88e9117514644e (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
https://github.com/ImageMagick/ImageMagick/issues/15

--- ImageMagick-6.9.1-7/configure
+++ ImageMagick-6.9.1-7/configure
@@ -35563,30 +35563,6 @@
 fi
 
 
-#
-# Sanitize output variables (asthetic).
-#
-for variable in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS PCFLAGS X_CFLAGS; do
-  sanitize=''
-  eval value=$`echo $variable`
-  for component in $value
-  do
-    unique=yes
-    for test_component in $sanitize
-    do
-      if test $component = $test_component; then
-        unique=no
-        break
-      fi
-    done
-    if test $unique = yes; then
-      sanitize="$sanitize $component"
-    fi
-  done
-  sanitize=`echo $sanitize | sed -e 's/^ *//g'`
-  eval ${variable}=\${sanitize}
-done
-
 # Pass only user-provided LIBS as "global" libraries
 LIBS=$USER_LIBS
 
--- ImageMagick-6.9.1-7/configure.ac
+++ ImageMagick-6.9.1-7/configure.ac
@@ -3706,30 +3706,6 @@
 fi
 AC_SUBST(MAGICK_DEP_LIBS)
 
-#
-# Sanitize output variables (asthetic).
-#
-for variable in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS PCFLAGS X_CFLAGS; do
-  sanitize=''
-  eval value=$`echo $variable`
-  for component in $value
-  do
-    unique=yes
-    for test_component in $sanitize
-    do
-      if test $component = $test_component; then
-        unique=no
-        break
-      fi
-    done
-    if test $unique = yes; then
-      sanitize="$sanitize $component"
-    fi
-  done
-  sanitize=`echo $sanitize | sed -e 's/^ *//g'`
-  eval ${variable}=\${sanitize}
-done
-
 # Pass only user-provided LIBS as "global" libraries
 LIBS=$USER_LIBS