summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: fdbff66c48b9e675cfe9ff646e22273be223c7c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env sh

set -e

gtkdocize
autoreconf --install --symlink

libdir() {
	echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
}

args="\
--prefix=/usr \
--with-rootprefix= \
--sysconfdir=/etc \
--bindir=/sbin \
--libdir=$(libdir /usr/lib) \
--with-rootlibdir=$(libdir /lib) \
--libexecdir=/lib \
--with-systemdsystemunitdir=/lib/systemd/system \
--with-selinux \
--enable-gtk-doc"

echo
echo "---------------------------------------------------------------------"
echo "Initialized udev build system. For a common configuration please run:"
echo "---------------------------------------------------------------------"
echo
echo "# ./configure $args"
echo