diff --git a/configure b/configure index 98d62a2a67f..950e5a8f721 100755 --- a/configure +++ b/configure @@ -5400,7 +5400,7 @@ fi fi echo "$ac_t""$wine_cv_allow_unaligned_access" 1>&6 -if test "$wine_allow_unaligned_access" = "yes" +if test "$wine_cv_allow_unaligned_access" = "yes" then cat >> confdefs.h <<\EOF #define ALLOW_UNALIGNED_ACCESS 1 diff --git a/configure.in b/configure.in index 66c2c4a04e8..3776d8ae2c4 100644 --- a/configure.in +++ b/configure.in @@ -792,7 +792,7 @@ main() exit(0); } ], wine_cv_allow_unaligned_access=yes, wine_cv_allow_unaligned_access=no, wine_cv_allow_unaligned_access=no ) ]) -if test "$wine_allow_unaligned_access" = "yes" +if test "$wine_cv_allow_unaligned_access" = "yes" then AC_DEFINE(ALLOW_UNALIGNED_ACCESS) fi