Fix configure.in to work on Solaris.. Test's need spaces between the

terms:
	if $foo = "no"; then

Supply a result message for the SCANF_LLD test


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6836 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-05-08 05:01:48 +00:00
parent 8f47e3e7ca
commit 89be52ed5f
2 changed files with 3 additions and 2 deletions

View File

@ -4245,4 +4245,5 @@ int main ()
AC_DEFINE(HAVE_SCANF_LLD, 1, AC_DEFINE(HAVE_SCANF_LLD, 1,
[Define if scanf supports %lld conversions.]) [Define if scanf supports %lld conversions.])
fi fi
AC_MSG_RESULT($am_cv_scanf_lld)
]) ])

View File

@ -727,7 +727,7 @@ else
fi fi
AC_SUBST(LC_MESSAGES_ENUM) 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_MSG_CHECKING(if scanf supports %qd conversion)
AC_TRY_RUN([ AC_TRY_RUN([
#include <stdio.h> #include <stdio.h>
@ -747,7 +747,7 @@ int main ()
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
],[ ],[
AC_MSG_RESULT(no) 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 fi