Index: configure.in
===================================================================
RCS file: /cvsroot/pgsql-server/configure.in,v
retrieving revision 1.200
diff -c -c -r1.200 configure.in
*** configure.in	30 Aug 2002 17:14:30 -0000	1.200
--- configure.in	2 Sep 2002 16:09:11 -0000
***************
*** 381,386 ****
--- 381,389 ----
  PGAC_PATH_ANT
  if test -z "$ANT"; then
    AC_MSG_ERROR([Ant is required to build Java components])
+ fi
+ if "$ANT" -version | sed q | egrep -v ' 1\.[[5-9]]| [[2-9]]\.' >/dev/null ; then
+   AC_MSG_ERROR([Ant version >= 1.5 is required to build Java components])
  fi],
  [AC_MSG_RESULT(no)])
  AC_SUBST(with_java)
***************
*** 835,841 ****
  HPUXMATHLIB=""
  case $host_cpu in
    hppa1.1) 
! 	if [[ -r /lib/pa1.1/libm.a ]] ; then
  	    HPUXMATHLIB="-L /lib/pa1.1 -lm"
  	fi ;;
  esac
--- 838,844 ----
  HPUXMATHLIB=""
  case $host_cpu in
    hppa1.1) 
! 	if test -r /lib/pa1.1/libm.a ; then
  	    HPUXMATHLIB="-L /lib/pa1.1 -lm"
  	fi ;;
  esac
***************
*** 931,937 ****
  
  dnl If we need to use "long long int", figure out whether nnnLL notation works.
  
! if [[ x"$HAVE_LONG_LONG_INT_64" = xyes ]] ; then
    AC_TRY_COMPILE([
  #define INT64CONST(x)  x##LL
  long long int foo = INT64CONST(0x1234567890123456);
--- 934,940 ----
  
  dnl If we need to use "long long int", figure out whether nnnLL notation works.
  
! if test x"$HAVE_LONG_LONG_INT_64" = xyes ; then
    AC_TRY_COMPILE([
  #define INT64CONST(x)  x##LL
  long long int foo = INT64CONST(0x1234567890123456);
