From 2005778fef69b52b1c4b99fff466562a4b29d1f8 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 25 Nov 2010 18:30:18 +0100 Subject: [PATCH] new script: add autoreconf script Signed-off-by: Stephan Raue --- scripts/autoreconf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/autoreconf diff --git a/scripts/autoreconf b/scripts/autoreconf new file mode 100755 index 0000000000..674164a079 --- /dev/null +++ b/scripts/autoreconf @@ -0,0 +1,13 @@ +#!/bin/sh + +. config/options $1 + +[ ! -f "$PKG_BUILD/configure.in" -a ! -f "$PKG_BUILD/configure.ac" ] && echo "configure.in or configure.ac not found" && exit 1 +#[ ! -f "$PKG_BUILD/Makefile.am" -a ! -f "$PKG_BUILD/Makefile.in" ] && echo "Makefile.am or Makefile.in not found" && exit 1 + +printf "%${INDENT}c AUTORECONF $1\n" >&$SILENT_OUT +export INDENT=$((${INDENT:-1}+$INDENT_SIZE)) + +do_autoreconf $PKG_BUILD + +exit 0