This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite, ada, build] Allow for further differences in type output in run_acats
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, Arnaud Charlet <charlet at adacore dot com>, Paolo Bonzini <bonzini at gnu dot org>
- Date: Thu, 2 Dec 2010 08:39:23 +0100
- Subject: Re: [testsuite, ada, build] Allow for further differences in type output in run_acats
- References: <yddipzd1riv.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
* Rainer Orth wrote on Wed, Dec 01, 2010 at 03:44:56PM CET:
> I've just noticed that the ACATS tests weren't run on IRIX 6.5 with
> /bin/ksh as CONFIG_SHELL. It turned out that the which() shell function
> in ada/acats/run_acats still isn't robust enough. type -p gnatchop
> would e.g. print
Why don't you simply use the code which Autoconf provides for
AC_CHECK_PROG or AC_PATH_PROG? Portable, stable, time-tested.
Cheers,
Ralf