--- ooo300-m5/config_office/configure.in.ant 2008-09-10 14:39:44 +0400 +++ ooo300-m5/config_office/configure.in 2008-09-10 16:01:41 +0400 @@ -6242,7 +6242,7 @@ ant_minminor1=`echo $ant_minver | cut -d"." -f2` AC_MSG_CHECKING([whether ant is >= $ant_minver]) - ant_version=`$ANT -version | $AWK '{ print $4; }'` + ant_version=`env -i $ANT -version | $AWK '{ print $4; }'` ant_version_major=`echo $ant_version | cut -d. -f1` ant_version_minor=`echo $ant_version | cut -d. -f2` echo "configure: ant_version $ant_version " >&5 @@ -6252,6 +6252,7 @@ AC_MSG_RESULT([yes, $ant_version]) elif test "$ant_version_major" = "1" && test "$ant_version_minor" -ge "$ant_minminor1"; then AC_MSG_RESULT([yes, $ant_version]) + ANT="env -i $ANT" else AC_MSG_ERROR([no, you need at least ant >= $ant_minver]) fi