autoconf
[Top][All Lists]
Advanced

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

Re: AS_DIRNAME and expr


From: Akim Demaille
Subject: Re: AS_DIRNAME and expr
Date: 10 Nov 2000 10:23:25 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

>>>>> "Paul" == Paul Eggert <address@hidden> 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

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