aboutsummaryrefslogtreecommitdiff
path: root/emulators/zsnes/files/patch-configure
blob: bfb9a54abebd4b461110dedb68728a2db681b24b (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
--- configure.orig	Thu Jan 25 23:44:43 2007
+++ configure	Thu Jan 25 23:48:32 2007
@@ -5130,89 +5130,6 @@
 
   { echo "$as_me:$LINENO: checking which cpu architecture to optimize for" >&5
 echo $ECHO_N "checking which cpu architecture to optimize for... $ECHO_C" >&6; }
-  if test x$force_arch != x; then
-    CFLAGS="$CFLAGS -march=$force_arch"
-    cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  { echo "$as_me:$LINENO: result: forcing $force_arch" >&5
-echo "${ECHO_T}forcing $force_arch" >&6; }
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	{ echo "$as_me:$LINENO: result: $force_arch ??" >&5
-echo "${ECHO_T}$force_arch ??" >&6; }
-    { echo "$as_me:$LINENO: WARNING: incorrect force_arch parameter" >&5
-echo "$as_me: WARNING: incorrect force_arch parameter" >&2;}
-    force_arch=""
-    CFLAGS="$CFLAGSBAK"
-    { echo "$as_me:$LINENO: checking for autodetected architecture" >&5
-echo $ECHO_N "checking for autodetected architecture... $ECHO_C" >&6; }
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  else
-    if test x$ARCH_INFO = x; then
-      case x$target in
-        i686-*-*)
-          { echo "$as_me:$LINENO: result: guessing i686" >&5
-echo "${ECHO_T}guessing i686" >&6; }
-          CFLAGS="$CFLAGS -march=i686"
-          ;;
-        i586-*-*)
-          { echo "$as_me:$LINENO: result: guessing i586" >&5
-echo "${ECHO_T}guessing i586" >&6; }
-          CFLAGS="$CFLAGS -march=i586"
-          ;;
-        i486-*-*)
-          { echo "$as_me:$LINENO: result: guessing i486" >&5
-echo "${ECHO_T}guessing i486" >&6; }
-          CFLAGS="$CFLAGS -march=i486"
-          ;;
-        *)
-          { echo "$as_me:$LINENO: result: guessing i386" >&5
-echo "${ECHO_T}guessing i386" >&6; }
-          CFLAGS="$CFLAGS -march=i386"
-          { echo "$as_me:$LINENO: WARNING: This is not what you want, use --target or force-arch" >&5
-echo "$as_me: WARNING: This is not what you want, use --target or force-arch" >&2;}
-          ;;
-      esac
-    else
-      { echo "$as_me:$LINENO: result: $ARCH_INFO" >&5
-echo "${ECHO_T}$ARCH_INFO" >&6; }
-      CFLAGS="$CFLAGS -march=$ARCH_INFO"
-    fi
-  fi
 
   # Check whether --enable-release was given.
 if test "${enable_release+set}" = set; then