Received: from localhost (IDENT:root@hectic-2.jpl.nasa.gov [128.149.68.204]) by hub.org (8.9.3/8.9.3) with ESMTP id LAA04037 for ; Wed, 12 May 1999 11:21:40 -0400 (EDT) (envelope-from lockhart@alumni.caltech.edu) Received: from alumni.caltech.edu (lockhart@localhost [127.0.0.1]) by localhost (8.8.7/8.8.7) with ESMTP id PAA07689; Wed, 12 May 1999 15:23:22 GMT Sender: lockhart@hub.org Message-ID: <37399CEA.E430DC61@alumni.caltech.edu> Date: Wed, 12 May 1999 15:23:22 +0000 From: Thomas Lockhart X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: en MIME-Version: 1.0 To: Peter Harvey CC: pgsql-interfaces Subject: Re: [INTERFACES] ODBC - configure References: <37399470.8288A3E4@codebydesign.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > 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