--- aclocal.m4.orig 2015-08-06 10:46:34.000000000 +1000 +++ aclocal.m4 2015-08-17 16:27:26.000000000 +1000 @@ -7285,15 +7285,17 @@ dnl ------------------------- dnl Allow the choice of the pkg-config library directory to be overridden. AC_DEFUN([CF_WITH_PKG_CONFIG_LIBDIR],[ -if test "x$PKG_CONFIG" = xnone ; then - PKG_CONFIG_LIBDIR=no -else - AC_MSG_CHECKING(for $PKG_CONFIG library directory) - AC_ARG_WITH(pkg-config-libdir, - [ --with-pkg-config-libdir=XXX use given directory for installing pc-files], - [PKG_CONFIG_LIBDIR=$withval], - [PKG_CONFIG_LIBDIR=yes]) -fi + +AC_MSG_CHECKING(for $PKG_CONFIG library directory) +AC_ARG_WITH(pkg-config-libdir, + [ --with-pkg-config-libdir=XXX use given directory for installing pc-files], + [PKG_CONFIG_LIBDIR=$withval], + [if test "x$PKG_CONFIG" = xnone ; then + PKG_CONFIG_LIBDIR=no + else + PKG_CONFIG_LIBDIR=yes + fi + ]) case x$PKG_CONFIG_LIBDIR in (x/*)