OSDN Git Service

configure: add optional pkg-config helper and use it.
authorNicolas George <george@nsup.org>
Tue, 2 Dec 2014 12:29:47 +0000 (13:29 +0100)
committerNicolas George <george@nsup.org>
Tue, 2 Dec 2014 17:43:48 +0000 (18:43 +0100)
commitcfcaf6b38e39ed6e788abb1a5a44f23660dce2f6
treec8b3c30a784a932cd4ccd73fda79adb8a5853178
parent59f1f764d6cd07ff7d1bb113d423b3e62b3510c1
configure: add optional pkg-config helper and use it.

The require variant dies if the package is not present.
The check variant does not import the flags to the used list.
The new variant imports the flags if the package is present
but does not die if it is not.
The new call graph is: require -> use -> check.

Use use_pkg_config for libx264 and libsmbclient: more readable
and three external call less per library.
configure