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