[patch 01/15] autoreconf doesnt always do the right thing, add manual variant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux