]> git.pld-linux.org Git - packages/apertium.git/blob - apertium-opt.patch
- release 5 (rebuild with updated lttoolbox)
[packages/apertium.git] / apertium-opt.patch
1 --- apertium-3.2.0/configure.ac.orig    2010-03-14 16:14:34.000000000 +0100
2 +++ apertium-3.2.0/configure.ac 2010-11-28 08:07:17.219099937 +0100
3 @@ -54,68 +54,6 @@
4  
5  # Checks for programs.
6  
7 -AC_MSG_CHECKING([Compilation architecture: PPC, i686, x86_64, Other])
8 -if test x$(which arch) = x
9 -then ARCH=$($(which uname) -m)
10 -else ARCH=$($(which arch))
11 -fi
12 -
13 -case "${target_os}" in
14 -  mingw*)
15 -    MinGW=yes
16 -  ;;
17 -  cygwin*)
18 -    Cygwin=yes
19 -  ;;
20 -esac
21 -
22 -if test x$ARCH = xppc
23 -then
24 -  AC_MSG_RESULT([PowerPC])
25 -  CFLAGS="$CFLAGS -Wall -ansi -fomit-frame-pointer"
26 -  CXXFLAGS="$CXXFLAGS -Wall -ansi -fomit-frame-pointer"
27 -else
28 -  if test x$MinGW = xyes
29 -  then 
30 -    AC_MSG_RESULT([MinGW])
31 -    CFLAGS="$CFLAGS -Wall -march=i686 -O3 -DMINGW -fomit-frame-pointer \
32 -               -funroll-loops -I/include -L/lib"
33 -    CXXFLAGS="$CXXFLAGS -Wall -march=i686 -O3 \
34 -            -fomit-frame-pointer -funroll-loops -I/include -L/lib"
35 -    CPPFLAGS="$CPPFLAGS -I/include"
36 -  else
37 -    if test x$Cygwin = xyes
38 -    then 
39 -      AC_MSG_RESULT([Cygwin])
40 -      CFLAGS="$CFLAGS -Wall -march=i686 -O3 -fomit-frame-pointer \
41 -           -funroll-loops"
42 -      CXXFLAGS="$CXXFLAGS -Wall -march=i686 -O3 \
43 -              -fomit-frame-pointer -funroll-loops"
44 -      CPPFLAGS="$CPPFLAGS"
45 -    else
46 -      if test x$ARCH = xi686
47 -      then
48 -        AC_MSG_RESULT([i686])
49 -        CFLAGS="$CFLAGS -Wall -ansi -march=i686 -O3 -fomit-frame-pointer -funroll-loops"
50 -        CXXFLAGS="$CXXFLAGS -Wall -ansi -march=i686 -O3 \
51 -                -fomit-frame-pointer -funroll-loops"
52 -      else
53 -        if test x$ARCH = xx86_64
54 -        then
55 -          AC_MSG_RESULT([x86_64])
56 -          CFLAGS="-Wall -ansi -O3 -mtune=nocona -fomit-frame-pointer -funroll-loops $CFLAGS"
57 -          CXXFLAGS="-Wall -ansi -O3 -mtune=nocona \
58 -                  -fomit-frame-pointer -funroll-loops $CXXFLAGS"
59 -        else
60 -          AC_MSG_RESULT([Other])
61 -          CFLAGS="-Wall -ansi -O3 $CFLAGS"
62 -          CXXFLAGS="-Wall -ansi -O3 $CXXFLAGS"
63 -        fi
64 -      fi
65 -    fi    
66 -  fi
67 -fi
68 -
69  AC_PROG_CXX
70  AC_PROG_LIBTOOL
71  AM_SANITY_CHECK
This page took 0.184245 seconds and 3 git commands to generate.