bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / tomcat-connectors-1.2.32-src / support / jk_pcre.m4
1 dnl
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 dnl
17
18
19
20 AC_DEFUN(
21   [JK_PCRE],
22   [
23     AC_ARG_WITH(pcre,
24       [  --with-pcre              Build pcre support],
25       [
26                 case "${withval}" in
27                   y | yes | true) use_pcre=true ;;
28                   n | no | false) use_pcre=false ;;
29             *) use_pcre=true ;;
30               esac
31
32                 if ${TEST} ${use_pcre} ; then
33                   HAS_PCRE="-I${includedir} -DHAS_PCRE"
34                   PCRE_LIBS="-L${libdir} -lpcre -lpcreposix"
35                 fi
36       ])
37   ])
38
39 dnl vi:set sts=2 sw=2 autoindent:
40