#!/bin/bash

if ots_build=$(pkg-config --libs mst-ots-build) ; then
  . $ots_build
else
  echo >&2 "$0: unable to load ots-build library"
  exit 1
fi

datadir=$(pkg-config --variable=datadir mst-ots-build)

. $datadir/stow.sh

source $(pkg-config --variable=datadir ots-build)/ots-build-autoconf \
    || otsb_die "error loading ots-build-autoconf"
