Fix assembly division check
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 12 Jan 2014 20:01:28 +0000 (22:01 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 12 Jan 2014 20:01:28 +0000 (22:01 +0200)
* configure.ac (gcry_cv_gcc_as_const_division_ok): Correct variable
name mismatch at '--Wa,--divide' workaround check.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
configure.ac

index fac5f7a..7d37f94 100644 (file)
@@ -1101,7 +1101,7 @@ if test $amd64_as_feature_detection = yes; then
           AC_COMPILE_IFELSE([AC_LANG_SOURCE(
             [[__asm__("xorl \$(123456789/12345678), %ebp;\n\t");]])],
             [gcry_cv_gcc_as_const_division_with_wadivide_ok=yes])])
           AC_COMPILE_IFELSE([AC_LANG_SOURCE(
             [[__asm__("xorl \$(123456789/12345678), %ebp;\n\t");]])],
             [gcry_cv_gcc_as_const_division_with_wadivide_ok=yes])])
-    if test "$gcry_cv_gcc_as_const_division_ok_with_wadivide_ok" = "no" ; then
+    if test "$gcry_cv_gcc_as_const_division_with_wadivide_ok" = "no" ; then
       # '-Wa,--divide' did not work, restore old flags.
       CPPFLAGS="$_gcc_cppflags_save"
     fi
       # '-Wa,--divide' did not work, restore old flags.
       CPPFLAGS="$_gcc_cppflags_save"
     fi