#!/usr/bin/env bash

set -o pipefail

M4S=`pkg-config --variable=m4script thunk_gen`
if [ ! -f "$M4S" ]; then
    echo "$1 missing"
    exit 1
fi
sort | uniq | autom4te -l m4sugar "$M4S" -
