From b97cf09cd7b79d87b4ecfa064657140e25a8958e Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sat, 15 Jun 2013 23:01:09 +1000 Subject: This patch silences "WARNING: Couldn't find the global config file" when running make check. From Gilles Espinasse. * configure.ac: If DEJAGNU is unset, set it to /dev/null. * Makefile.am: Export DEJAGNU. * configure: Likewise. * Makefile.in: Regenerate. --- ChangeLog | 7 +++++++ Makefile.am | 1 + Makefile.in | 2 ++ configure | 7 +++++++ configure.ac | 6 ++++++ 5 files changed, 23 insertions(+) diff --git a/ChangeLog b/ChangeLog index 56814a1..0728842 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-06-15 Ben Elliston + + * configure.ac: If DEJAGNU is unset, set it to /dev/null. + * Makefile.am: Export DEJAGNU. + * configure: Likewise. + * Makefile.in: Regenerate. + 2013-06-15 Bernhard Reutner-Fischer * doc/user.xml: Fix typos. diff --git a/Makefile.am b/Makefile.am index 79e38d3..ac60114 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) $(config_DATA) $(baseboard_DATA) \ diff --git a/Makefile.in b/Makefile.in index 58d1f0e..1171a38 100644 --- a/Makefile.in +++ b/Makefile.in @@ -193,6 +193,7 @@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ +DEJAGNU = @DEJAGNU@ DEPDIR = @DEPDIR@ DOCBOOK2HTML = @DOCBOOK2HTML@ DOCBOOK2PDF = @DOCBOOK2PDF@ @@ -1444,6 +1445,7 @@ uninstall-man: uninstall-man1 uninstall-man1 uninstall-pdf-am uninstall-pkgdataDATA \ uninstall-ps-am +export DEJAGNU # Give a reassuring message so that users know the "build" worked. all-local: diff --git a/configure b/configure index de55bf0..8262077 100755 --- a/configure +++ b/configure @@ -590,6 +590,7 @@ am__EXEEXT_TRUE LTLIBOBJS LIBOBJS subdirs +DEJAGNU EXPECT DOCBOOK2TEXI DOCBOOK2PS @@ -4056,6 +4057,12 @@ else as_fn_error $? "Tcl 8.3 or greater is required" "$LINENO" 5 fi +if test x"$DEJAGNU" = x +then + DEJAGNU="/dev/null" +fi + + subdirs="$subdirs example/calc example/mathhelper" 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]) -- cgit v1.1