mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-12-25 12:57:33 +07:00
6d59d9d086
Just let the warnings be emmited, but don't fail on them.
30 lines
663 B
Bash
Executable File
30 lines
663 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
gtkdocize --docdir libkmod/docs || touch libkmod/docs/gtk-doc.make
|
|
autoreconf --install --symlink
|
|
|
|
libdir() {
|
|
(cd "$1/$(gcc -print-multi-os-directory)"; pwd)
|
|
}
|
|
|
|
args="--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--libdir=$(libdir /usr/lib)"
|
|
|
|
hackargs="--enable-debug --with-xz --with-zlib"
|
|
|
|
cat <<EOC
|
|
|
|
----------------------------------------------------------------
|
|
Initialized build system. For a common configuration please run:
|
|
----------------------------------------------------------------
|
|
|
|
./configure CFLAGS='-g -O2' $args
|
|
|
|
If you are debugging or hacking on kmod, consider configuring
|
|
like below:
|
|
|
|
./configure CFLAGS="-g -O2" $args $hackargs
|
|
|
|
EOC
|