libtool-patches
[Top][All Lists]
Advanced

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

Re: Eager mind wants to understand


From: Charles Wilson
Subject: Re: Eager mind wants to understand
Date: Sun, 26 Sep 2004 19:35:36 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MultiZilla/1.6.4.0b

This is the problem fixed(*) by the AC_SUBST(GREP) change in one of my recent patches, and in Gary's -207(8?) patch.

(*) when using autoconf-2.59 and automake-1.9.1. There may be additional problems exposed by newer auto* that are not fixed by the GREP change.

--
Chuck


Bob Friesenhahn wrote:

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


_______________________________________________
Libtool-patches mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/libtool-patches





reply via email to

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