summaryrefslogtreecommitdiff
path: root/modules/config5.m4
diff options
context:
space:
mode:
author(no author) <(no author)@unknown>2001-05-04 21:54:25 +0000
committer(no author) <(no author)@unknown>2001-05-04 21:54:25 +0000
commitad2dd84025f628d29200b5a9a41d654be678aa6f (patch)
tree35a838b6e9d6510a91e386728e78b4a81cb55781 /modules/config5.m4
parentf83672781de25207442ff908258219de1d103062 (diff)
downloadhttpd-ad2dd84025f628d29200b5a9a41d654be678aa6f.tar.gz
This commit was manufactured by cvs2svn to create branch 'RSE'.RSE
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/RSE@88989 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/config5.m4')
-rw-r--r--modules/config5.m443
1 files changed, 0 insertions, 43 deletions
diff --git a/modules/config5.m4 b/modules/config5.m4
deleted file mode 100644
index caa40eaf70..0000000000
--- a/modules/config5.m4
+++ /dev/null
@@ -1,43 +0,0 @@
-AC_MSG_CHECKING(for extra modules)
-AC_ARG_WITH(module,
- [ --with-module=location Include the specified module. location is the
- path to the new module.],
- [
- modtype=`echo $withval | sed -e's/\(.*\):.*/\1/'`
- pkg=`echo $withval | sed -e's/.*:\(.*\)/\1/'`
- modfilec=`echo $pkg | sed -e 's;^.*/;;'`
- modfileo=`echo $pkg | sed -e 's;^.*/;;' -e 's;\.c$;.o;'`
-
- if test "x$withval" != "xmodules/$modtype/$modfilec"; then
- cp $pkg modules/$modtype/$modfilec
- fi
- module=`echo $pkg | sed -e 's;.*/mod_\(.*\).c;\1;'`
- objects="mod_$module.lo"
- libname="mod_$module.la"
- modpath_current="modules/$modtype"
- BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
- if test ! -s "$modpath_current/modules.mk"; then
- cat >>$modpath_current/modules.mk<<EOF
-$libname: $objects
- \$(MOD_LINK) $objects
-DISTCLEAN_TARGETS = modules.mk
-static = $libname
-shared =
-EOF
- else
- cat >>$modpath_current/modules.mk.tmp<<EOF
-$libname: $objects
- \$(MOD_LINK) $objects
-EOF
- cat $modpath_current/modules.mk >> $modpath_current/modules.mk.tmp
- rm $modpath_current/modules.mk
- mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
- sed -e "s/\(static =.*\)/\1 $libname/" $modpath_current/modules.mk > $modpath_current/modules.mk.tmp
- rm $modpath_current/modules.mk
- mv $modpath_current/modules.mk.tmp $modpath_current/modules.mk
- fi
- MODLIST="$MODLIST $module"
- AC_MSG_RESULT(added $withval)
- ],
- [ AC_MSG_RESULT(no extra modules)
- ])