Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 131198 | Differences between
and this patch

Collapse All | Expand All

(-)zsnes-1.50.old/src/configure.in (-8 / +12 lines)
Lines 200-213 Link Here
200
  AC_ARG_VAR(force_arch, [Force architecture to optimize GCC/G++ for])
200
  AC_ARG_VAR(force_arch, [Force architecture to optimize GCC/G++ for])
201
  AC_MSG_CHECKING(which cpu architecture to optimize for)
201
  AC_MSG_CHECKING(which cpu architecture to optimize for)
202
  if test x$force_arch != x; then
202
  if test x$force_arch != x; then
203
    CFLAGS="$CFLAGS -march=$force_arch"
203
    if test x$force_arch = xno; then
204
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]])],
204
      AC_MSG_RSULT(forcing no arch)
205
    [AC_MSG_RESULT(forcing $force_arch)],
205
    else
206
    [AC_MSG_RESULT($force_arch ??)
206
      CFLAGS="$CFLAGS -march=$force_arch"
207
    AC_MSG_WARN(incorrect force_arch parameter)
207
      AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]])],
208
    force_arch=""
208
      [AC_MSG_RESULT(forcing $force_arch)],
209
    CFLAGS="$CFLAGSBAK"
209
      [AC_MSG_RESULT($force_arch ??)
210
    AC_MSG_CHECKING(for autodetected architecture)])
210
      AC_MSG_WARN(incorrect force_arch parameter)
211
      force_arch=""
212
      CFLAGS="$CFLAGSBAK"
213
      AC_MSG_CHECKING(for autodetected architecture)])
214
    fi
211
  fi
215
  fi
212
  if test x$force_arch = x; then
216
  if test x$force_arch = x; then
213
    if test x$ARCH_INFO = x; then
217
    if test x$ARCH_INFO = x; then

Return to bug 131198