[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AS_DIRNAME and expr
From: |
Paul Eggert |
Subject: |
Re: AS_DIRNAME and expr |
Date: |
Sat, 11 Nov 2000 10:29:52 -0800 (PST) |
> From: Alexandre Oliva <address@hidden>
> Date: 11 Nov 2000 04:51:04 -0200
> How about:
>
> # Work around the problem that "expr 'a' : 'a\(\)'" outputs "0" in QNX.
> case $ac_option in
> *=?*) ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` ;;
> *) ac_optarg= ;;
> esac
Yes, that'd be even better.
> I mean, it's not like it would be too costly to add a sed-based
> fallback here.
I don't think so.
Another possibility would be for "configure" to substitute its own
"expr" if the system expr doesn't work. config.expr would be a shell
script that invokes sed to work around the buggy cases, and invokes
the system expr in normal cases.
- Re: Success (mostly) with the testsuite, Akim Demaille, 2000/11/09
- Re: Success (mostly) with the testsuite, David Morgan, 2000/11/09
- Re: AS_DIRNAME and expr, Paul Eggert, 2000/11/09
- Re: AS_DIRNAME and expr, David Morgan, 2000/11/09
- Re: AS_DIRNAME and expr, Paul Eggert, 2000/11/09
- Re: AS_DIRNAME and expr, Akim Demaille, 2000/11/10
- Re: AS_DIRNAME and expr, Paul Eggert, 2000/11/10
- Re: AS_DIRNAME and expr, Alexandre Oliva, 2000/11/11
- Re: AS_DIRNAME and expr,
Paul Eggert <=
- Re: AS_DIRNAME and expr, Akim Demaille, 2000/11/16
- Re: AS_DIRNAME and expr, David Morgan, 2000/11/16
- Re: AS_DIRNAME and expr, Paul Berrevoets, 2000/11/17
- Re: AS_DIRNAME and expr, Akim Demaille, 2000/11/29
- Re: AS_DIRNAME and expr, Paul Eggert, 2000/11/29
- Re: AS_DIRNAME and expr, Akim Demaille, 2000/11/29
- Re: AS_DIRNAME and expr, Akim Demaille, 2000/11/29
- Re: AS_DIRNAME and expr, Paul Berrevoets, 2000/11/29
- Re: AS_DIRNAME and expr, Akim Demaille, 2000/11/29
- Re: AS_DIRNAME and expr, Akim Demaille, 2000/11/10