Joel Rodrigues <borgempath(at)Phreaker(dot)net> writes:
> checking whether /usr/local/ant/bin/ant works... no
> configure: error: ant does not work
Look in config.log to get more info about the problem. I've
seen some reports indicating that you must have JAVA_HOME set
to get ant to behave properly.
regards, tom lane