rse 98/05/29 01:00:00
Modified: src CHANGES . configure Log: Make sure the argument for the --add-module option to APACI's configure script is of type [path/to/]mod_xxx.c because all calculations inside configure and src/Configure depend on this. PR: 2307 Revision Changes Path 1.875 +5 -0 apache-1.3/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.874 retrieving revision 1.875 diff -u -r1.874 -r1.875 --- CHANGES 1998/05/29 01:08:57 1.874 +++ CHANGES 1998/05/29 07:59:55 1.875 @@ -1,5 +1,10 @@ Changes with Apache 1.3b8 + *) Make sure the argument for the --add-module option to APACI's configure + script is of type [path/to/]mod_xxx.c because all calculations inside + configure and src/Configure depend on this. + [Ralf S. Engelschall] PR#2307 + *) Changes usage of perror/fprintf to stderr to more proper ap_log_error in mod_mime, mod_log_referer, mod_log_agent, and mod_log_config. [Brian Behlendorf] 1.28 +4 -6 apache-1.3/configure Index: configure =================================================================== RCS file: /export/home/cvs/apache-1.3/configure,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- configure 1998/05/28 09:41:21 1.27 +++ configure 1998/05/29 07:59:59 1.28 @@ -423,12 +423,10 @@ ;; --add-module=*) file="$apc_optarg" - case $file in - *.c ) ;; - * ) echo "configure:Error: Module source $file is not a C source file" 1>&2 - exit 1 - ;; - esac + if [ ".`echo $file | egrep '/?mod_[a-zA-Z0-9][a-zA-Z0-9_]*\.c$'`" = . ]; then + echo "configure:Error: Module filename doesn't match '/?mod_[a-zA-Z0-9][a-zA-Z0-9_]*\.c'" 1>&2 + exit 1 + fi if [ ! -f $file ]; then echo "configure:Error: Module source $file not found" 1>&2 exit 1