Thread: Bug in configure.in, minor annoyance, PostgreSQL 7.2devel & FreeBSD 2.2.8

Bug in configure.in, minor annoyance, PostgreSQL 7.2devel & FreeBSD 2.2.8

From
Trond Endrestøl
Date:
Hi, and thank you for a great ORDBMS.

The configure.in file erraneous assumes that FreeBSD 1.x and 2.x have
ELF capability.

While this is true to some extent, this assumption makes it impossible
to compile PostgreSQL 7.1 and 7.2devel without the --disable-shared
switch during configuration.

Below you'll find my diff to configure.in, rev. 1.126.

Index: configure.in
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/configure.in,v
retrieving revision 1.126
diff -r1.126 configure.in
556c556,557
<   freebsd1*|freebsd2*) elf=yes;;
---
>   freebsd1*|freebsd2*) elf=no;;
>   freebsd3*|freebsd4*) elf=yes;;

--
----------------------------------------------------------------------
Trond Endrestøl                          |    trond@ramstind.gtf.ol.no
Patron of The Art of Computer Programming|   FreeBSD 3.5-S & Pine 4.31




Thanks.  Patch applied.

[ Charset ISO-8859-1 unsupported, converting... ]
> Hi, and thank you for a great ORDBMS.
>
> The configure.in file erraneous assumes that FreeBSD 1.x and 2.x have
> ELF capability.
>
> While this is true to some extent, this assumption makes it impossible
> to compile PostgreSQL 7.1 and 7.2devel without the --disable-shared
> switch during configuration.
>
> Below you'll find my diff to configure.in, rev. 1.126.
>
> Index: configure.in
> ===================================================================
> RCS file: /home/projects/pgsql/cvsroot/pgsql/configure.in,v
> retrieving revision 1.126
> diff -r1.126 configure.in
> 556c556,557
> <   freebsd1*|freebsd2*) elf=yes;;
> ---
> >   freebsd1*|freebsd2*) elf=no;;
> >   freebsd3*|freebsd4*) elf=yes;;
>
> --
> ----------------------------------------------------------------------
> Trond Endrest?l                          |    trond@ramstind.gtf.ol.no
> Patron of The Art of Computer Programming|   FreeBSD 3.5-S & Pine 4.31
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026