/* configurenolog.h: copied to configure.h by xmkmfnolog.csh - RJL051008 */ /* WARNING: shell-like syntax below; not compilable - RJL051008 */ /* configure.h is #included in Imakefiles, NOT in Makefiles or src code */ /* (-DBDE_SCHEMA="96subde_schema.h", -DBDE_VIEW="94sbdeview") */ /* In xmkmf, " #" is not a comment introducer but in Makefiles, it is.*/ /******************************************************************* * $Log: configurenolog.h,v $ * Revision 1.2 2005/10/27 03:07:31 lechner * Removed #ifdef LOG\n BDEUSERDEFINES = $(BDEUSERDEFINES) -DBDELOG\n #endif * No longer needed. Linux had recursion problems with it. * * Revision 1.1 2005/10/09 00:20:13 lechner * This pair of files replaces configure.h to provide both log and nolog options. * The correct one is copied to configure.h by xmkmf[no]log.csh. * * Revision 1.18 2005/08/23 23:42:04 lechner * Added comment re: add #define LOG 1 on alpha hosts - xmkmf -a -DLOG fails there. * * Revision 1.17 2005/08/12 03:27:31 lechner * Revs for bde tree expansion, and introduce -DLOG to control BDELOG and GENLOG #defines. * * Revision 1.16 2005/07/25 02:09:06 lechner * Restored BDE_LIB_PATH = ../lib (Only); * Comment: USEDECC no longer enables cxx compilation (RJL050616). * #define BDELOG,GENLOG conditional on #ifdef LOG (here and/or configure.h) * * Revision 1.15 2005/07/24 02:16:32 lechner * Commented out #define GENLOG, BDELOG to build bde without log/replay support. * * Revision 1.14 2005/07/24 02:13:59 lechner * Removed redefinition of BDE_LIB_PATH as ./lib; it is only ../lib now. * * Revision 1.13 2005/05/18 02:59:23 lechner * Replaced #define GENV12 by #define GENV13 * * Revision 1.12 2005/05/03 06:42:07 lechner * Merged branch (bde2alpha_rv) comments into otrunk, no other changes. * * * Revision 1.7.2.10 2004/04/06 02:23:25 lechner * Changed one line: 'it' to 'bde' * * Revision 1.7.2.9 2003/10/22 01:00:29 lechner * Added GENLOG to BDELOG and GENV12 #defines for revised Imakefile use. * * Revision 1.7.2.8 2002/03/12 00:42:55 lechner * Addded BDELOG and GENV12 #defs, moved others to bde/Imakefile * * Revision 1.7.2.7 2001/12/04 04:14:39 lechner * Updated a few lines; made USEDECC explicit (for cxx) * * Revision 1.7.2.6 2000/09/26 02:36:59 lechner * I commented out " #" lines which are not comment introducers at BDE_LIB_PATH * * Revision 1.7.2.5 2000/09/23 02:23:47 lechner * I did cvs ci bde, to be followed by cvs tag bde2alpha.2k0922 bde and cvs co; * checkin updates the repository, tag adds a new tag to current branch (tag bde2apha_rv), * in the repository but not locally, amd cvs co makes the local version have that tag. * * Revision 1.7.2.4 2000/04/20 15:17:09 ntansala * insert pr_startlog and pr_stoplog function in fileio.cc and * replace "Using Gen v10.2" by "Using Gen v11" in bde.cc * * Revision 1.7.2.3 2000/04/06 07:08:03 lechner * I checked in 7 updated files and added tag bde2alpha_rjl * Files include 3 Imakefiles, bde/{configure.h,aareadme,src/fileio.cc, * executables/bde} * * Revision 1.7.2.2 1999/09/14 00:40:05 lechner * Revert to original ../lib (./lib was a temporary change by vdhamoda) * RJL 990913 * * Revision 1.7.2.1 1999/05/19 22:19:16 vdhamoda * bde2alpha_rv_final * * Revision 1.11 1998/12/08 00:49:43 lechner * I added comments re: #including local copy of configure.h from your bde root * at make time. This requires copying bde/lib to your bde root to make bde. * * Revision 1.10 1998/10/19 05:37:54 lechner * I added an early comment naming the two files -D-defined at the end - RJL * * Revision 1.9 1997/01/25 01:44:18 lechner * I updated the comment in rev 8. RJL * * Revision 1.8 1996/12/18 19:37:35 cparisi * BDECODE project 96f523 * adds new "text" class and table XB to consolidate some test operations. * * Revision 1.7 1996/07/01 20:13:13 lechner * I changed the schema file to 96subde_schema.sch - RJL * * Revision 1.6 1995/10/18 21:51:46 rdias * Commented out the g++-include and gcc-include paths in the IMAKE_CMD section. * The IMAKE_CMD does not use these to make Makefiles in the subdirectories. * * Revision 1.5 1995/05/31 01:22:37 lechner * Minor edits to BDEVIEW definitiun line - RJL * * Revision 1.4 1995/05/31 00:41:17 lechner * Added two -DDefines for default schema.h and viewdef file names * (bde deltas to remove literal filenames TBD in 95F) * * Revision 1.3 1995/01/10 03:24:35 lechner * Renamed LIB_PATH to BDE_LIB_PATH to avoid global confusion * * Revision 1.2 1995/01/04 07:26:53 lechner * Changed LIB_PATH from 94fbde/jacosta... to 95sbde/bde/src/lib * * Revision 1.1.1.1 1995/01/04 06:03:42 lechner * Imported 94fbde tree to 95sbde * * Revision 1.7 1994/08/22 20:46:08 lechner * Removed obsolete MULTIGRAPH option - RJL * * Revision 1.6 1994/07/06 20:37:05 rchiang * This Makefile is generated through the Imakefile with xmkmf -a * and configure.h has the debug option turned on. * * Revision 1.5 1994/05/12 14:59:33 mtorpey * updated the compile options.. * * Revision 1.4 1994/04/16 20:04:53 jrichard * added USEEXTRAWARN section which allows uses to turn on warnings for * Ansi C++, commenting this define out should speed up the compile * a little (I hope) * * Revision 1.3 1994/04/13 20:21:13 mtorpey * Modified configure.h to allow the developer to specify the default * lib path for the necessary run time files.. Imakefile needed to * be modified to reflect this change. * * Revision 1.2 1994/04/11 15:19:37 jrichard * added the bdegeo link coordinate system define USE94SLC * * Revision 1.1 1994/04/07 21:36:47 jrichard * user configurable defines for imake * *******************************************************************/ /* 050808: Added #ifdef LOG to Makefiles so make -DLOG can discrminate. * Goal: avoid #define $BDELOG, $GENLOG customization here.-RJL050808 * Currently, need setenv LOG to 1 or 0 before xmkmf -a also. */ /****************************************************************** * cvs update installed the following conflict report * during my 'cvs update bde' run this AM in ~/bde2alpha_rv. * It may be that rev 1.11 of * configure.h was not on this branch * because it stemmed from fjara and thus preceded v 1.11. * - RJL 2k0406 * But the main (and old) branch in $CASE/95s523/95sbde/bde sees v 1.11 * of configure.h which should be checked in on the _rv branch.? ***************************************************************** */ /******************************************************************* * defines: comment out the defines you don't want to use * * USEGENVnn: (moved to bde/Imakefile, closer to its use) * o option to use ONE of GENV10/V11/V12/V13 (GENV12 is default) * for building bde/pr_util library * * MULTIGRAPH: (THis option is obsolete - RJL) * * USEEXTRAWARN: * o define this if you want to have extra warnings printed * by GCC * * USELCWC: * compile with local/world coordinates * * USE94SLC: * use the 94s bdegeo link coordinate system * * USEDECC (also moved to bde/Imakefile - RJL) * #define USEDECC to compile BDE with cxx not g++ ****************************************************************** */ #define USELCWC /* bde2java does not use WC - not data-compatible with bde. RJL 030901 */ #define USE94SLC /* I do not know if USELCWC and USE94SLC are compatible or mutex???-RJL 2k0406*/ /* RJL update 011203 - USEDECC to avoid pr_util/makefile line 1193 error */ /* #define USEDECC - omit for g++ - RJL 020227 */ /* USEDECC fails now - RJL050616: (nosemi or parmtyplist errors in * /usr/include/stdio.h, /usr/include.dtk/stdio.h, and /usr/include/errno.h) */ #define USEEXTRAWARN /* select V10..V13 option here: */ #ifndef GENV13 #define GENV13 #endif /* optionally add both: -DGENLOG to GENDEFINES and BDELOG to BDEDEFINES */ /* #define ==> (after xmkmf -a, make affects bde/pr_util_log subree; */ /* remove #defs ==> (after xmkmf -a, make affects bde/pr_util_nolog subree; */ /* This is #included in Imakefiles; cpp is called from imake . */ /* Can this option be controlled by -DLOG passed at 'make' time? */ /* use xmkmf -a -DLOG on linux. xmkmf on alpha ignores -DLOG * so use #define LOG 1 here as an alpha compile-time workaround * in pr_util_log/alpha - * The correct executable is called by bde/executables/bde[log]. * * alpha requires #define LOG here to compile bdeReplay.cc and pr_log.c. * xmkmf on linux accepts this or -DLOG on command line for this purpose. * Makefile must pass these to g++ to compile src/_*.cc code conditionally * How to use -DLOG on command line instead? * Also use it inside of configure.h */ #undef LOG #undef BDELOG #undef GENLOG /****************************************************************** * This is the default place to look for the necessary lib files * needed by bde. The user can set environment variables to * override this default. ******************************************************************/ BDE_LIB_PATH = ../lib /******************************************************************* * These are defines to be set during bde compiliation * * Description of defines: * * DEBUG: * turns on chgen debugging * * String_REDEFINE_NOT_NEEDED: * turns off redefinition of string for compatiblity with X11 * (always #defined now, so can omit -D... * and omit #ifndef ... brackets everywhere - RJL 030727) * * BDE_SCHEMA and BDE_VIEW are (TBD) replacements for file names * currently imbedded in bde source files - these names should be changed * here when newer schema and view files evolve - RJL 95/5/30 * Note that the viewdefs file MUST contain this viewname. *******************************************************************/ BDEUSERDEFINES = \ -DDEBUG \ -DString_REDEFINE_NOT_NEEDED \ -DBDE_SCHEMA="94sbde_schema.h" \ -DBDE_VIEW="94sbdeview"