freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: James Cameron <cameron AT stl.dec.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: header file changes
- Date: Tue, 30 Oct 2001 12:47:30 +1100
Brian Bruns wrote:
> configure doesn't do it for me...it leaves the string defined as
> %SYSCONFDIR%...I'm totally open to alternate ways of doing this.
The way it was is correct, I was wrong. The configure.in change you
committed (revision 1.6) is fine.
GNU coding standards require that substitutions of source be done in
Makefile, so that the code can be rebuilt with a different prefix
without having to reconfigure.
I tried changing it to @SYSCONFDIR@ (which is what configure works with)
but all I got was ${prefix}.
The use of include/tds.h and include/tdsver.h in AC_OUTPUT might not be
complaint with the standard; we should be using a config.h file instead.
References:
http://www.gnu.org/manual/autoconf-2.52/html_node/autoconf_23.html
"Variable: sysconfdir
The directory for installing read-only single-machine data.
Most of these variables have values that rely on prefix or exec_prefix.
It is on purpose that the directory output variables keep them
unexpanded: typically `@datadir@' will be replaced by `${prefix}/share',
not `/usr/local/share'.
This behavior is mandated by the GNU coding standards, so that when the
user runs:
`make'
she can still specify a different prefix from the one specified to
@command{configure}, in which case, if needed, the package shall hard
code dependencies to her late desires."
--
James Cameron (cameron AT stl.dec.com)
"Did I ask for fries?"
-
Re: header file changes
, (continued)
- Re: header file changes, James Cameron, 10/24/2001
- Re: header file changes, Brian Bruns, 10/24/2001
- Re: header file changes, Brian Bruns, 10/24/2001
- Re: header file changes, Brian Bruns, 10/24/2001
- Re: header file changes, Brian Bruns, 10/24/2001
- Re: header file changes, James Cameron, 10/24/2001
- Re: header file changes, Brian Bruns, 10/29/2001
- Re: header file changes, James Cameron, 10/29/2001
- Re: header file changes, James Cameron, 10/29/2001
- Re: header file changes, Brian Bruns, 10/29/2001
- Re: header file changes, James Cameron, 10/29/2001
- Re: header file changes, Brian Bruns, 10/29/2001
- Re: header file changes, James Cameron, 10/29/2001
Archive powered by MHonArc 2.6.24.