summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 50923f0ab3a8215bd1bb3ead61db320573a176f7 (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
#!/bin/sh -e

gtkdocize
autoreconf --install --symlink

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

args="--prefix=/usr \
--sysconfdir=/etc \
--bindir=/sbin \
--libdir=$(libdir /usr/lib) \
--with-rootlibdir=$(libdir /lib) \
--libexecdir=/lib/udev \
--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