Skip to Content.
Sympa Menu

freetds - RE: tds_config.h.in

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Castellano, Nicholas" <Nicholas_Castellano AT acml.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: tds_config.h.in
  • Date: Fri, 11 Oct 2002 19:50:22 -0400


I spent my entire two-hour train ride home tonight having second thoughts
about this.

We need to keep elements required at library build time separate from
elements required at library use time.

To implement that, I will do the following:

- All autoconf-generated or human-ported system dependencies will be
localized in two header files, tds_sysdep_private.h[.in] and
tds_sysdep_public.h[.in]. Only the latter will be installed by "make
install."

- tds_configs.h will revert back to its original purpose of only specifying
configuration file locations. It will use macro concatenation to add the
configured FREETDS_SYSCONFDIR from tds_sysdep_private onto each pathname.

- tds.h will unconditionally include tds_sysdep_public.h. It will include
tds_sysdep_private.h only if _FREETDS_LIBRARY_SOURCE is defined.

- The TDS_* typenames will be moved back to tds.h.

This gives us the cleanliness that's needed to do this properly, and people
doing manual ports will only need to provide preconfigured versions of these
two headers.

If you dislike this idea, speak soon or forever hold your peace...

Cheers,
--nick

-----Original Message-----
From: Castellano, Nicholas
Sent: Friday, October 11, 2002 4:16 PM
To: 'TDS Development Group'
Subject: RE: [freetds] tds_config.h.in


Funny, Jim and I just had a long discussion on the phone and basically
decided that this was the right approach and I would have a look at it next
week :-)

I will look at handling replacements.h in a similar manner.

Cheers,
--nick

-----Original Message-----
From: bounce-freetds-145195 AT franklin.oit.unc.edu
[mailto:bounce-freetds-145195 AT franklin.oit.unc.edu]
Sent: Friday, October 11, 2002 4:05 PM
To: TDS Development Group
Subject: [freetds] tds_config.h.in


I putted all configure and platform dependent include into tds_configs.h.in
(I removed tds.h.in and readded a tds.h without platform dependent
declarations).

This from discussion about Win32 port and configure stuff.

freddy77





---
You are currently subscribed to freetds as: [Nicholas_Castellano AT acml.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that for certain accounts we do not accept
orders and/or instructions by e-mail, and for those accounts we will not be
responsible for carrying out such orders and/or instructions. Kindly refrain
from sending orders or instructions by e-mail unless you have confirmed that
we accept such communications for your account. Please also note that to
satisfy regulatory requirements we review the outgoing and incoming e-mail
correspondence of staff members serving certain functions.






Archive powered by MHonArc 2.6.24.

Top of Page