summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-10-28 20:26:47 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-10-28 20:26:47 +0000
commit573f8c01169f13b2eb7fb10232cac63f0eaa02e1 (patch)
tree5c3493630d737672c35a477cdc017ca7cbe14ea4 /configure
parent50cb974068ea778a170942c3183b08ff60ff9761 (diff)
downloadpostgresql-573f8c01169f13b2eb7fb10232cac63f0eaa02e1.tar.gz
Guard against Ant versions that print CLASSPATH before the version number
in -version output. Per report from Johann Uhrmann.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 284d231db9..992e289fbe 100755
--- a/configure
+++ b/configure
@@ -3252,7 +3252,7 @@ echo "$as_me: error: Ant is required to build Java components
If you have Ant already installed, see config.log for details on the failure." >&2;}
{ (exit 1); exit 1; }; }
fi
-if "$ANT" -version | sed q | egrep -v ' 1\.[5-9]| [2-9]\.' >/dev/null ; then
+if "$ANT" -version | egrep -i 'ant version' | sed q | egrep -v ' 1\.[5-9]| [2-9]\.' >/dev/null ; then
{ { echo "$as_me:$LINENO: error: Ant version >= 1.5 is required to build Java components" >&5
echo "$as_me: error: Ant version >= 1.5 is required to build Java components" >&2;}
{ (exit 1); exit 1; }; }