From: Svyatoslav Mishyn Date: Mon, 9 May 2016 09:32:20 +0000 (+0300) Subject: fix configure script X-Git-Tag: v0.1^2 X-Git-Url: https://git.armaanb.net/?p=opendoas.git;a=commitdiff_plain;h=0f13894a2f9b5fa258d40a3575aaf5dcdf41256b fix configure script * "+=" is not working in shell * fix a typo (OS_FLAGS => OS_CFLAGS) --- diff --git a/configure b/configure index 5f896c4..0e3fd39 100755 --- a/configure +++ b/configure @@ -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 ;;