Make checking the linux installed headers optional (instead of systematic).
1 Works around version check:
3 checking for i686-unknown-linux-gnu-gcc... gcc
4 checking version of gcc... 3.4.2, bad
7 *** Some critical program is missing or too old.
8 *** Check the INSTALL file for required versions.
11 --- glibc-2.2.2/configure.old 2005-04-10 16:57:42.692071968 -0700
12 +++ glibc-2.2.2/configure 2005-04-10 16:58:52.993384544 -0700
14 ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
15 case $ac_prog_version in
16 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
17 - *gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*)
18 + *gcc-2.9[5-9].*|*3.[234].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*)
19 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
20 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;