#!/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-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 'aarch64-unknown-openbsd7.7'
		;;
	--version)
		echo '1.6.0'
		;;
	--release)
		echo 'Nullability Complete'
		;;
	--cflags)
		echo '-I/usr/local/include/agar -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include   -I/usr/local/include/libpng16         '
		;;
	--libs | --static-libs)
		echo '-L/usr/local/lib -lag_gui -lag_core  -L/usr/local/lib -lSDL -lpthread -L/usr/X11R6/lib -L/usr/X11R6/lib -lfreetype -L/usr/X11R6/lib -lfontconfig -lfreetype  -L/usr/X11R6/lib -lGL -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama  -lm -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lpthread        '
		;;
	*)
		echo "${usage}" 1>&2
		exit 1
		;;
	esac
	shift
done
