Patrice Dumas wrote: >Hello, > >Just to make sure that it gets noticed (and flamed if somebody disagrees...), >I committed some changes that allow src/include/kdbprivate.h to be generated >from src/include/kdbprivate.h.in, with sysconfdir substituted instead of an >hardcoded /etc for the system hierarchy. So unless it is reversed, >kdbprivate.h.in should be modified instead of kdbprivate.h. > > The idea is interesting but i don't know if its the nicest way to do that. Why not simply put KDB_DB_SYSTEM & KDB_DB_USER into config.h ? I think this file is existing for things like that ? If you want these still appearing in kdbprivate.h (which could be interesting for code understanding) you could use :
#define KDB_DB_SYSTEM CONFIG_DB_SYSTEM // see config.h #define KDB_DB_USER CONFIG_DB_USER // see config.h Where CONFIG_DB_* are defined into config.h Moreover, this could give use some ./configure --with-db-system=/etc/kdb --with-db-user=.kdb/ Regards, Yannick ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Registry-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/registry-list
