nicklan / pnmixer

Volume mixer for the system tray
GNU General Public License v3.0
152 stars 32 forks source link

configure.ac: Use PKG_CONFIG if available #114

Closed somasis closed 8 years ago

somasis commented 8 years ago

This allows for ./configure to use the program in $PKG_CONFIG if it is set, which keeps in line with how most autoconf-utilizing programs use pkg-config.

hasufell commented 8 years ago

We should add a call to PKG_PROG_PKG_CONFIG somewhere at the beginning of configure.ac and then just use ${PKG_CONFIG} without fallback. configure should fail if it cannot set PKG_CONFIG.

somasis commented 8 years ago

Good idea, I forgot about that macro. Amended the commit with that.

elboulangero commented 8 years ago

Merged, thanks !