#!/bin/sh
# Generated by Agar's BSDBuild configure script.
#
# BSDBuild 3.2 (https://bsdbuild.hypertriton.com/)
# Agar 1.7.0

prefix='/usr/local'
exec_prefix='/usr/local'
exec_prefix_set='no'
libdir='/usr/local/lib'

usage='Usage: agar-sk-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--host] [--version] [--release] [--cflags] [--libs]'

if test $# -eq 0; then
	echo "${usage}" 1>&2
	exit 1
fi

while test $# -gt 0; do
	case "$1" in
	-*=*)
		optarg=`echo "$1" | LC_ALL='C' sed 's/[-_a-zA-Z0-9]*=//'`
		;;
	*)
		optarg=
		;;
	esac

	case $1 in
	--prefix=*)
		prefix=$optarg
		if test $exec_prefix_set = no ; then
			exec_prefix=$optarg
		fi
		;;
	--prefix)
		echo "$prefix"
		;;
	--exec-prefix=*)
		exec_prefix=$optarg
		exec_prefix_set=yes
		;;
	--exec-prefix)
		echo "$exec_prefix"
		;;
	--host)
		echo 'mips64-unknown-openbsd7.9'
		;;
	--version)
		echo '1.7.0'
		;;
	--release)
		echo 'Ancient Egypt'
		;;
	--cflags)
		echo '-I/usr/local/include/agar '
		;;
	--libs | --static-libs)
		echo '-L/usr/local/lib -lag_sk '
		;;
	*)
		echo "${usage}" 1>&2
		exit 1
		;;
	esac
	shift
done
