]> git.ipfire.org Git - thirdparty/kmod.git/blame - autogen.sh
build-sys: move remaining warning flags to configure
[thirdparty/kmod.git] / autogen.sh
CommitLineData
ecd40ee4
LDM
1#!/bin/sh -e
2
3autoreconf --install --symlink
4
1dcac911 5MYCFLAGS="-g"
ecd40ee4
LDM
6
7libdir() {
8 echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
9}
10
11args="--prefix=/usr \
12--sysconfdir=/etc \
13--libdir=$(libdir /usr/lib)"
14
c931d00b 15if [ -z "$NOCONFIGURE" ]; then
a66a0c37 16 exec ./configure $args CFLAGS="${MYCFLAGS} ${CFLAGS}" "$@"
c931d00b 17fi