~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to build/config_vars.sh.in

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! @SHELL@
 
2
# -*- sh -*-
 
3
#
 
4
# Licensed to the Apache Software Foundation (ASF) under one or more
 
5
# contributor license agreements.  See the NOTICE file distributed with
 
6
# this work for additional information regarding copyright ownership.
 
7
# The ASF licenses this file to You under the Apache License, Version 2.0
 
8
# (the "License"); you may not use this file except in compliance with
 
9
# the License.  You may obtain a copy of the License at
 
10
#
 
11
#     http://www.apache.org/licenses/LICENSE-2.0
 
12
#
 
13
# Unless required by applicable law or agreed to in writing, software
 
14
# distributed under the License is distributed on an "AS IS" BASIS,
 
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
16
# See the License for the specific language governing permissions and
 
17
# limitations under the License.
 
18
 
 
19
# config_vars.sh is generated by configure, and is run by the "install-build"
 
20
# target to generate a version of config_vars.mk which is suitable to be
 
21
# installed.  Such a file cannot be generated at configure-time, since it
 
22
# requires the output of the *installed* ap*-config scripts.
 
23
 
 
24
# For a DESTDIR=... installation using the bundled copies of 
 
25
# apr/apr-util, the installed ap?-config scripts must be found 
 
26
# in the DESTDIR-relocated install tree.  For a DESTDIR=... 
 
27
# installation when using *external* copies of apr/apr-util,
 
28
# the absolute path must be used, not DESTDIR-relocated.
 
29
 
 
30
if test -f ${DESTDIR}@APR_CONFIG@; then
 
31
   APR_CONFIG=${DESTDIR}@APR_CONFIG@
 
32
   APU_CONFIG=${DESTDIR}@APU_CONFIG@
 
33
else
 
34
   APR_CONFIG=@APR_CONFIG@
 
35
   APU_CONFIG=@APU_CONFIG@
 
36
fi
 
37
 
 
38
APR_LIBTOOL="`${APR_CONFIG} --apr-libtool`"
 
39
APR_INCLUDEDIR="`${APR_CONFIG} --includedir`"
 
40
APU_INCLUDEDIR="`${APU_CONFIG} --includedir`"
 
41
 
 
42
installbuilddir="@exp_installbuilddir@"
 
43
 
 
44
exec sed "
 
45
/^[A-Z_]*_LDADD/d
 
46
/MPM_LIB/d
 
47
/APACHECTL_ULIMIT/d
 
48
/[a-z]*_LTFLAGS/d
 
49
/^DSO_MODULES/d
 
50
/^MODULE_/d
 
51
/^PORT/d
 
52
/^nonssl_/d
 
53
/^CORE_IMPLIB/d
 
54
/^rel_/d
 
55
/^abs_srcdir/d
 
56
/^BUILTIN_LIBS/d
 
57
/^[A-Z]*_SHARED_CMDS/d
 
58
/^shared_build/d
 
59
/^OS_DIR/d
 
60
/^AP_LIBS/d
 
61
/^OS_SPECIFIC_VARS/d
 
62
/^MPM_SUBDIR_NAME/d
 
63
/^EXTRA_INCLUDES/{ 
 
64
  s, = , = -I\$(includedir) ,
 
65
  s, -I\$(top_srcdir)/[^ ]*,,g
 
66
  s, -I\$(top_builddir)/[^ ]*,,g
 
67
}
 
68
/^MKINSTALLDIRS/s,\$(abs_srcdir)/build,$installbuilddir,
 
69
/^INSTALL /s,\$(abs_srcdir)/build,$installbuilddir,
 
70
/^HTTPD_LDFLAGS/d
 
71
/^UTIL_LDFLAGS/d
 
72
/^APR_INCLUDEDIR.*$/s,.*,APR_INCLUDEDIR = ${APR_INCLUDEDIR},
 
73
/^APU_INCLUDEDIR.*$/s,.*,APU_INCLUDEDIR = ${APU_INCLUDEDIR},
 
74
/^LIBTOOL.*$/s,/[^ ]*/libtool \(.*\),${APR_LIBTOOL} @LTFLAGS@,
 
75
"