bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / tomcat-connectors-1.2.32-src / native / apache-2.0 / config.m4
1 dnl -------------------------------------------------------- -*- autoconf -*-
2 dnl Licensed to the Apache Software Foundation (ASF) under one or more
3 dnl contributor license agreements.  See the NOTICE file distributed with
4 dnl this work for additional information regarding copyright ownership.
5 dnl The ASF licenses this file to You under the Apache License, Version 2.0
6 dnl (the "License"); you may not use this file except in compliance with
7 dnl the License.  You may obtain a copy of the License at
8 dnl
9 dnl     http://www.apache.org/licenses/LICENSE-2.0
10 dnl
11 dnl Unless required by applicable law or agreed to in writing, software
12 dnl distributed under the License is distributed on an "AS IS" BASIS,
13 dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 dnl See the License for the specific language governing permissions and
15 dnl limitations under the License.
16
17 AC_MSG_CHECKING(for mod_jk module)
18 AC_ARG_WITH(mod_jk,
19   [  --with-mod_jk  Include the mod_jk (static).],
20   [
21     modpath_current=modules/jk
22     module=jk
23     libname=lib_jk.la
24     BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
25     cat >>$modpath_current/modules.mk<<EOF
26 DISTCLEAN_TARGETS = modules.mk
27 static = $libname
28 shared =
29 EOF
30   MODLIST="$MODLIST $module"
31   AC_MSG_RESULT(added $withval)
32   ],
33   [ AC_MSG_RESULT(no mod_jk added)
34   ])