[PATCH] fix configure for libparted

Danny Kukawka danny.kukawka at web.de
Tue Jan 15 05:54:21 PST 2008


On Dienstag, 11. Dezember 2007, Dan Nicholson wrote:
[...]
> It would be nice if you also used the pkg-config file if it exists
> since then you get any necessary -L's in the PARTED_LIBS variable.
> Something like
>
> if $PKG_CONFIG --atleast-version 1.8.0; then
>     PKG_CHECK_MODULES(PARTED, parted)
> else
>     ...header check...
>     PARTED_LIBS=-lparted
> fi
> AC_SUBST(PARTED_LIBS)
>
> Looks, nice, though.

Commited something like that, I hope it is what you proposed:
http://lists.freedesktop.org/archives/hal-commit/2008-January/004108.html

Danny




More information about the hal mailing list