RE: [HACKERS] 6.4 BETA2 fails to compile on Digital Unix 4.0d

From: "Taral" <taral(at)mail(dot)utexas(dot)edu>
To: "The Hermit Hacker" <scrappy(at)hub(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Pedro J(dot) Lobo" <pjlobo(at)euitt(dot)upm(dot)es>, "PostgreSQL hackers mailing list" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: RE: [HACKERS] 6.4 BETA2 fails to compile on Digital Unix 4.0d
Date: 1998-10-29 17:51:24
Message-ID: 001001be0364$bede3880$3b291f0a@taral
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> If its a bug in autoconf itself, we can patch the autoconf .m4
> files directly on Hub.Org, and just make sure we autoconf with that...I
> have no problemsm with that...

*** acspecific.m4.orig Thu Oct 29 12:43:02 1998
--- acspecific.m4 Thu Oct 29 12:49:39 1998
***************
*** 81,87 ****
AC_PROG_CC_WORKS
AC_PROG_CC_GNU

! if test $ac_cv_prog_gcc = yes; then
GCC=yes
dnl Check whether -g works, even if CFLAGS is set, in case the package
dnl plays around with CFLAGS (such as to build both debugging and
--- 81,87 ----
AC_PROG_CC_WORKS
AC_PROG_CC_GNU

! if test "$ac_cv_prog_gcc" = yes; then
GCC=yes
dnl Check whether -g works, even if CFLAGS is set, in case the package
dnl plays around with CFLAGS (such as to build both debugging and
***************
*** 215,221 ****
AC_DEFUN(AC_PROG_GCC_TRADITIONAL,
[AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_PROG_CPP])dnl
! if test $ac_cv_prog_gcc = yes; then
AC_CACHE_CHECK(whether ${CC-cc} needs -traditional,
ac_cv_prog_gcc_traditional,
[ ac_pattern="Autoconf.*'x'"
--- 215,221 ----
AC_DEFUN(AC_PROG_GCC_TRADITIONAL,
[AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_PROG_CPP])dnl
! if test "$ac_cv_prog_gcc" = yes; then
AC_CACHE_CHECK(whether ${CC-cc} needs -traditional,
ac_cv_prog_gcc_traditional,
[ ac_pattern="Autoconf.*'x'"

Should work... if the other message is correct about the source of the
problem. There really needs to be a sanity check for --with-cc or whatever
it is.

Taral

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message D'Arcy J.M. Cain 1998-10-29 17:59:33 Re: [HACKERS] Bug in current network.c
Previous Message Bruce Momjian 1998-10-29 17:50:01 Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/include/catalog pg_operator.h'