This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix toplevel configure for --target TARGET_NAME etc.
On Thu, Jan 16, 2003 at 02:50:33PM -0200, Alexandre Oliva wrote:
> On Jan 16, 2003, DJ Delorie <dj@delorie.com> wrote:
>
> > 2003-01-16 Jakub Jelinek <jakub@redhat.com>
>
> > * configure.in (baseargs): Remove all supported forms of
> > --cache-file, --srcdir, --host, --build and --target options
> > from argument lists.
> > * configure: Rebuilt.
>
> > Ok.
>
> Erhm... Are you sure regexp alternation (\|) is portable sed? I'm
> not atm.
If not, I'll have to spell the two alternatives on separate lines.
> I don't see why you need that, anyway. Besides, there's a functional
> change in the patch: formerly, we required --cache as a prefix, now we
> match just --c. Why is that, and why do you fully spell the complete
> options?
See what autoconf accepts, say for --cache-file:
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
cache_file="$ac_optarg" ;;
Jakub