changeset 1827:0b7ad35f4c10

Record errors to config.log rather than /dev/null. 2010-01-16 Andrew John Hughes <ahughes@redhat.com> * acinclude.m4: Send output to AS_MESSAGE_LOG_FD rather than /dev/null so we have a record of errors.
author Andrew John Hughes <ahughes@redhat.com>
date Sat, 16 Jan 2010 01:48:41 +0000
parents fbcebfe00675
children 327907cd1d5b
files ChangeLog acinclude.m4
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jan 16 01:45:00 2010 +0000
+++ b/ChangeLog	Sat Jan 16 01:48:41 2010 +0000
@@ -1,3 +1,9 @@
+2010-01-16 Andrew John Hughes  <ahughes@redhat.com>
+
+	* acinclude.m4:
+	Send output to AS_MESSAGE_LOG_FD rather
+	than /dev/null so we have a record of errors.
+	
 2010-01-16 Andrew John Hughes  <ahughes@redhat.com>
 
 	configure output and option cleanup
--- a/acinclude.m4	Sat Jan 16 01:45:00 2010 +0000
+++ b/acinclude.m4	Sat Jan 16 01:48:41 2010 +0000
@@ -351,7 +351,7 @@
   cat >_config.list <<EOF
 _config.txt
 EOF
-  if $JAR cf _config.jar @_config.list 2>/dev/null; then
+  if $JAR cf _config.jar @_config.list 2>&AS_MESSAGE_LOG_FD; then
     JAR_KNOWS_ATFILE=1
     AC_MSG_RESULT(yes)
   else
@@ -359,7 +359,7 @@
     AC_MSG_RESULT(no)
   fi
   AC_MSG_CHECKING([whether jar supports stdin file arguments])
-  if cat _config.list | $JAR cf@ _config.jar 2>/dev/null; then
+  if cat _config.list | $JAR cf@ _config.jar 2>&AS_MESSAGE_LOG_FD; then
     JAR_ACCEPTS_STDIN_LIST=1
     AC_MSG_RESULT(yes)
   else
@@ -368,7 +368,7 @@
   fi
   rm -f _config.list _config.jar
   AC_MSG_CHECKING([whether jar supports -J options at the end])
-  if $JAR cf _config.jar _config.txt -J-Xmx896m 2>/dev/null; then
+  if $JAR cf _config.jar _config.txt -J-Xmx896m 2>&AS_MESSAGE_LOG_FD; then
     JAR_KNOWS_J_OPTIONS=1
     AC_MSG_RESULT(yes)
   else