[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] libm4: support UNIXROOT on OS/2
From: |
KO Myung-Hun |
Subject: |
Re: [PATCH 2/2] libm4: support UNIXROOT on OS/2 |
Date: |
Wed, 10 Dec 2014 11:28:04 +0900 |
User-agent: |
Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 |
Eric Blake wrote:
> On 12/09/2014 02:17 PM, Gary V. Vaughan wrote:
>
>>>> +#if OS2 +# define UNIXROOT "/@unixroot" +#else +# define
>>>> UNIXROOT "" +#endif + void m4__include_init (m4 *context) {
>>>> @@ -393,7 +399,7 @@ m4__include_init (m4 *context)
>>>> search_path_add (info, "", false);
>>>>
>>>> /* Non-core modules installation directory. */ -
>>>> search_path_add (info, PKGLIBDIR, false); +
>>>> search_path_add (info, UNIXROOT PKGLIBDIR, false); }
>>>>
>>>> #ifdef DEBUG_INCL
>>
>> This seems like papering over the cracks to me.
>>
>> Wouldn't it be better to fix this for every project by patching
>> the gnulib configmake module to set the appropriate prefix for
>> all the configured directories?
>
> Or even fix autoconf/automake so that PKGLIBDIR is defined with
> UNIXROOT to begin with. Ideally, PKGLIBDIR should be the right
> string.
>
Ah, ok. I'll investigate this way, too.
Thanks.
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr