bug-automake
[Top][All Lists]
Advanced

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

bug#42635: uninitialized value in string eq at /usr/bin/automake line 49


From: Alexandre Duret-Lutz
Subject: bug#42635: uninitialized value in string eq at /usr/bin/automake line 4953.
Date: Fri, 31 Jul 2020 16:48:49 +0200

Hi,

This perl warning occurs with automake 1.16.2 (but is much older) when
TEST_EXTENSIONS is set to the empty string (I don't want to remove
extensions before appending .log) and EXEEXT is defined.

% cat configure.ac
AC_INIT([foo],[1.0])
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC  dnl comment this line to make the warning disappear
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
% cat Makefile.am
TEST_EXTENSIONS =
LOG_COMPILER = echo
TESTS = foo.test
% touch foo.test
% autoreconf -fi
configure.ac:3: installing './compile'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
Use of uninitialized value in string eq at /usr/bin/automake line 4953.
parallel-tests: installing './test-driver'
% nl -ba `command -v automake` | sed -n '4951,4955p'
  4951            if ($handle_exeext)
  4952              {
  4953                unshift (@test_suffixes, $at_exeext)
  4954                  unless $test_suffixes[0] eq $at_exeext;
  4955              }

-- 
Alexandre Duret-Lutz





reply via email to

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