>>>>> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes:

Paul> How about if we add an AC_PROG_EXPR that searches for a working
Paul> expr and sets EXPR to its value, or to "false" if it can't find
Paul> one.  Then AS_DIRNAME_EXPR can AC_REQUIRE([AC_PROG_EXPR]) and
Paul> use "$EXPR" instead of "expr".

That's the plan, that's why I need to know what shall be tested.

But our troubles could be worse than this, since `expr' is not used
only in AS_DIRNAME.  For instance any CVS configure contains

        ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`

in its parsing the options.

So it is my understanding that

        ./configure --bindir=

is equivalent to

        ./configure --bindir=0

on these systems.

Such a good news...

Reply via email to