mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-04-21 21:17:19 +00:00
24 lines
651 B
Bash
Executable File
24 lines
651 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
. config/options $1
|
|
|
|
if [ ! -f "$PKG_BUILD/configure.in" \
|
|
-a ! -f "$PKG_BUILD/configure.ac" ] ; then
|
|
echo "configure.in or configure.ac not found"
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -f $PKG_BUILD/.autoreconf-done ] ; then
|
|
touch $PKG_BUILD/NEWS $PKG_BUILD/AUTHORS $PKG_BUILD/ChangeLog
|
|
mkdir -p $PKG_BUILD/m4
|
|
|
|
printf "%${BUILD_INDENT}c $(print_color CLR_AUTORECONF "AUTORECONF") $1\n" ' '>&$SILENT_OUT
|
|
export BUILD_INDENT=$((${BUILD_INDENT:-1}+$BUILD_INDENT_SIZE))
|
|
|
|
do_autoreconf $PKG_BUILD
|
|
touch $PKG_BUILD/.autoreconf-done
|
|
fi
|