Re: Duplicate definition of LOCALEDIR

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Duplicate definition of LOCALEDIR
Date: 2006-05-22 15:23:19
Message-ID: 19463.1148311399@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> The odd thing is that there are two paths defined, $localedir and
> $exp_localedir, which are not the same and pg_config.h gets one and
> pg_config_paths.h gets the other.

It looks to me like $localedir is literally "${prefix}/share/locale",
while exp_localedir has the full path (ie, the expanded contents of
$prefix). Better be careful about assuming they are redundant.

The correct solution to this might be to rename the downstream
variables to make it clearer what's what.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Harald Fuchs 2006-05-22 15:24:17 Re: Porting MSSQL to PGSQL (Was: [OT] MySQL is bad, but THIS bad?)
Previous Message Martijn van Oosterhout 2006-05-22 15:06:47 Re: Porting MSSQL to PGSQL (Was: [OT] MySQL is bad, but THIS bad?)

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2006-05-22 16:29:14 archiver.pid
Previous Message Tom Lane 2006-05-22 14:52:04 Re: trivial fix in fd.c