>Number: 5230 >Category: config >Synopsis: ./configure --enable-rule=... does not work >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Nov 1 22:50:00 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.9 >Environment: SunOS 5.5.1 Generic_103640-27 sun4m sparc SUNW,SPARCstation-20 GCC 2.7.2.1 >Description: # ./configure.org --enable-rule=SOCKS4
makes such results as: Configuring for Apache, Version 1.3.9 + using installation path layout: Apache (config.layout) configure:Error: No such rule named 'SOCKS4' >How-To-Repeat: Use OS with "tr" which requires square brackets to specify a range, such as System V. >Fix: The patch below worked on both SunOS 5.5.1 and SunOS 4.1.4: *** configure Tue Nov 2 15:13:59 1999 --- configure.org Sat Aug 14 17:29:05 1999 *************** *** 257,263 **** for rule in `grep '^Rule' $src/Configuration.tmpl`; do rule=`echo "$rule" | sed -e 's/^Rule[ ]*//'` name=`echo "$rule" | sed -e 's/=.*$//'` ! namelow=`echo "$name" | tr '[A-Z]' '[a-z]'` arg=`echo "$rule" | sed -e 's/^.*=//'` eval "rule_$namelow=$arg" rules="$rules:$namelow" --- 257,263 ---- for rule in `grep '^Rule' $src/Configuration.tmpl`; do rule=`echo "$rule" | sed -e 's/^Rule[ ]*//'` name=`echo "$rule" | sed -e 's/=.*$//'` ! namelow=`echo "$name" | tr 'A-Z' 'a-z'` arg=`echo "$rule" | sed -e 's/^.*=//'` eval "rule_$namelow=$arg" rules="$rules:$namelow" >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]