X-Git-Url: https://git.armaanb.net/?p=opendoas.git;a=blobdiff_plain;f=configure;fp=configure;h=b337e6a832f060c1ce0bd55a0965ecf0f806e48b;hp=55dabdfc0dc1cdee7342aaa17d77d9ec42334666;hb=71b759e2542878de5c75a7101f2400cf35ec6299;hpb=b3ac44f2a021d43aa82e237c2d5595620ba5f130 diff --git a/configure b/configure index 55dabdf..b337e6a 100755 --- a/configure +++ b/configure @@ -28,7 +28,7 @@ usage: configure [options] --with-timestamp enable timestamp support - --with-kiss-insults enable kiss insults + --without-insults disable insults --uid-max=NUM set UID_MAX (default 65535) --gid-max=NUM set GID_MAX (default 65535) @@ -40,7 +40,6 @@ EOF # defaults WITHOUT_TIMESTAMP=yes -WITHOUT_KISS_INSULTS="" UID_MAX=65535 GID_MAX=65535 @@ -63,7 +62,7 @@ for x; do --with-shadow) WITHOUT_SHADOW=; WITHOUT_PAM=yes ;; --without-pam) WITHOUT_PAM=yes ;; --without-shadow) WITHOUT_SHADOW=yes ;; - --with-kiss-insults) WITH_KISS_INSULTS=yes ;; + --without-insults) WITHOUT_INSULTS=yes ;; --with-timestamp) WITHOUT_TIMESTAMP= ;; --without-timestamp) WITHOUT_TIMESTAMP=yes ;; --uid-max) UID_MAX=$var ;; @@ -227,8 +226,8 @@ int main(void) { definsults() { printf 'SRCS += insults.c\n' >>$CONFIG_MK - [ -n "$WITH_KISS_INSULTS" ] && { - printf '#define DOAS_INSULTS_KISS\n' >>$CONFIG_H + [ -z "$WITHOUT_INSULTS" ] && { + printf '#define DOAS_INSULTS\n' >>$CONFIG_H } return 0 }