bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 00/15] Add libunistring-optional module


From: Paolo Bonzini
Subject: Re: [PATCH 00/15] Add libunistring-optional module
Date: Sun, 11 Apr 2010 15:58:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3


Thanks for doing that! It is simpler than the solution that I had imagined
for the use in gettext, and requires nearly no additional change for the
user: He adds 'gl_LIBUNISTRING' to his configure.ac and is done with it.

Not even that if the modules do that for him.

However, I disagree with some of your patches.


1) In part 04:

   AC_CONFIG_LINKS(gl_GNULIB_SOURCE_BASE[/$1.h]:gl_GNULIB_SOURCE_BASE[/$1.in.h])

This line does two things wrong:

   - It uses AC_CONFIG_LINKS.

Ok.

       - It cannot work with multiple invocations of gnulib-tool in the
         realm of the same configure.ac files.

True, I didn't know about this.

2) Part 01.

It attempts to encapsulate the values of gnulib-tool parameters in autoconf
macros. It cannot work, because they may be multiple gnulib-tool invocations
in the scope of a single configure.ac.

Drop this part.

Yes, not needed anymore.

5) In part 03 and part 04:

What's the rationale for changing the not-found message from
"no, consider installing GNU libunistring" to "no"? If the developer
has determined that his programs would benefits from an installed,
shared libunistring.so, then the message "no, consider installing
GNU libunistring" is still appropriate, even if the dependency is an
optional one.

Ok.  I think I can drop those altogether then.

6) Part 05..15:

Should create the .h files in a Makefile.in section. Here's a template:

Thanks for suggesting how.

Don't hold your breath but I'll get round to doing this again sometime this week.

   - Part 06, modules/unicase/locale-language: Why replace
     lib/unicase/locale-languages.gperf with
     lib/unicase/locale-languages.gperf.c?? That file does not exist.
   - Part 08, modules/unictype/category-Cs: Why replace
     lib/unictype/categ_Cs.c with lib/unictype/categ_Cs?? That file does not
     exist.

Doh.  I screwed up the sedery.

Paolo




reply via email to

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