diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-09 23:43:33 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-09 23:43:33 +0000 |
commit | b8c4d119e2546cd2b52c69fc46e7752bedd93447 (patch) | |
tree | 1aee80ee34bd21003f2cbf5a0568da4be758103d /m4 | |
parent | 361c600c69679b8df5d8edafec843afa85c90e6c (diff) | |
download | xine-lib-b8c4d119e2546cd2b52c69fc46e7752bedd93447.tar.gz xine-lib-b8c4d119e2546cd2b52c69fc46e7752bedd93447.tar.bz2 |
Use a simpler and more portable awk command. Patch by Albert Lee.
CVS patchset: 8647
CVS date: 2007/03/09 23:43:33
Diffstat (limited to 'm4')
-rw-r--r-- | m4/optimizations.m4 | 3 |
1 files changed, 1 insertions, 2 deletions
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 |