Re: Building psql.exe using the free Borland compiler - Mailing list pgsql-interfaces

From Alvaro Herrera
Subject Re: Building psql.exe using the free Borland compiler
Date
Msg-id 20060528033734.GC2540@surnet.cl
Whole thread Raw
In response to Re: Building psql.exe using the free Borland compiler  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-interfaces
Bruce Momjian wrote:
> Alvaro Herrera wrote:

> > > This change is causing me grief when trying to compile libpq from
> > > PostgreSQL-8.1.4 using Borland BCC32. The above echo command puts
> > > exactly this into my pg_config_paths.h:
> > >         #define SYSCONFDIR \"\"
> > 
> > Maybe we should use
> > 
> > echo -e \#define SYSCONFDIR \"\" > pg_config_paths.h
> > 
> > in the Makefile instead.  Does that work for you?
> 
> Uh, the echo is interpreted by the borland Makefile utility.  I don't
> think that understands -e.

Yeah.  Maybe it can be done in some other way, how about

echo -e '#define SYSCONFDIR ""' > pg_config_paths.h

but ISTM ljb is the one who needs to find what works ...

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-interfaces by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Building psql.exe using the free Borland compiler
Next
From: ljb
Date:
Subject: Re: Building psql.exe using the free Borland compiler