~armaan/opendoas

0f13894a2f9b5fa258d40a3575aaf5dcdf41256b — Svyatoslav Mishyn 5 years ago 82fa799
fix configure script

 * "+=" is not working in shell
 * fix a typo (OS_FLAGS => OS_CFLAGS)
1 files changed, 2 insertions(+), 2 deletions(-)

M configure
M configure => configure +2 -2
@@ 91,11 91,11 @@ if [ -z "$OS" ]; then
	KERNEL=${REST%%-*}
fi

OS_FLAGS="-D__${OS}__"
OS_CFLAGS="-D__${OS}__"

case "$OS" in
	linux)
		OS_CFLAGS+=" -D_DEFAULT_SOURCE -D_GNU_SOURCE -DUID_MAX=60000 -DGID_MAX=60000"
		OS_CFLAGS="$OS_CFLAGS -D_DEFAULT_SOURCE -D_GNU_SOURCE -DUID_MAX=60000 -DGID_MAX=60000"
		printf 'CURDIR   :=	.\n' >>$CONFIG_MK
		printf 'PAM_DOAS  =	pam.d__doas__linux\n' >>$CONFIG_MK
		;;