trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [1/2] git commit: TS-2094: eliminate xcrun warnings at configure time
Date Wed, 21 Aug 2013 18:39:54 GMT
Updated Branches:
  refs/heads/master be93cfbee -> e1b4b11ce


TS-2094: eliminate xcrun warnings at configure time

xcrun doesn't support the --show-sdk-path option until Xcode 5. We
don't care though, because the libraries we are looking for don't
move to the SDK bundle until Xcode 5 either. It is safe to just
silence the error spew on Xcode < 5.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c10ff03c
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c10ff03c
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c10ff03c

Branch: refs/heads/master
Commit: c10ff03ca9989166883d87baf75c737b3fb28845
Parents: be93cfb
Author: James Peach <jpeach@apache.org>
Authored: Wed Aug 21 11:38:06 2013 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Wed Aug 21 11:38:06 2013 -0700

----------------------------------------------------------------------
 CHANGES      | 3 +++
 build/tcl.m4 | 2 +-
 build/xml.m4 | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c10ff03c/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 4604c67..6ef422b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 4.1.0
 
+
+  *) [TS-2094] eliminate xcrun warnings at configure time
+
   *) TS-2141: Inconsistent euid cause bad mgmtapi/eventapi sockets.
 
   *) TS-2137: Use eventfd instread of pthread signal/wait in ATS.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c10ff03c/build/tcl.m4
----------------------------------------------------------------------
diff --git a/build/tcl.m4 b/build/tcl.m4
index abe8044..5113cd8 100644
--- a/build/tcl.m4
+++ b/build/tcl.m4
@@ -74,7 +74,7 @@ AC_DEFUN([SC_PATH_TCLCONFIG], [
 
 	    # on Darwin, check in Framework installation locations
 	    if test "`uname -s`" = "Darwin" -a x"${ac_cv_c_tclconfig}" = x ; then
-		for i in "`xcrun --show-sdk-path`/usr/lib" \
+		for i in "`xcrun --show-sdk-path 2>/dev/null`/usr/lib" \
                         `ls -d ~/Library/Frameworks 2>/dev/null` \
 			`ls -d /Library/Frameworks 2>/dev/null` \
 			`ls -d /Network/Library/Frameworks 2>/dev/null` \

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c10ff03c/build/xml.m4
----------------------------------------------------------------------
diff --git a/build/xml.m4 b/build/xml.m4
index a691bd9..03c59ff 100644
--- a/build/xml.m4
+++ b/build/xml.m4
@@ -59,7 +59,7 @@ if test "x$expat_base_dir" = "x"; then
   _expat_dir_list=""
   case $host_os_def in
     darwin)
-    for dir in "`xcrun -show-sdk-path`/usr" /usr/local /usr; do
+    for dir in "`xcrun -show-sdk-path 2>/dev/null`/usr" /usr/local /usr; do
       if test -d $dir && test -f $dir/include/expat.h; then
         ats_cv_expat_dir=$dir
         break


Mime
View raw message