As autoreconf doesn't always recreate all necessary files, do the steps required to create everything that's needed manually. We also need config/m4 in order to put the autogenerated m4 files there. Signed-off-by: Robert Schwebel <r.schwebel@xxxxxxxxxxxxxx> --- autogen.sh | 31 ++++++++++++++++++++++++++--- config/m4/.secret_world_domination_project | 2 + 2 files changed, 30 insertions(+), 3 deletions(-) Index: autogen.sh =================================================================== --- autogen.sh.orig +++ autogen.sh @@ -15,9 +15,34 @@ banner() { echo } -banner "autoreconf" -autoreconf --force --install --symlink -Wall || exit $? -rm -f include/rttests_config.h.in~ +ACLOCAL=${ACLOCAL:=aclocal} +AUTOHEADER=${AUTOHEADER:=autoheader} +AUTOMAKE=${AUTOMAKE:=automake} +AUTOCONF=${AUTOCONF:=autoconf} + +#$ACLOCAL --version | \ +# awk -vPROG="aclocal" -vVERS=1.7\ +# '{if ($1 == PROG) {gsub ("-.*","",$4); if ($4 < VERS) print PROG" < version "VERS"\nThis may result in errors\n"}}' + +#$AUTOMAKE --version | \ +# awk -vPROG="automake" -vVERS=1.7\ +# '{if ($1 == PROG) {gsub ("-.*","",$4); if ($4 < VERS) print PROG" < version "VERS"\nThis may result in errors\n"}}' + + +#banner "running libtoolize" +#libtoolize --force || exit + +banner "running aclocal" +$ACLOCAL -I config/m4 || exit + +banner "running autoheader" +$AUTOHEADER || exit + +banner "running automake" +$AUTOMAKE --gnu --add-missing -Wall || exit + +banner "running autoconf" +$AUTOCONF -Wall || exit banner "Finished" Index: config/m4/.secret_world_domination_project =================================================================== --- /dev/null +++ config/m4/.secret_world_domination_project @@ -0,0 +1,2 @@ + + -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 - To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html