m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/modules/modtest.c,v


From: Gary V. Vaughan
Subject: Changes to m4/modules/modtest.c,v
Date: Mon, 02 Apr 2007 12:06:29 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Gary V. Vaughan <gary>  07/04/02 12:06:23

Index: modules/modtest.c
===================================================================
RCS file: /sources/m4/m4/modules/modtest.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- modules/modtest.c   27 Sep 2006 12:24:53 -0000      1.15
+++ modules/modtest.c   2 Apr 2007 12:06:23 -0000       1.16
@@ -1,5 +1,5 @@
 /* GNU m4 -- A simple macro processor
-   Copyright (C) 1999, 2000, 2001, 2003, 2004, 2006 Free Software
+   Copyright (C) 1999, 2000, 2001, 2003, 2004, 2006, 2007 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
@@ -20,10 +20,15 @@
 
 #include <config.h>
 
-#include <m4module.h>
-
-#include <assert.h>
+/* 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       modtest_LTX_m4_builtin_table
 #define m4_macro_table         modtest_LTX_m4_macro_table
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]