diff --git a/acinclude.m4 b/acinclude.m4 index a4887e6154..1db5c0d0e0 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -4245,4 +4245,5 @@ int main () AC_DEFINE(HAVE_SCANF_LLD, 1, [Define if scanf supports %lld conversions.]) fi + AC_MSG_RESULT($am_cv_scanf_lld) ]) diff --git a/configure.in b/configure.in index 0c351cf99b..c5dc26e02d 100644 --- a/configure.in +++ b/configure.in @@ -727,7 +727,7 @@ else fi AC_SUBST(LC_MESSAGES_ENUM) -if test $am_cv_scanf_lld=no; then +if test $am_cv_scanf_lld = "no"; then AC_MSG_CHECKING(if scanf supports %qd conversion) AC_TRY_RUN([ #include @@ -747,7 +747,7 @@ int main () AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no) - AC_MSG_ERROR(cannot continue, no long long conversion support in scanf) + AC_MSG_ERROR([cannot continue, no long long conversion support in scanf]) ]) fi