If there is a --with-PACKAGE=path but no --with-PACKAGE-config, go

seach for path/PACKEGE-config and use it if it exists.
Inspired by Harald Barth <haba@pdc.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13328 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-02-11 16:51:59 +00:00
parent a8c5ecdeb6
commit b4cb8ab9b0

View File

@@ -67,6 +67,14 @@ fi
$1_cflags=
$1_libs=
case "$with_$1_config" in
yes|no|""|"$7")
if test -f $with_$1/bin/$7 ; then
with_$1_config=$with_$1/bin/$7
fi
;;
esac
case "$with_$1_config" in
yes|no|"")
;;