From: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | Peter Harvey <pharvey(at)codebydesign(dot)com> |
Cc: | pgsql-interfaces <pgsql-interfaces(at)postgreSQL(dot)org> |
Subject: | Re: [INTERFACES] ODBC - configure |
Date: | 1999-05-12 15:23:22 |
Message-ID: | 37399CEA.E430DC61@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)alumni(dot)caltech(dot)edu
South Pasadena, California
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 1999-05-12 17:41:17 | RE: [INTERFACES] pgAdmin interface on Windows communicating with a PostgreSQL database on Linux. |
Previous Message | Thomas Lockhart | 1999-05-12 14:58:55 | Re: [INTERFACES] ODBC - Makefiles |