CVSROOT: /sources/m4 Module name: m4 Changes by: Gary V. Vaughan <gary> 07/04/02 12:06:23
Index: modules/shadow.c =================================================================== RCS file: /sources/m4/m4/modules/shadow.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -b -r1.14 -r1.15 --- modules/shadow.c 27 Oct 2006 04:03:28 -0000 1.14 +++ modules/shadow.c 2 Apr 2007 12:06:23 -0000 1.15 @@ -1,5 +1,5 @@ /* GNU m4 -- A simple macro processor - Copyright (C) 1999, 2000, 2006 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2006, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,10 +19,15 @@ #include <config.h> -#include <m4module.h> - -#define LTDL_MODULE_NAME shadow +/* Build using only the exported interfaces, unless NDEBUG is set, in + which case use private symbols to speed things up as much as possible. */ +#ifndef NDEBUG +# include <m4/m4module.h> +#else +# include "m4private.h" +#endif +/* Rename exported symbols for dlpreload()ing. */ #define m4_builtin_table shadow_LTX_m4_builtin_table #define m4_macro_table shadow_LTX_m4_macro_table