Index: configure.ac =================================================================== --- configure.ac (revision 162014) +++ configure.ac (working copy) @@ -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 , lock '.]) + lock orl $0, (%esp)],, + [AC_DEFINE(HAVE_AS_IX86_REP_LOCK_PREFIX, 1, + [Define if the assembler supports 'rep , lock '.])]) ;; Index: configure =================================================================== --- configure (revision 162014) +++ configure (working copy) @@ -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*-*-*)