Blame modules/fcgid/config.m4

Packit d68d13
dnl Licensed to the Apache Software Foundation (ASF) under one or more
Packit d68d13
dnl contributor license agreements.  See the NOTICE file distributed with
Packit d68d13
dnl this work for additional information regarding copyright ownership.
Packit d68d13
dnl The ASF licenses this file to You under the Apache License, Version 2.0
Packit d68d13
dnl (the "License"); you may not use this file except in compliance with
Packit d68d13
dnl the License.  You may obtain a copy of the License at
Packit d68d13
dnl
Packit d68d13
dnl       http://www.apache.org/licenses/LICENSE-2.0
Packit d68d13
dnl
Packit d68d13
dnl Unless required by applicable law or agreed to in writing, software
Packit d68d13
dnl distributed under the License is distributed on an "AS IS" BASIS,
Packit d68d13
dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit d68d13
dnl See the License for the specific language governing permissions and
Packit d68d13
dnl limitations under the License.
Packit d68d13
Packit d68d13
dnl #  start of module specific part
Packit d68d13
APACHE_MODPATH_INIT(fcgid)
Packit d68d13
Packit d68d13
case $host in
Packit d68d13
    *mingw*)
Packit d68d13
        fcgid_platform_objs="fcgid_pm_win.lo fcgid_proc_win.lo fcgid_proctbl_win.lo"
Packit d68d13
        ;;
Packit d68d13
    *)
Packit d68d13
        fcgid_platform_objs="fcgid_pm_unix.lo fcgid_proc_unix.lo fcgid_proctbl_unix.lo fcgid_mutex_unix.lo"
Packit d68d13
        ;;
Packit d68d13
esac
Packit d68d13
Packit d68d13
dnl #  list of module object files
Packit d68d13
fcigd_objs="dnl
Packit d68d13
mod_fcgid.lo dnl
Packit d68d13
fcgid_bridge.lo dnl
Packit d68d13
fcgid_conf.lo dnl
Packit d68d13
fcgid_pm_main.lo dnl
Packit d68d13
fcgid_protocol.lo dnl
Packit d68d13
fcgid_spawn_ctl.lo dnl
Packit d68d13
fcgid_bucket.lo dnl
Packit d68d13
fcgid_filter.lo dnl
Packit d68d13
$fcgid_platform_objs dnl
Packit d68d13
"
Packit d68d13
Packit d68d13
APACHE_MODULE(fcgid, [FastCGI support (mod_fcgid)], $fcigd_objs, , no, [
Packit d68d13
    AC_CHECK_HEADERS(sys/file.h)
Packit d68d13
    AC_CHECK_HEADERS(sys/mman.h)
Packit d68d13
    AC_CHECK_HEADERS(sys/mutex.h)
Packit d68d13
    AC_CHECK_HEADERS(sys/shm.h)
Packit 2197f4
    if test "x$enable_fcgid" = "xshared"; then
Packit 2197f4
       # The only symbol which needs to be exported is the module
Packit 2197f4
       # structure, so ask libtool to hide everything else:
Packit 2197f4
       APR_ADDTO(MOD_FCGID_LDADD, [-export-symbols-regex fcgid_module])
Packit 2197f4
    fi
Packit d68d13
])
Packit d68d13
Packit d68d13
dnl #  end of module specific part
Packit d68d13
APACHE_MODPATH_FINISH