shithub: sox

Download patch

ref: 31b97c11f06cde9508bfb4cc57f40175f683bdac
parent: 0561c54e9091b968df3fe1ea53a56061d5e1501a
author: rrt <rrt>
date: Sun Feb 4 19:30:40 EST 2007

Make PKG_CHECK_MODULES work properly even if the first call isn't
executed by running the explicit check for PKG_CONFIG, as instructed
by a comment in pkg.m4, so that libsamplerate is looked for properly
even if libsndfile is manually turned off (and hence not looked for).

Sigh.

--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,7 @@
 AC_PROG_LN_S
 AC_PROG_LIBTOOL
 AC_SUBST(LIBTOOL_DEPS)
+m4_ifdef([PKG_PROG_PKG_CONFIG], [PKG_PROG_PKG_CONFIG])
 
 dnl Debugging
 AC_MSG_CHECKING([if we want a debug build])