Re: The dbase conrtib doesn't compile

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: The dbase conrtib doesn't compile
Date: 2001-12-21 05:29:34
Message-ID: 200112210529.fBL5TZt02127@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Yes, glad you pointed it out. I think the best solution is to remove
> > #define HAVE_ICONV_H and -liconv so it will work fine on all platforms.
> > If someone wants the iconv conversions, they can add the needed #define
> > and link library, OK?
>
> That seems like a plan. Perhaps add some commented-out macro
> definitions to the makefile to make it a simple addition. Something
> like
>
> # Uncomment this to provide charset translation
> # CFLAGS += -DHAVE_ICONV_H
> # You might need to uncomment this too, if libiconv is a separate
> # library on your platform
> # LIBS += -liconv
>
> Untested but you get the idea ...

OK, patch attached and applied. I tested with and without the Makefile
defines. iconv defaults to off, mentioned in README.

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

Attachment Content-Type Size
unknown_filename text/plain 3.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-12-21 06:10:36 Re: Status on RC1?
Previous Message Tom Lane 2001-12-21 05:12:40 Re: The dbase conrtib doesn't compile