libtool-patches
[Top][All Lists]
Advanced

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

Eager mind wants to understand


From: Bob Friesenhahn
Subject: Eager mind wants to understand
Date: Sun, 26 Sep 2004 18:25:29 -0500 (CDT)

From tests/defs:

func_get_config ()
{
  my_varname_list="$1"
  my_src="$2"
  my_failp="false";  test -z "$3" || my_failp=:
  my_regex="$4"

  my_exitp=false
  for my_varname in $my_varname_list; do
    test -z "$4" && my_regex="^${my_varname}="

    eval $my_varname=NONE
    eval `eval $my_src | eval $GREP \"$my_regex\"`

    if eval test x\"\$$my_varname\" = xNONE; then
      func_error "$my_varname not set in \`$my_src'"
      $my_failp && my_exitp=:
    fi
  done

  $my_exitp && exit $EXIT_FAILURE
}

And while running tests under Solaris:
.
.
.
+ test -z : fatal my_failp=:
my_regex=
my_exitp=false
+ test -z my_regex=^objext= + eval objext=NONE objext=NONE + eval /usr/local/bin/grep "^objext=" + /usr/local/bin/grep ^objext= + eval ../libtool --config + ../libtool --config : : cannot open + eval + eval test x"$objext" = xNONE + test xNONE = xNONE + func_error objext not set in `../libtool --config' + echo link.test: objext not set in `../libtool --config' link.test: objext not set in `../libtool --config' + : my_exitp=: + : + exit 1 FAIL: link.test

With latest released Autoconf & Automake this causes *all* tests to fail. It seems that an assumption was wrong. What to do?

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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