Blame SOURCES/djvulibre-3.5.25.3-cflags.patch

a9380a
diff -up djvulibre-3.5.25/configure~ djvulibre-3.5.25/configure
a9380a
--- djvulibre-3.5.25/configure~	2012-05-08 05:56:53.000000000 +0300
a9380a
+++ djvulibre-3.5.25/configure	2012-10-10 00:01:36.000000000 +0300
a9380a
@@ -14733,6 +14733,7 @@ fi
a9380a
 
a9380a
    OPTS=
a9380a
 
a9380a
+if false; then
a9380a
    saved_CXXFLAGS="$CXXFLAGS"
a9380a
    saved_CFLAGS="$CFLAGS"
a9380a
    CXXFLAGS=
a9380a
@@ -14750,6 +14751,7 @@ fi
a9380a
        *) CFLAGS="$CFLAGS $opt" ;;
a9380a
      esac
a9380a
    done
a9380a
+fi
a9380a
    if test x$ac_debug = xno ; then
a9380a
      OPTS=-DNDEBUG
a9380a
 
a9380a
@@ -14770,6 +14772,7 @@ $as_echo "no" >&6; }
a9380a
  fi
a9380a
 
a9380a
 
a9380a
+if false; then
a9380a
  opt="-O3"
a9380a
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts $opt" >&5
a9380a
 $as_echo_n "checking if $CXX accepts $opt... " >&6; }
a9380a
@@ -14801,6 +14804,7 @@ $as_echo "no" >&6; }
a9380a
  fi
a9380a
 
a9380a
  fi
a9380a
+fi
a9380a
 
a9380a
 
a9380a
  opt="-Wno-non-virtual-dtor"
a9380a
@@ -14819,6 +14823,7 @@ $as_echo "no" >&6; }
a9380a
 
a9380a
  fi
a9380a
 
a9380a
+if false; then
a9380a
      cpu=`uname -m 2>/dev/null`
a9380a
      test -z "$cpu" && cpu=${host_cpu}
a9380a
      case "${host_cpu}" in
a9380a
@@ -14860,6 +14865,7 @@ $as_echo "no" >&6; }
a9380a
 
a9380a
            ;;
a9380a
       esac
a9380a
+fi
a9380a
    else
a9380a
 
a9380a
  opt="-Wall"