View | Details | Raw Unified | Return to bug 46405
Collapse All | Expand All

(-)a/potrace/configure.ac (-2 / +1 lines)
Lines 251-257 AC_CHECK_FUNC(strncasecmp, , Link Here
251
dnl ----------------------------------------------------------------------
251
dnl ----------------------------------------------------------------------
252
dnl Check whether we have i386 features
252
dnl Check whether we have i386 features
253
AC_MSG_CHECKING([for Intel 386])
253
AC_MSG_CHECKING([for Intel 386])
254
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int x;
254
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int x=1;
255
  asm("bsf %1,%0\njnz 0f\nmovl $32,%0\n0:":"=r"(x):"r"(x));
255
  asm("bsf %1,%0\njnz 0f\nmovl $32,%0\n0:":"=r"(x):"r"(x));
256
  return x; /* need this so that -O2 does not optimize the asm away */
256
  return x; /* need this so that -O2 does not optimize the asm away */
257
]])],[AC_MSG_RESULT(yes) 
257
]])],[AC_MSG_RESULT(yes) 
258
- 

Return to bug 46405