LibreELEC.tv/scripts/autoreconf
Stephan Raue 2005778fef new script: add autoreconf script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-25 18:30:18 +01:00

14 lines
418 B
Bash
Executable File

#!/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