You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.5 KiB
37 lines
1.5 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../audit/audit.conf |
|
# Copyright (C) 2008 - 2012 The OpenSDE Project |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This program is free software; you can redistribute it and/or modify |
|
# it under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
# GNU General Public License can be found in the file COPYING. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
# prelude support |
|
if pkginstalled -f libprelude; then |
|
pkgprefix -t libprelude |
|
var_append extraconfopt ' ' "--with-prelude" |
|
var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir libprelude )" |
|
var_append GCC_WRAPPER_APPEND ' ' "-L$root$( pkgprefix libdir libprelude )" |
|
fi |
|
|
|
# no built-in checks for ldap nor configure options |
|
if pkginstalled -f openldap; then |
|
pkgprefix -t openldap |
|
var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir openldap )" |
|
var_append GCC_WRAPPER_APPEND ' ' "-L$root$( pkgprefix libdir openldap )" |
|
else |
|
# hack for disabling the zos-remote plugin which depends on openldap |
|
hook_add preconf 1 'sed -i -e "s/zos\-remote\ //" audisp/plugins/Makefile.in' |
|
fi |
|
|
|
# python bindings are generated through swig |
|
if ! pkginstalled -f python || ! pkginstalled -f swig; then |
|
echo_status "Disabling build of python language bindings" |
|
var_append extraconfopt ' ' "--without-python" |
|
fi
|
|
|