From 99a425cca7993711eec6bc0f4d1a785d164e09a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 25 Jun 2009 14:49:32 +0300 Subject: [PATCH] Fix bootstrap-configure when building from subdir --- bootstrap-configure | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bootstrap-configure b/bootstrap-configure index 2519f22f..cc82e1a9 100755 --- a/bootstrap-configure +++ b/bootstrap-configure @@ -1,11 +1,13 @@ #!/bin/sh +DIR="$(dirname "$0")" + if [ -f config.status ]; then make maintainer-clean fi -./bootstrap && \ - ./configure --enable-maintainer-mode \ +(cd "$DIR" && ./bootstrap) && \ + "$DIR/configure" --enable-maintainer-mode \ --enable-debug \ --prefix=/usr \ --mandir=/usr/share/man \