You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/imagemagick/files/imagemagick-6.9.1.7-cflags....

69 lines
1.5 KiB

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