pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Peter Harvey <pharvey@codebydesign.com>
Cc: pgsql-interfaces <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] ODBC - configure
Date: Wed, 12 May 1999 15:23:22 +0000
Message-ID: <37399CEA.E430DC61@alumni.caltech.edu> (raw)
References: <37399470.8288A3E4@codebydesign.com>

> 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



view thread (2+ messages)

Message-ID: <37399CEA.E430DC61@alumni.caltech.edu>
Permalink:  ../37399CEA.E430DC61@alumni.caltech.edu/
Also on:    postgresql.org/message-id/37399CEA.E430DC61@alumni.caltech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lockhart@alumni.caltech.edu, pharvey@codebydesign.com
  Subject: Re: [INTERFACES] ODBC - configure
  In-Reply-To: <37399CEA.E430DC61@alumni.caltech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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