#! @SHELL@ # -*- sh -*- # # Copyright 2005 The Apache Software Foundation or its licensors, as # applicable. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # config_vars.sh is generated by configure, and is run by the "install-build" # target to generate a version of config_vars.mk which is suitable to be # installed. Such a file cannot be generated at configure-time, since it # requires the output of the *installed* ap*-config scripts. APR_CONFIG=@APR_CONFIG@ APU_CONFIG=@APU_CONFIG@ APR_LIBTOOL="`${APR_CONFIG} --apr-libtool`" APR_INCLUDEDIR="`${APR_CONFIG} --includedir`" APU_INCLUDEDIR="`${APU_CONFIG} --includedir`" exec sed " /^[A-Z_]*_LDADD/d /MPM_LIB/d /APACHECTL_ULIMIT/d /[a-z]*_LTFLAGS/d /^DSO_MODULES/d /^MODULE_/d /^PORT/d /^nonssl_/d /^CORE_IMPLIB/d /^rel_/d /^abs_srcdir/d /^BUILTIN_LIBS/d /^[A-Z]*_SHARED_CMDS/d /^shared_build/d /^OS_DIR/d /^AP_LIBS/d /^OS_SPECIFIC_VARS/d /^MPM_SUBDIR_NAME/d /^EXTRA_INCLUDES/{ s, = , = -I\$(includedir) , s, -I\$(top_srcdir)/[^ ]*,,g s, -I\$(top_builddir)/[^ ]*,,g } /^HTTPD_LDFLAGS/d /^UTIL_LDFLAGS/d /^APR_INCLUDEDIR.*$/s,.*,APR_INCLUDEDIR = ${APR_INCLUDEDIR}, /^APU_INCLUDEDIR.*$/s,.*,APU_INCLUDEDIR = ${APU_INCLUDEDIR}, /^LIBTOOL.*$/s,/[^ ]*/libtool \(.*\),${APR_LIBTOOL} \$(LTFLAGS), "