+2009-01-29 Akim Demaille <demaille@gostai.com>
+
+ Fix func_exec_init.
+ * tests/defs.m4sh (func_exec_init): Instead of using the undefined
+ my_dir, call func_dirname_and_basename and use its result.
+ (func_make): For consistency, don't use the useless local variable
+ my_dir.
+
2009-01-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Document --mode short-hands better, and test them.
# @configure_input@
# defs -- Defines for Libtool testing environment.
#
-# Copyright (C) 2003, 2004, 2005, 2007, 2008 Free Software
+# Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009 Free Software
# Foundation, Inc.
# Written by Gord Matzigkeit, 1996
# Rewritten by Gary V. Vaughan, 2003
my_build_regex=false
fi
my_first=:
-
+
for my_varname in $my_varname_list; do
if $my_build_regex; then
$my_first || my_regex="$my_regex|"
$opt_debug
my_args=${1+"$@"}
func_dirname_and_basename "`pwd`"
- my_dir=$func_basename_result
-
- func_msg "Running \`$MAKE $my_args' in $my_dir"
+ func_msg "Running \`$MAKE $my_args' in $func_basename_result"
eval $MAKE $my_args || exit $EXIT_FAIL
}
func_exec_init ()
{
$opt_debug
- func_msg "Executing $1 programs in $my_dir"
+ func_dirname_and_basename "`pwd`"
+ func_msg "Executing $1 programs in $func_basename_result"
# Windows hosts search for dlls in the command path
PATH=$prefix/lib:$PATH
# sh-indentation:2
# End:
]])
-