--- base-configure.in.old Tue Nov 21 18:01:04 2000 +++ base-configure.in Tue Nov 21 18:01:19 2000 @@ -567,14 +567,14 @@ GCC_VERSION_CODE="-DGCC_VERSION_CODE=$GCC_VERSION_CODE" echo -n "checking for glibc..." - major=`echo '#include ' |${CC-cc} -E -dM -|awk '/#define.+__GLIBC__/{print $3}'` + major=`echo '#include ' |${CC-cc} -E -dM -|awk '/#define[ \t]+__GLIBC__[ \t]/{print $3}'` if test "$major" = ""; then echo "no" else if test "$(( $major > 1 ))" = "1"; then GLIBCFLAGS="-D_XOPEN_SOURCE" fi - minor=`echo '#include ' |${CC-cc} -E -dM -|awk '/#define.+__GLIBC_MINOR__/{print $3}'` + minor=`echo '#include ' |${CC-cc} -E -dM -|awk '/#define[ \t]+__GLIBC_MINOR__[ \t]/{print $3}'` if test "$minor" = ""; then minor=0; fi --- base-configure.old Sun Nov 19 16:14:51 2000 +++ base-configure Sun Nov 19 16:20:59 2000 @@ -4022,14 +4022,14 @@ GCC_VERSION_CODE="-DGCC_VERSION_CODE=$GCC_VERSION_CODE" echo -n "checking for glibc..." - major=`echo '#include ' |${CC-cc} -E -dM -|awk '/#define.+__GLIBC__/{print $3}'` + major=`echo '#include ' |${CC-cc} -E -dM -|awk '/#define[ \t]+__GLIBC__[ \t]/{print $3}'` if test "$major" = ""; then echo "no" else if test "$(( $major > 1 ))" = "1"; then GLIBCFLAGS="-D_XOPEN_SOURCE" fi - minor=`echo '#include ' |${CC-cc} -E -dM -|awk '/#define.+__GLIBC_MINOR__/{print $3}'` + minor=`echo '#include ' |${CC-cc} -E -dM -|awk '/#define[ \t]+__GLIBC_MINOR__[ \t]/{print $3}'` if test "$minor" = ""; then minor=0; fi