Re: current build fail - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: current build fail
Date
Msg-id 200209021613.g82GDBU20173@candle.pha.pa.us
Whole thread Raw
In response to Re: current build fail  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Patch applied to test for Ant >= 1.5.  Autconf run.

---------------------------------------------------------------------------

Bruce Momjian wrote:
> Tatsuo Ishii wrote:
> > > Yeah, it seems to require Ant 1.5 now.
> >
> > Thanks I got Ant 1.5 and now PostgreSQL builds fine.
> >
> > > This should probably go in the
> > > configure script, ie a test for Ant 1.5 if java enabled?
> >
> > Sounds nice idea.
>
> Yes, I am going to add a test for >= Ant 1.5 to configure.
>
> --
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
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);

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: I am done
Next
From: Tom Lane
Date:
Subject: Re: serial datatype changes for v7.3?