chiark / gitweb /
fdbff66c48b9e675cfe9ff646e22273be223c7c1
[elogind.git] / autogen.sh
1 #!/usr/bin/env sh
2
3 set -e
4
5 gtkdocize
6 autoreconf --install --symlink
7
8 libdir() {
9         echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
10 }
11
12 args="\
13 --prefix=/usr \
14 --with-rootprefix= \
15 --sysconfdir=/etc \
16 --bindir=/sbin \
17 --libdir=$(libdir /usr/lib) \
18 --with-rootlibdir=$(libdir /lib) \
19 --libexecdir=/lib \
20 --with-systemdsystemunitdir=/lib/systemd/system \
21 --with-selinux \
22 --enable-gtk-doc"
23
24 echo
25 echo "---------------------------------------------------------------------"
26 echo "Initialized udev build system. For a common configuration please run:"
27 echo "---------------------------------------------------------------------"
28 echo
29 echo "# ./configure $args"
30 echo