# HG changeset patch # User Bruno Haible # Date 1340102631 -7200 # Node ID 3aded6c8d4834686da5e3a4b5a837a0fb93e91f9 # Parent 80e5b1a6673ad3d98e422c1638f45a44ae9a87ef *printf-posix: Put more info into config.log. * m4/printf.m4 (gl_PRINTF_ENOMEM): Emit conftest's error output and exit code into config.log. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-06-19 Bruno Haible + + *printf-posix: Put more info into config.log. + * m4/printf.m4 (gl_PRINTF_ENOMEM): Emit conftest's error output and + exit code into config.log. + 2012-06-19 Bruno Haible getopt-gnu: Fix exit code overflow in autoconf test. diff --git a/m4/printf.m4 b/m4/printf.m4 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -1,4 +1,4 @@ -# printf.m4 serial 48 +# printf.m4 serial 49 dnl Copyright (C) 2003, 2007-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -1028,8 +1028,9 @@ changequote([,])dnl ])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then - (./conftest + (./conftest 2>&AS_MESSAGE_LOG_FD result=$? + _AS_ECHO_LOG([\$? = $result]) if test $result != 0 && test $result != 77; then result=1; fi exit $result ) >/dev/null 2>/dev/null