From: Bruno Haible Date: Tue, 19 Jun 2012 10:43:51 +0000 (+0200) Subject: *printf-posix: Put more info into config.log. X-Git-Tag: v0.1~613 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=81c71120400c0f49c1429bf4b5d5ad89c151123a *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 index 0253664be..bf20750db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 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. * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Squash exit code values, to keep them below < 128. diff --git a/m4/printf.m4 b/m4/printf.m4 index d75aca074..68b15b524 100644 --- 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 @@ int main() 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