From 643e9a38bd78fcf6c16127731693e6720bc6b22b Mon Sep 17 00:00:00 2001 From: James Laird Date: Mon, 21 Feb 2005 16:30:49 -0500 Subject: [svn-r10062] Purpose: Bug fix Description: Discovered two small bugs. When MAKE is defined as the empty string, a test in configure incorrectly identifies it as pmake. Skipped this test if $MAKE is the empty string. Two .h5 files produced by a test in the hl directory were not cleaned. Updated the Makefile.am. Platforms tested: heping, modi4 (very minor changes) --- configure | 7 +++++-- configure.in | 8 ++++++-- hl/test/Makefile.am | 2 +- hl/test/Makefile.in | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/configure b/configure index a03b7e2..0e2d57a 100755 --- a/configure +++ b/configure @@ -9732,7 +9732,9 @@ rm maketest AM_MAKEFLAGS="" -echo "$as_me:$LINENO: checking whether make will build with undefined variables" >&5 +if test ${MAKE}; then + + echo "$as_me:$LINENO: checking whether make will build with undefined variables" >&5 echo $ECHO_N "checking whether make will build with undefined variables... $ECHO_C" >&6 cat >maketest <&6 AM_MAKEFLAGS="\-V" fi -rm maketest + rm maketest +fi echo "$as_me:$LINENO: checking for production mode" >&5 echo $ECHO_N "checking for production mode... $ECHO_C" >&6 diff --git a/configure.in b/configure.in index 75e1cc8..26caaa6 100644 --- a/configure.in +++ b/configure.in @@ -565,7 +565,10 @@ dnl These errors can be changed to warnings using the -V flag. dnl AC_SUBST(AM_MAKEFLAGS) AM_MAKEFLAGS="" -AC_MSG_CHECKING([whether make will build with undefined variables]) +dnl Don't run test if MAKE is defined but is the empty string +if test ${MAKE}; then + + AC_MSG_CHECKING([whether make will build with undefined variables]) cat >maketest <