From: Lucas De Marchi Date: Fri, 24 Feb 2017 05:58:15 +0000 (-0800) Subject: build: update autogen X-Git-Tag: v24~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ee28136024d70b4497d1ea57d1dcf1c7f1cb52f;p=thirdparty%2Fkmod.git build: update autogen Bring new options from systemd and other projects. --- diff --git a/bootstrap b/bootstrap index d50dae98..c980f24a 100755 --- a/bootstrap +++ b/bootstrap @@ -1,30 +1,64 @@ #!/bin/sh + set -e +oldpwd=$(pwd) +topdir=$(dirname $0) +cd $topdir + gtkdocize --docdir libkmod/docs || touch libkmod/docs/gtk-doc.make -autoreconf --install --symlink +autoreconf --force --install --symlink libdir() { - (cd "$1/$(gcc -print-multi-os-directory)"; pwd) + echo $(cd "$1/$(gcc -print-multi-os-directory)"; pwd) } -args="--prefix=/usr \ +args="\ +--prefix=/usr \ --sysconfdir=/etc \ ---libdir=$(libdir /usr/lib)" - -hackargs="--enable-debug --enable-python --with-xz --with-zlib" - -cat <