bug-gnulib
[Top][All Lists]
Advanced

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

Add --with-system-libunistring?


From: Paolo Bonzini
Subject: Add --with-system-libunistring?
Date: Wed, 06 Jan 2010 14:12:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

libunistring is starting to be included in many GNU/Linux distributions, but still most programs using gnulib's unicode modules have a nontrivial amount of code that could be eliminated if the system libunistring was used instead.

So maybe we could do the following:

1) change libunistring to define an automake conditional if libunistring is found;

2) change modules/uni* so that if the conditional is true, then the modules are left out.

This way, packages that wish to not add another dependency can still include a statically-linked copy via gnulib, but will rely on the system library when available.

Paolo




reply via email to

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