]> git.ipfire.org Git - thirdparty/kmod.git/blob - bootstrap
testsuite: fix test_array_sort pointers inderection
[thirdparty/kmod.git] / bootstrap
1 #!/bin/sh
2 set -e
3
4 gtkdocize --docdir libkmod/docs || touch libkmod/docs/gtk-doc.make
5 autoreconf --install --symlink
6
7 libdir() {
8 (cd "$1/$(gcc -print-multi-os-directory)"; pwd)
9 }
10
11 args="--prefix=/usr \
12 --sysconfdir=/etc \
13 --libdir=$(libdir /usr/lib)"
14
15 hackargs="--enable-debug --enable-python --with-xz --with-zlib"
16
17 cat <<EOC
18
19 ----------------------------------------------------------------
20 Initialized build system. For a common configuration please run:
21 ----------------------------------------------------------------
22
23 ./configure CFLAGS='-g -O2' $args
24
25 If you are debugging or hacking on kmod, consider configuring
26 like below:
27
28 ./configure CFLAGS="-g -O2" $args $hackargs
29
30 EOC