Re: [PATCH 2/2] tests: fix helldl rule generation in _LT_DEMO_SETUP macro

2019-03-14 Thread Eric Blake
On 3/14/19 5:46 PM, Nikolai Merinov wrote: > * tests/demo.at (_LT_DEMO_SETUP): $@ expanded to empty string during > _LT_DEMO_SETUP expanding. Avoid $@ usage inside m4_define call. It is not necessary to avoid $@, you just merely have to quote it so that m4 doesn't eat it. > --- >

[PATCH 0/2] Support quotted arguments in user-supplied flags

2019-03-14 Thread Nikolai Merinov
Currently in the `_LT_COMPILER_OPTION' macro exists same issue as I tried to fix for autoconf in the following thread: https://lists.gnu.org/archive/html/autoconf-patches/2019-03/msg3.html As result of this issue the following call: > ./configure CPPFLAGS='-DSTR=\"TESTME\"' CC=clang always

[PATCH 2/2] tests: fix helldl rule generation in _LT_DEMO_SETUP macro

2019-03-14 Thread Nikolai Merinov
* tests/demo.at (_LT_DEMO_SETUP): $@ expanded to empty string during _LT_DEMO_SETUP expanding. Avoid $@ usage inside m4_define call. --- tests/demo.at | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tests/demo.at b/tests/demo.at index 4eb156cf..a10520b0

[PATCH 1/2] libtool: Support quoted arguments in user-supplied flags

2019-03-14 Thread Nikolai Merinov
* m4/libtool.m4 (_LT_COMPILER_OPTION): Evaluate `lt_compile' variable twice in order to unquote user-supplied variables in same manner as it made during compilation in Makefiles (_LT_COMPILER_C_O): Same * Makefile.am (TESTSUITE_AT): Add new test * tests/escaped_cflags.at: New test for quoted