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

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

usage='Usage: agar-sg-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 'i386-unknown-openbsd7.2'
		;;
	--version)
		echo '1.6.0'
		;;
	--release)
		echo 'Nullability Complete'
		;;
	--cflags)
		echo '-I/usr/local/include/agar  -I/usr/X11R6/include'
		;;
	--libs | --static-libs)
		echo '-L/usr/local/lib -lag_sg  -L/usr/X11R6/lib -lGLU'
		;;
	*)
		echo "${usage}" 1>&2
		exit 1
		;;
	esac
	shift
done
