aboutsummaryrefslogtreecommitdiff
path: root/media/video/mjpegtools/mjpegtools-1.9.0rc2-x86_64.diff
blob: 0b834dfb5f0f524832f4f7388945a1d1c6d2111e (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
--- configure.ac.old	2007-09-27 05:53:17.000000000 +0000
+++ configure.ac	2007-09-27 05:56:20.000000000 +0000
@@ -431,25 +431,9 @@
 dnl file).
 
 if test x$have_x86cpu = xtrue -o x$have_ppccpu = xtrue; then
-  if test x$host_alias != x; then
-    dnl This is to allow cross compiling
-    AC_MSG_CHECKING(sub-architecture settings)
-    if test x$have_x86cpu = xtrue; then
-       host_mod_cpu=`echo $host_cpu | tr _ -`
-       ARCHFLAGS="-march=$host_mod_cpu -mcpu=$host_mod_cpu"
-    fi
-  else
-    if test ! -r $srcdir/cpuinfo.sh; then
-       AC_MSG_ERROR([cpuinfo.sh script not found - do a cvs update])
-    fi
-    AC_MSG_CHECKING(sub-architecture settings)
-    chmod +x $srcdir/cpuinfo.sh
-    if test x$have_x86cpu = xtrue; then
-       ARCHFLAGS=`$srcdir/cpuinfo.sh x86`
-    elif test x$have_ppccpu = xtrue; then
-       ARCHFLAGS=`$srcdir/cpuinfo.sh ppc`
-    fi
-  fi
+  AC_MSG_CHECKING(sub-architecture settings)
+  host_mod_cpu=`echo $host_cpu | tr _ -`
+  ARCHFLAGS="-march=$host_mod_cpu -mcpu=$host_mod_cpu"
   AC_MSG_RESULT($ARCHFLAGS)
 fi