From 6ee28136024d70b4497d1ea57d1dcf1c7f1cb52f Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 23 Feb 2017 21:58:15 -0800 Subject: [PATCH] build: update autogen Bring new options from systemd and other projects. --- bootstrap | 66 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 50 insertions(+), 16 deletions(-) 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 <