X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=configure.in;h=0b4de0a2ec4c654c1a90a2195814b2d6693a162c;hp=691c5a63d2e5859d11f3bc38318d182194e92385;hb=6ef17a2fe3300dc395522d35997f3e6d6490fa70;hpb=cc77c660f22c5ac9e6c02fef5178a28cd9df725a diff --git a/configure.in b/configure.in index 691c5a63..0b4de0a2 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl $Id: configure.in,v 1.176 2013/01/06 11:06:23 fabiankeil Exp $ +dnl $Id: configure.in,v 1.180 2013/03/20 11:25:52 fabiankeil Exp $ dnl dnl Written by and Copyright (C) 2001-2010 the dnl Privoxy team. http://www.privoxy.org/ @@ -32,7 +32,7 @@ dnl ================================================================= dnl AutoConf Initialization dnl ================================================================= -AC_REVISION($Revision: 1.176 $) +AC_REVISION($Revision: 1.180 $) AC_INIT(jcc.c) if test ! -f config.h.in; then @@ -78,8 +78,8 @@ dnl ================================================================= VERSION_MAJOR=3 VERSION_MINOR=0 -VERSION_POINT=20 -CODE_STATUS="beta" +VERSION_POINT=22 +CODE_STATUS="UNRELEASED" dnl CODE_STATUS can be "alpha", "beta", "stable" or "UNRELEASED", dnl and will be used for CGI output. Increment version number and @@ -211,12 +211,14 @@ else AC_MSG_RESULT($with_group) $BGROUPS $USER >/dev/null if test $? -eq 0 ; then - # FIXME: this fails if valid group, but not first group - # listed. - if test "$with_group" != "`$BGROUPS $USER | sed 's/.*: //' 2>/dev/null |$AWK '{print $1}'`" ; then + for i in `$BGROUPS $USER | sed 's/.*: //' 2>/dev/null`; do + if test "x$i" = "x$with_group" ; then + GROUP=$with_group + break + fi + done + if test "x$GROUP" != "x$with_group" ; then AC_MSG_ERROR(The given value '$withval' does not match group entry) - else - GROUP=$with_group; fi else AC_MSG_ERROR(There is no group entry for user '$USER')