[testsuite, ada, build] Allow for further differences in type output in run_acats

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Thu Dec 2 07:39:00 GMT 2010


* 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



More information about the Gcc-patches mailing list