3 # This file is part of elogind
5 # elogind is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
10 # elogind is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with elogind; If not, see <http://www.gnu.org/licenses/>.
24 intltoolize --force --automake
25 autoreconf --force --install --symlink
28 echo $(cd "$1/$(gcc -print-multi-os-directory)"; pwd)
33 --localstatedir=/var \
34 --libdir=$(libdir /usr/lib) \
37 if [ -f "$topdir/.config.args" ]; then
38 args="$args $(cat $topdir/.config.args)"
41 if [ ! -L /bin ]; then
44 --with-rootlibdir=$(libdir /lib) \
51 echo "----------------------------------------------------------------"
52 echo "Initialized build system. For a common configuration please run:"
53 echo "----------------------------------------------------------------"
55 echo "$topdir/configure CFLAGS='-g -O0 -ftrapv' --enable-kdbus $args"