You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@locus.apache.org on 2000/08/23 15:15:19 UTC
cvs commit: apache-1.3 configure
martin 00/08/23 06:15:19
Modified: . configure
Log:
Allow modules to be named *.so
(like in:
--activate-module=src/modules/xxx/libxxx.so
)
Revision Changes Path
1.124 +5 -0 apache-1.3/configure
Index: configure
===================================================================
RCS file: /home/cvs/apache-1.3/configure,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -u -r1.123 -r1.124
--- configure 2000/06/22 10:08:18 1.123
+++ configure 2000/08/23 13:15:19 1.124
@@ -297,9 +297,14 @@
module=`echo "$module" |\
sed -e 's%^.*/\(.*\)$%\1%' \
-e 's/\.[oa]$//' \
+ -e 's/\.so$//' \
-e 's/\.module$//' \
-e 's/^mod_//' \
-e 's/^lib//'`
+ case $module in
+ *.*) echo "configure:Error: module name must end in .o|.a|.so|.module" 1>&2
+ exit 1;;
+ esac
eval "module_$module=$add"
eval "shared_$module=$share"
modules="${modules}:$module"