Re: Add clang++ to AC_PROG_CXX

2016-03-19 Thread Václav Haisman
On 16 March 2016 at 16:30, Earnie wrote: > (...) > Rather than adding to this list of tools how about a configure.ac macro. > Something named AC_REQUIRE_TOOL sounds correct and then AC_CHECK_TOOLS > also checks (or maybe an option to only check) the required tool. >

Re: m4_set_contains cannot find key

2016-03-19 Thread Eric Blake
On 03/18/2016 05:39 AM, Petre Pircalabu wrote: > Please disregard this question. The m4 preprocessing is done before > "configure", so the m4 preprocessor has no way of knowing about the > variable. Correct - you were mixing two languages (m4 and shell), and which gets run when. >>

Re: Add clang++ to AC_PROG_CXX

2016-03-19 Thread Earnie
On 3/16/2016 4:02 AM, Václav Haisman wrote: > On 15 March 2016 at 17:35, Paul Eggert wrote: >> On 10/04/2012 12:41 AM, Václav Zeman wrote: >>> >>> Does attached patch work for you? >> >> >> Following up on this old thread, I applied the attached. In practice I >> expect this

m4_set_contains cannot find key

2016-03-19 Thread Petre Pircalabu
Hello, I'm getting a false negative when trying to test if a set contains a key. The key is specified as a variable in configure.ac. Can you please take a look at the following code snippet? m4_set_add([food], [fish]) m4_set_add([food], [steak]) m4_set_add([food], [junk]) meal=junk