===================================================================
@@ -3328,10 +3328,9 @@
gcc_cv_as_ix86_rep_lock_prefix,,,
[rep movsl
lock addl %edi, (%eax,%esi)
- lock orl $0, (%esp)])
- AC_DEFINE_UNQUOTED(HAVE_AS_IX86_REP_LOCK_PREFIX,
- [`if test $gcc_cv_as_ix86_rep_lock_prefix = yes; then echo 1; else echo 0; fi`],
- [Define true if the assembler supports 'rep <insn>, lock <insn>'.])
+ lock orl $0, (%esp)],,
+ [AC_DEFINE(HAVE_AS_IX86_REP_LOCK_PREFIX, 1,
+ [Define if the assembler supports 'rep <insn>, lock <insn>'.])])
;;
===================================================================
@@ -23356,13 +23356,12 @@
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_ix86_rep_lock_prefix" >&5
$as_echo "$gcc_cv_as_ix86_rep_lock_prefix" >&6; }
+if test $gcc_cv_as_ix86_rep_lock_prefix = yes; then
+$as_echo "#define HAVE_AS_IX86_REP_LOCK_PREFIX 1" >>confdefs.h
-cat >>confdefs.h <<_ACEOF
-#define HAVE_AS_IX86_REP_LOCK_PREFIX `if test $gcc_cv_as_ix86_rep_lock_prefix = yes; then echo 1; else echo 0; fi`
-_ACEOF
+fi
-
;;
ia64*-*-*)