dejagnu
[Top][All Lists]
Advanced

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

[PATCH v2] dejagnu : silent global config file warning


From: Gilles Espinasse
Subject: [PATCH v2] dejagnu : silent global config file warning
Date: Thu, 28 Mar 2013 08:00:01 +0100

Signed-off-by: Gilles Espinasse <address@hidden>
---
 Makefile.am  |    1 +
 configure.ac |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9ccfbc3..91f1651 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,6 +20,7 @@
 # Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = dejagnu
+export DEJAGNU
 
 EXTRA_DIST = ChangeLog-1992 MAINTAINERS runtest site.tmpl \
        $(pkgdata_DATA) $(pkgdata_SCRIPTS) \
diff --git a/configure.ac b/configure.ac
index 7ab586d..70ea257 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,5 +56,11 @@ else
   AC_MSG_ERROR([Tcl 8.3 or greater is required])
 fi
 
+if test x"$DEJAGNU" = x
+then
+  DEJAGNU="/dev/null"
+fi
+AC_SUBST(DEJAGNU)
+
 AC_CONFIG_SUBDIRS([example/calc example/mathhelper])
 AC_OUTPUT([Makefile])
-- 
1.7.2.5




reply via email to

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