autoconf
[Top][All Lists]
Advanced

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

Re: Supporting AC_TRY_RUN for cross-compilation (was: AC_FUNC_SETVBUF _R


From: Paul Eggert
Subject: Re: Supporting AC_TRY_RUN for cross-compilation (was: AC_FUNC_SETVBUF _REVERSED in cross-compilation)
Date: Wed, 8 May 2002 11:29:40 -0700 (PDT)

> From: Dan Kegel <address@hidden>
> Date: Wed, 8 May 2002 10:17:18 -0700
> 
> How about this: configure should take a commandline argument,
> --with-remote-run=, which specifies a wrapper command
> which knows how to execute tests remotely.  For instance, 
> --with-remote-run="ssh chassis" would use ssh to run the AC_TRY_RUN
> test on machine 'chassis'.  If --with-remote-run is not
> specified, AC_TRY_RUN would behave just as it does today.

That sounds like a reasonable extension.  It wouldn't work in all
cases, but it would help in some cases, and that is better than
nothing.

> I just checked, and ssh does pass back exit status properly,
> at least for  /bin/true and /bin/false.

Alas, 'rsh' does not, which will make for some confusion.  It was has
always been one of my pet peeves about 'rsh'.



reply via email to

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