]> git.pld-linux.org Git - packages/qt4.git/blob - qt4-sse.patch
- fix function name
[packages/qt4.git] / qt4-sse.patch
1 --- qt-x11-opensource-src-4.1.0/configure.orig  2006-01-15 16:08:12.000000000 +0100
2 +++ qt-x11-opensource-src-4.1.0/configure       2006-01-15 16:35:27.416743000 +0100
3 @@ -411,6 +411,7 @@
4  CFG_LARGEFILE=auto
5  CFG_STL=auto
6  CFG_PRECOMPILE=no
7 +CFG_HAVE_SSE=no
8  CFG_REDUCE_EXPORTS=auto
9  CFG_IPV6=auto
10  CFG_NAS=no
11 @@ -516,7 +517,7 @@
12          VAL=no
13          ;;
14      #Qt style yes options
15 -    -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-tablet|-reduce-exports|-pch|-stl|-freetype|-xcursor|-xrandr|-xrender|-fontconfig|-xkb|-nis|-cups|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-opengl|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-universal)
16 +    -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-tablet|-reduce-exports|-pch|-sse|-stl|-freetype|-xcursor|-xrandr|-xrender|-fontconfig|-xkb|-nis|-cups|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-opengl|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-universal)
17          VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
18          VAL=yes
19          ;;
20 @@ -953,6 +954,13 @@
21              UNKNOWN_OPT=yes
22          fi
23          ;;
24 +    sse)
25 +        if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
26 +            CFG_HAVE_SSE="$VAL"
27 +        else
28 +            UNKNOWN_OPT=yes
29 +        fi
30 +        ;;
31      reduce-exports)
32          if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
33              CFG_REDUCE_EXPORTS="$VAL"
34 @@ -1844,11 +1852,13 @@
35      fi
36  fi
37  
38 -# detect sse support
39 -if $unixtests/sse.test $XQMAKESPEC $OPT_VERBOSE; then
40 -    CFG_HAVE_SSE=no
41 -else
42 -    CFG_HAVE_SSE=yes
43 +# auto-detect sse support
44 +if [ "$CFG_HAVE_SSE" = "auto" ]; then
45 +    if $unixtests/sse.test $XQMAKESPEC $OPT_VERBOSE; then
46 +       CFG_HAVE_SSE=no
47 +    else
48 +       CFG_HAVE_SSE=yes
49 +    fi
50  fi
51  
52  #auto-detect GNU make support
53 @@ -1931,7 +1941,7 @@
54          [-no-zlib] [-qt-zlib] [-system-zlib] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg]
55          [-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng]
56          [-system-libmng] [-no-nis] [-nis] [-no-cups] [-cups] [-no-largefile] [-largefile]
57 -        [-no-stl] [-stl] [-no-pch] [-pch] [-Istring] [-lstring] [-Lstring] [-Rstring]
58 +        [-no-stl] [-stl] [-no-pch] [-pch] [-no-sse] [-sse] [-Istring] [-lstring] [-Lstring] [-Rstring]
59          [-disable-<module>] [-with-<module setting>] [-without-<module setting>] [-fast]
60          [-no-fast]
61  
62 @@ -2086,6 +2096,9 @@
63   $PHN  -no-pch ............ Do not use precompiled header support.
64   $PHY  -pch ............... Use precompiled header support.
65  
66 +    -no-sse ............ Do not use MMX/SSE instructions.
67 +    -sse ............... Use MMX/SSE instructions.
68 +
69  EOF
70  
71  if [ "$PLATFORM_X11" = "yes" ]; then
This page took 0.046976 seconds and 3 git commands to generate.