4 # Copyright 2005 The Apache Software Foundation or its licensors, as
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
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.
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.
24 APR_CONFIG=@APR_CONFIG@
25 APU_CONFIG=@APU_CONFIG@
27 APR_LIBTOOL="`${APR_CONFIG} --apr-libtool`"
28 APR_INCLUDEDIR="`${APR_CONFIG} --includedir`"
29 APU_INCLUDEDIR="`${APU_CONFIG} --includedir`"
31 installbuilddir="@exp_installbuilddir@"
46 /^[A-Z]*_SHARED_CMDS/d
53 s, = , = -I\$(includedir) ,
54 s, -I\$(top_srcdir)/[^ ]*,,g
55 s, -I\$(top_builddir)/[^ ]*,,g
57 /^MKINSTALLDIRS/s,\$(abs_srcdir)/build,$installbuilddir,
58 /^INSTALL /s,\$(abs_srcdir)/build,$installbuilddir,
61 /^APR_INCLUDEDIR.*$/s,.*,APR_INCLUDEDIR = ${APR_INCLUDEDIR},
62 /^APU_INCLUDEDIR.*$/s,.*,APU_INCLUDEDIR = ${APU_INCLUDEDIR},
63 /^LIBTOOL.*$/s,/[^ ]*/libtool \(.*\),${APR_LIBTOOL} @LTFLAGS@,