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