autoconf
[Top][All Lists]
Advanced

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

Re: Mangled argument vector choking on spaces?


From: Paul Eggert
Subject: Re: Mangled argument vector choking on spaces?
Date: Sat, 03 Jan 2015 15:37:14 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

David A. Wheeler wrote:
E.g. when using AC_CHECK_PROG to search for "sbcl", the generated makefile 
would say:
SBCL = sbcl

That's easy to do without changing Autoconf.  Put this in configure.ac:

AC_CHECK_PROG([SBCL], [sbcl], [sbcl], [false])

and this in Makefile:

SBCL = @SBCL@

Unfortunately, one often needs the absolute file name of the command, and that's where the problem lies.



reply via email to

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