changeset 2061:e89067b8a611

Log all output from configure command invocations to config.log. 2010-04-18 Andrew John Hughes <ahughes@redhat.com> * acinclude.m4: (FIND_JAR): Log all output to config.log (AC_CHECK_WITH_HG_REVISION): Likewise. (IT_CHECK_PLUGIN_DEPENDENCIES): Likewise.
author Andrew John Hughes <ahughes@redhat.com>
date Sun, 18 Apr 2010 17:03:04 +0100
parents e26a587c0236
children 3e9397f2ac2c
files ChangeLog acinclude.m4
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Apr 12 22:27:59 2010 +0100
+++ b/ChangeLog	Sun Apr 18 17:03:04 2010 +0100
@@ -1,3 +1,10 @@
+2010-04-18  Andrew John Hughes  <ahughes@redhat.com>
+
+	* acinclude.m4:
+	(FIND_JAR): Log all output to config.log
+	(AC_CHECK_WITH_HG_REVISION): Likewise.
+	(IT_CHECK_PLUGIN_DEPENDENCIES): Likewise.
+
 2010-04-12  Andrew John Hughes  <ahughes@redhat.com>
 
 	PR icedtea/373
--- a/acinclude.m4	Mon Apr 12 22:27:59 2010 +0100
+++ b/acinclude.m4	Sun Apr 18 17:03:04 2010 +0100
@@ -379,7 +379,7 @@
   cat >_config.list <<EOF
 _config.txt
 EOF
-  if $JAR cf _config.jar @_config.list 2>&AS_MESSAGE_LOG_FD; then
+  if $JAR cf _config.jar @_config.list >&AS_MESSAGE_LOG_FD 2>&1; then
     JAR_KNOWS_ATFILE=1
     AC_MSG_RESULT(yes)
   else
@@ -387,7 +387,7 @@
     AC_MSG_RESULT(no)
   fi
   AC_MSG_CHECKING([whether jar supports stdin file arguments])
-  if cat _config.list | $JAR cf@ _config.jar 2>&AS_MESSAGE_LOG_FD; then
+  if cat _config.list | $JAR cf@ _config.jar >&AS_MESSAGE_LOG_FD 2>&1; then
     JAR_ACCEPTS_STDIN_LIST=1
     AC_MSG_RESULT(yes)
   else
@@ -396,7 +396,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>&AS_MESSAGE_LOG_FD; then
+  if $JAR cf _config.jar _config.txt -J-Xmx896m >&AS_MESSAGE_LOG_FD 2>&1; then
     JAR_KNOWS_J_OPTIONS=1
     AC_MSG_RESULT(yes)
   else
@@ -1414,7 +1414,7 @@
   ICEDTEA_REVISION="none";
   JDK_REVISION="none";
   HOTSPOT_REVISION="none";
-  if which ${HG} >/dev/null; then
+  if which ${HG} >&AS_MESSAGE_LOG_FD 2>&1; then
     AC_MSG_CHECKING([for IcedTea Mercurial revision ID])
     if test -e ${abs_top_srcdir}/.hg ; then 
       ICEDTEA_REVISION="r`(cd ${abs_top_srcdir}; ${HG} tip --template '{node|short}')`" ; 
@@ -1462,8 +1462,7 @@
   AC_SUBST(GTK_CFLAGS)
   AC_SUBST(GTK_LIBS)
 
-
-  if $PKG_CONFIG --atleast-version 1.9.2 libxul 2>&AS_MESSAGE_LOG_FD ; then
+  if $PKG_CONFIG --atleast-version 1.9.2 libxul >&AS_MESSAGE_LOG_FD 2>&1; then
     xullibs=libxul
   else
     xullibs="libxul libxul-unstable"