Index: config.auto.h.in =================================================================== --- config.auto.h.in (revision 2446) +++ config.auto.h.in (revision 2447) @@ -286,9 +286,22 @@ #define VERSION "@/local/version@" #define REVISION "@/local/revision@" + +/* Define to 1 if you have the `dmalloc' library (-ldmalloc); + (memory debugging without valgrind) */ +@] + +print_ternary libs/sul/dmalloc/presents {#define HAVE_LIBDMALLOC 1} {/*#undef HAVE_LIBDMALLOC */} + +print [@ +/* +The documentation says it's not necessary to include dmalloc.h. +Pros: getting source line info +Cons: can't include from here, needs to be included from the bottom of the #include list from each file #ifdef HAVE_LIBDMALLOC #include #endif +*/ /* Coordinate type and properties, as detected by scconfig */ typedef @/local/pcb/coord_type@ Coord;