[PATCH] fix configure for libparted

Danny Kukawka danny.kukawka at web.de
Tue Dec 11 02:26:40 PST 2007


Hi,

since there is again a new libparted (v1.8.8), I would change the configure 
patch to the attached one:

- reduce checks to check for libparted 1.7.1 || >= 1.8.0 (was there any 
version since 1.8.0 which didn't work?)
- try first 'pkg-config --atleast-version 1.8.0 libparted' since there is 
AFAIK since 1.8.3 a working pc file for the lib
- if pkg-config check fails: try to get the version from the headers

This all should prevent add each new libparted version to configure.

Please review.

Danny

 configure.in |   49 ++++++++++++++++++++++++-------------------------
 1 file changed, 24 insertions(+), 25 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-configure-parted.diff
Type: text/x-diff
Size: 2062 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071211/08ba86dc/attachment.diff 


More information about the hal mailing list