
package_name="pkgconf (pkg-config compatible)"
installed_dir=pkg-config

full_installed_dir="$PWD/$installed_dir"

OS_ALLCAPS=`uname | tr 'a-z' 'A-Z'`

if test ! -d "$full_installed_dir" ; then
    echo "" >&2
    echo "In seting up $package_name, did not find directory:" >&2
    echo "  $full_installed_dir" >&2    
    echo "" >&2
    echo "Have you run ./PREPARE-${OS_ALLCAPS}.sh?" >&2    
    echo "Exiting..." >&2    
    echo "" >&2
    return
fi

PKG_CONFIG_HOME="$full_installed_dir" ; export PKG_CONFIG_HOME
PATH="$PKG_CONFIG_HOME/bin:$PATH" ;     export PATH

echo + "Set PKG_CONFIG_HOME and updated PATH"
