]> granicus.if.org Git - apache/blob - build/config_vars.sh.in
Fixed complaints about unpackaged files within the RPM build
[apache] / build / config_vars.sh.in
1 #! @SHELL@
2 # -*- sh -*-
3 #
4 # Copyright 2005 The Apache Software Foundation or its licensors, as
5 # applicable.
6 #
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
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 APR_CONFIG=@APR_CONFIG@
25 APU_CONFIG=@APU_CONFIG@
26
27 APR_LIBTOOL="`${APR_CONFIG} --apr-libtool`"
28 APR_INCLUDEDIR="`${APR_CONFIG} --includedir`"
29 APU_INCLUDEDIR="`${APU_CONFIG} --includedir`"
30
31 installbuilddir="@exp_installbuilddir@"
32
33 exec sed "
34 /^[A-Z_]*_LDADD/d
35 /MPM_LIB/d
36 /APACHECTL_ULIMIT/d
37 /[a-z]*_LTFLAGS/d
38 /^DSO_MODULES/d
39 /^MODULE_/d
40 /^PORT/d
41 /^nonssl_/d
42 /^CORE_IMPLIB/d
43 /^rel_/d
44 /^abs_srcdir/d
45 /^BUILTIN_LIBS/d
46 /^[A-Z]*_SHARED_CMDS/d
47 /^shared_build/d
48 /^OS_DIR/d
49 /^AP_LIBS/d
50 /^OS_SPECIFIC_VARS/d
51 /^MPM_SUBDIR_NAME/d
52 /^EXTRA_INCLUDES/{ 
53   s, = , = -I\$(includedir) ,
54   s, -I\$(top_srcdir)/[^ ]*,,g
55   s, -I\$(top_builddir)/[^ ]*,,g
56 }
57 /^MKINSTALLDIRS/s,\$(abs_srcdir)/build,$installbuilddir,
58 /^INSTALL /s,\$(abs_srcdir)/build,$installbuilddir,
59 /^HTTPD_LDFLAGS/d
60 /^UTIL_LDFLAGS/d
61 /^APR_INCLUDEDIR.*$/s,.*,APR_INCLUDEDIR = ${APR_INCLUDEDIR},
62 /^APU_INCLUDEDIR.*$/s,.*,APU_INCLUDEDIR = ${APU_INCLUDEDIR},
63 /^LIBTOOL.*$/s,/[^ ]*/libtool \(.*\),${APR_LIBTOOL} @LTFLAGS@,
64 "