Yes, it is. But Marc, you made a small mistake. In configure you have to
check for template/linux-elf not linux-elf:

*** configure.orig      Tue Apr 21 14:47:20 1998
--- configure   Tue Apr 21 14:48:06 1998
***************
*** 670,676 ****
  
  echo "$ac_t""$TEMPLATE" 1>&6
  
! if test "$TEMPLATE" = "linux-elf"; then
        LINUX_ELF=yes
  else
        LINUX_ELF=no
--- 670,676 ----
  
  echo "$ac_t""$TEMPLATE" 1>&6
  
! if test "$TEMPLATE" = "template/linux-elf"; then
        LINUX_ELF=yes
  else
        LINUX_ELF=no

Also ecpg/lib/Makefile.in is not updated. 

How about we make linux-elf the default, rename the template files and
check for linux-aout? That way, I wouldn't have to worry about my own
linux-elf-debug template, or the linux-elf-sparc template.

Michael

--
Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes@topsystem.de                    | Europark A2, Adenauerstr. 20
meskes@debian.org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

> -----Original Message-----
> From:	The Hermit Hacker [SMTP:scrappy@hub.org]
> Sent:	Tuesday, April 21, 1998 2:53 PM
> To:	Constantin Teodorescu
> Cc:	Meskes, Michael; Thomas G. Lockhart; Bruce Momjian;
> PostgreSQL-development
> Subject:	Re: [HACKERS] Re: [QUESTIONS] Configuration problems in
> PostgreSQ  L 6.3.2 on Linux-ELF
> 
> On Tue, 21 Apr 1998, Constantin Teodorescu wrote:
> 
> > The Hermit Hacker wrote:
> > > 
> > >         There has to be a better method of determining
> this...doesn't
> > > there?  Is there a test we can add to configure to auto-determine
> an 'ELF'
> > > system?  Then just change the makefile so that it gets rid of the
> > > LINUX_ELF "stuff" with something that configure sets?
> > > 
> > >         There, try that.  I have it so that if 'with-template' is
> > > linux_elf, it sets LINUX_ELF to yes in both Makefile's...let me
> know if
> > > that does it for you...
> > 
> > I have experimented right now.
> > 
> > I ran ./configure --with-template=linux-elf
> > It says that it will use template/linux-elf configuration file but I
> > looked into Makefiels in libpq and libpgtcl directories and none of
> them
> > contains LINUX_ELF=true
> 
> 	This is with just new CVSup'd code? *raised eyebrow* 
> 
> 	There should be (interfaces/libpq/Makefile.in):
> 
> # Shared library stuff
> shlib := 
> install-shlib-dep :=
> ifeq ($(PORTNAME), linux)
>   LINUX_ELF=@LINUX_ELF@
>   ifdef LINUX_ELF
>     install-shlib-dep := install-shlib
>     shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
>     LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
>     CFLAGS += $(CFLAGS_SL)
>   endif
> endif
> 
> 

Tue, 21 Apr 1998 14:51:00 +0200
"Meskes, Michael" <meskes@topsystem.de>
RE: [HACKERS] Re: [QUESTIONS] Configuration problems in PostgreSQ
	L 6.3.2 on Linux-ELF