Patch #1215 2006-07-15 21:06

polygon7

Fixes bootstrap errors for Gentoo people with autoconf 2.60
Download
1215-Fixes_bootstra.patch (380 bytes)
Category
Platform-Specific
Status
Closed
Close date
2006-07-17 18:02
Assigned to
 
--- ./bootstrap    (old)
+++ ./bootstrap    (new)
@@ -21,7 +21,7 @@
 
 ## Using prereq in autoconf rather than here, mostly for the debian systems at
 ## this point
-if test -z "`autoconf --version 2>&1|head -n 1|egrep '2.5'`"; then
+if test -z "`autoconf --version 2>&1|head -n 1|egrep '2.[5-6]'`"; then
     echo "Autoconf 2.50 or above is required. Aborting build...";
     exit 1;
 fi
killerbot 2006-07-17 18:02

applied it differently , like this :

if test -n "`autoconf --version 2>&1|head -n 1|egrep '1.*|2.[0-4]'`"; then

echo "Autoconf 2.50 or above is required. Aborting build...";

exit 1;

fi

so shen 2.7 comes ther's no need to adjust it anymore.

thx for the feedback.

ID_34820 2007-01-03 08:15

a fix for autoconf 2.61 is needed

I just tried to emerge the codeblocks 1.0-rc2 and when that failed tried the svn version and both exhibit this problem

your regular expression is slightly off it will match the 1 at the end of 2.61 as .* matches any string of chars following the 1 including the empty string.

if test -n "`autoconf --version 2>&1|head -n 1|egrep '1\..|2\.[0-4]'`"; then

echo "Autoconf 2.50 or above is required. Aborting build...";

exit 1;

fi

this will require a '.' to follow the 1 in the version number sth. 2.61 will not match