autoconf
[Top][All Lists]
Advanced

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

Re: Shell built-in command detection?


From: Akim Demaille
Subject: Re: Shell built-in command detection?
Date: 20 Mar 2002 09:28:03 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

>>>>> "Andrew" == Andrew Begel <address@hidden> writes:

Andrew> I'm using Autoconf 2.52, and trying to detect the shell
Andrew> command, printf using

Andrew> AC_CHECK_PROG(PRINTF, printf, printf)

Andrew> This check comes up empty when printf is not a standalone
Andrew> binary, but a built-in shell command (on bash in MSYS/Windows
Andrew> it is). What is the proper check to use in this case?

if bash -c builtin printf blah blah

or something like that.



reply via email to

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