kconfig-frontends/bootstrap
Yann E. MORIN" 3725e3bdd0 configure: use autoreconf in bootstrap
Thanks to Jan, let's use autoreconf in bootstrap, instead of our
canned sequence.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jan Engelhardt <jengelh@inai.de>
2013-01-13 23:01:40 +01:00

18 lines
452 B
Bash
Executable File

#!/bin/sh
set -e
printf "Creating macrodir...\n"
macrodir="$( sed -r -e '/^AC_CONFIG_MACRO_DIR\(\[(.*)\]\)/!d;' \
-e 's//\1/;' \
configure.ac \
)"
mkdir -p "${macrodir}"
printf "Running autoreconf...\n"
autoreconf -f -i -Wall
# Cleanup the useless stuff... :-(
rm -rf autom4te.cache
printf "Done. You may now run:\n ./configure\n"