summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-10 00:15:40 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-10 00:15:40 +0000
commit3deaac20d85bd3d04e41457bef248a2aaa56fa3e (patch)
tree0cbfd8f2318c9c09c949ea78aafbffeaab448c6a
parent2441582907d74b286f4d9157b5953f6bdb99a491 (diff)
downloadxine-lib-3deaac20d85bd3d04e41457bef248a2aaa56fa3e.tar.gz
xine-lib-3deaac20d85bd3d04e41457bef248a2aaa56fa3e.tar.bz2
Use more portable tail command, by avoiding -n .. it's not strictly POSIX but in some cases -n is not supported.
For what concerns the old obnoxious warning from GNU coreutil about being a deprecated action, recent coreutils simply stopped issuing the warning while still supporting this form, as it's needed for high portability, so hide the warning altogether. Patch by Albert Lee. CVS patchset: 8653 CVS date: 2007/03/10 00:15:40
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 58b68a811..ab25ed7a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2502,7 +2502,7 @@ dnl ---------------------------------------------
dnl Some informations about xine-lib compilation
dnl ---------------------------------------------
-XINE_BUILD_CC="`$CC -v 2>&1 | tail -n 1`"
+XINE_BUILD_CC="`$CC -v 2>&1 | tail -1 2>/dev/null`"
XINE_BUILD_OS="`uname -s -r -m`"
XINE_BUILD_DATE="`date \"+%a %d %b %Y %T\"`"
AC_SUBST(XINE_BUILD_CC)