Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/flex/include avoid m4 redefinition



details:   https://anonhg.NetBSD.org/src/rev/2a1f1c56ac07
branches:  trunk
changeset: 820177:2a1f1c56ac07
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 02 18:15:55 2017 +0000

description:
avoid m4 redefinition

diffstat:

 external/bsd/flex/include/config.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r fe8153ce8716 -r 2a1f1c56ac07 external/bsd/flex/include/config.h
--- a/external/bsd/flex/include/config.h        Mon Jan 02 17:46:39 2017 +0000
+++ b/external/bsd/flex/include/config.h        Mon Jan 02 18:15:55 2017 +0000
@@ -155,7 +155,9 @@
 #undef LT_OBJDIR
 
 /* Define to the m4 executable name. */
-#define M4 "/usr/bin/gm4"
+#ifndef M4
+#define M4 "/usr/bin/m4"
+#endif
 
 /* Name of package */
 #define PACKAGE "flex"



Home | Main Index | Thread Index | Old Index