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.
 
 
 
 
 
 

36 lines
1.2 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../util-linux/util-linux.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 ---
if [ $prefix_auto = 1 ] ; then
prefix=
set_confopt
fi
# HACK: avoid spontaneous aclocal call
hook_add premake 5 'touch aclocal.m4'
# 'for' loop initial declarations are only allowed in C99 mode
var_append GCC_WRAPPER_APPEND ' ' '-std=c99'
# use su, login from shadow package if available
# Note: the variants provided by util-linux require pam
if pkginstalled shadow; then
var_append extraconfopt ' ' "--disable-su"
var_append extraconfopt ' ' "--disable-login"
fi
# use sulogin from sysvinit package if available
if pkginstalled sysvinit; then
var_append extraconfopt ' ' "--disable-sulogin"
fi