From b8c4d119e2546cd2b52c69fc46e7752bedd93447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 9 Mar 2007 23:43:33 +0000 Subject: Use a simpler and more portable awk command. Patch by Albert Lee. CVS patchset: 8647 CVS date: 2007/03/09 23:43:33 --- m4/optimizations.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/optimizations.m4 b/m4/optimizations.m4 index ac0bebdf6..323b57509 100644 --- a/m4/optimizations.m4 +++ b/m4/optimizations.m4 @@ -62,8 +62,7 @@ AC_DEFUN([AC_OPTIMIZATIONS], [ AC_MSG_CHECKING(for gcc 3.4.0 or later) newGCC="`"$CC" -dumpversion | - awk 'BEGIN { FS = "." }; - 1 { if ((@S|@1 * 10000 + @S|@2 * 100 + @S|@3) >= 30400) { print "yes" } }' + awk -F. '{ if ((@S|@1 * 10000 + @S|@2 * 100 + @S|@3) >= 30400) { print "yes" } }' `" AC_MSG_RESULT(${newGCC:-no - assuming bugginess in -finline-functions}) test "$newGCC" = yes || INLINE_FUNCTIONS=-fno-inline-functions -- cgit v1.2.3