pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC - configure
2+ messages / 2 participants
[nested] [flat]

* ODBC - configure
@ 1999-05-12 14:47  Peter Harvey <pharvey@codebydesign.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Peter Harvey @ 1999-05-12 14:47 UTC (permalink / raw)
  To: pgsql-interfaces

Hi,

Ok, now I have a standalone driver source tree. My problem is that it is
based upon ./configure. Can someone give me a hand on changeing the
configure? I am pretty sure that I will need to make a few
changes/enhancements to it such as;

- switch to configure for unixODBC
- unixODBC flag for ifdefs
- some include and lib file changes
- install changes???

I can then go ahead and make any source enhancements that may be
required... and I am sure there will be some.

Anyone....

Peter Harvey






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [INTERFACES] ODBC - configure
@ 1999-05-12 15:23  Thomas Lockhart <lockhart@alumni.caltech.edu>
  parent: Peter Harvey <pharvey@codebydesign.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Lockhart @ 1999-05-12 15:23 UTC (permalink / raw)
  To: Peter Harvey <pharvey@codebydesign.com>; +Cc: pgsql-interfaces

> Ok, now I have a standalone driver source tree. My problem is that it is
> based upon ./configure. Can someone give me a hand on changing the
> configure? I am pretty sure that I will need to make a few
> changes/enhancements to it such as;
> 
> - switch to configure for unixODBC
> - unixODBC flag for ifdefs
> - some include and lib file changes
> - install changes???

You may as well tackle the source code first, and get a good build
before we go mucking with configure. You can see from the existing
code how to bracket things with #ifdef, so choose your flag and then
go to it. We can add something like "--enable-unixodbc" to
configure.in later.

Pass the symbols in from CFLAGS in the Makefile, or set up a
Makefile.custom which I'm pretty sure would get used in the standalone
environment:

# Makefile.custom
CFLAGS+=-DUNIXODBC

Good luck.

                          - Thomas

-- 
Thomas Lockhart				lockhart@alumni.caltech.edu
South Pasadena, California



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1999-05-12 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-05-12 14:47 ODBC - configure Peter Harvey <pharvey@codebydesign.com>
1999-05-12 15:23 ` Thomas Lockhart <lockhart@alumni.caltech.edu>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox