Update of /cvsroot/monetdb/MonetDB4/src/tools
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9900/MonetDB4/src/tools
Modified Files:
Mserver.mx prog.c
Log Message:
clean-up:
- do not install, package & distribute configure-generated <pkg>_config.h;
each pkg need to generate and include its own <pkg>_config.h, anyway.
- avoid maintaining, installing, packaging & distributing redundant
sysdefs.h[.in];
(re-)use MonetDB/sysdefs.h.in instead.
- ensure that each pkg includes its own <pkg>_config.h, only.
- replace "hacky" definitions of MONETDBPREFIX & MONETDBCONFIG
by proper(?) definitions of MONETDB[45]_PREFIX & MONETDB[45]_CONFFILE;
TODO:
on Windows, find a way to replace the hard-wired definitions
of MONETDB[45]_PREFIX & MONETDB[45]_CONFFILE
in sql/NT/sql_config.h.in & pathfinder/NT/pf_config.h.in
by proper ones that use the output of
`monetdb[45]-config --prefix` & `monetdb[45]-config --syscofdir` .
Index: prog.c
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/src/tools/prog.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- prog.c 7 Sep 2007 21:59:08 -0000 1.6
+++ prog.c 4 Dec 2007 01:04:26 -0000 1.7
@@ -102,8 +102,8 @@
usage(prog);
/* needed, to prevent the MonetDB/4 config file from being used */
- setlen = mo_add_option(&set, setlen, opt_config, "prefix",
MONETDBPREFIX);
- setlen = mo_add_option(&set, setlen, opt_config, "config",
MONETDBCONFIG);
+ setlen = mo_add_option(&set, setlen, opt_config, "prefix",
MONETDB4_PREFIX);
+ setlen = mo_add_option(&set, setlen, opt_config, "config",
MONETDB4_CONFFILE);
for (;;) {
int option_index = 0;
Index: Mserver.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/src/tools/Mserver.mx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Mserver.mx 14 Nov 2007 12:49:53 -0000 1.14
+++ Mserver.mx 4 Dec 2007 01:04:26 -0000 1.15
@@ -226,8 +226,8 @@
if (!(setlen = mo_builtin_settings(&set)))
usage(prog, debug, set, setlen);
- setlen = mo_add_option(&set, setlen, opt_config, "prefix",
MONETDBPREFIX);
- setlen = mo_add_option(&set, setlen, opt_config, "config",
MONETDBCONFIG);
+ setlen = mo_add_option(&set, setlen, opt_config, "prefix",
MONETDB4_PREFIX);
+ setlen = mo_add_option(&set, setlen, opt_config, "config",
MONETDB4_CONFFILE);
for (;;) {
int option_index = 0;
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins