RE: [HACKERS] 6.4 BETA2 fails to compile on Digital Unix 4.0d - Mailing list pgsql-hackers

From Taral
Subject RE: [HACKERS] 6.4 BETA2 fails to compile on Digital Unix 4.0d
Date
Msg-id 001001be0364$bede3880$3b291f0a@taral
Whole thread Raw
In response to Re: [HACKERS] 6.4 BETA2 fails to compile on Digital Unix 4.0d  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [HACKERS] 6.4 BETA2 fails to compile on Digital Unix 4.0d
List 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
dnlplays 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
packagednl 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



pgsql-hackers by date:

Previous
From: "Pedro J. Lobo"
Date:
Subject: Build report for 6.4 BETA2 on Digital Unix 4.0d
Next
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] Bug in current network.c