aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 683c498025b662bdad7fdbc92ce171ea73d5c9de (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/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