[107782] trunk/base

cal at macports.org cal at macports.org
Fri Jul 5 11:24:18 PDT 2013


Revision: 107782
          https://trac.macports.org/changeset/107782
Author:   cal at macports.org
Date:     2013-07-05 11:24:18 -0700 (Fri, 05 Jul 2013)
Log Message:
-----------
tracelib: remove support for statically configured SDK redirection

Modified Paths:
--------------
    trunk/base/configure
    trunk/base/configure.ac
    trunk/base/src/config.h.in
    trunk/base/src/pextlib1.0/tracelib.c

Modified: trunk/base/configure
===================================================================
--- trunk/base/configure	2013-07-05 17:41:35 UTC (rev 107781)
+++ trunk/base/configure	2013-07-05 18:24:18 UTC (rev 107782)
@@ -840,7 +840,6 @@
 with_sqlite3prefix
 with_tcl_sqlite3
 with_included_tclthread
-with_trace_sdk
 enable_shared
 '
       ac_precious_vars='build_alias
@@ -1525,8 +1524,6 @@
   --with-tcl-sqlite3=DIR  directory for Tcl sqlite3 (default /usr/lib/sqlite3)
   --with-included-tclthread
                           install included Thread package.
-  --with-trace-sdk=SDK    SDK for redirection in trace lib (for example
-                          MacOSX10.4u.sdk)
 
 Some influential environment variables:
   CC          C compiler command
@@ -10004,17 +10001,6 @@
 	patch -p0 < src/thread2.6.diff
 fi
 
-
-
-# Check whether --with-trace-sdk was given.
-if test "${with_trace_sdk+set}" = set; then :
-  withval=$with_trace_sdk; test -d ${DEVELOPER_DIR}/SDKs/$withval && cat >>confdefs.h <<_ACEOF
-#define TRACE_SDK "${withval}"
-_ACEOF
-
-fi
-
-
 # Allows building of shared libraries
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5

Modified: trunk/base/configure.ac
===================================================================
--- trunk/base/configure.ac	2013-07-05 17:41:35 UTC (rev 107781)
+++ trunk/base/configure.ac	2013-07-05 18:24:18 UTC (rev 107782)
@@ -328,13 +328,6 @@
 	patch -p0 < src/thread2.6.diff
 fi
 
-AH_TEMPLATE([TRACE_SDK], [SDK for SDK redirect in tracelib])
-AC_ARG_WITH(
-	trace-sdk,
-	AS_HELP_STRING([--with-trace-sdk=SDK],
-		[SDK for redirection in trace lib (for example MacOSX10.4u.sdk)]),
-	[test -d ${DEVELOPER_DIR}/SDKs/$withval && AC_DEFINE_UNQUOTED([TRACE_SDK], "${withval}")], [])
-
 # Allows building of shared libraries
 SC_ENABLE_SHARED
 

Modified: trunk/base/src/config.h.in
===================================================================
--- trunk/base/src/config.h.in	2013-07-05 17:41:35 UTC (rev 107781)
+++ trunk/base/src/config.h.in	2013-07-05 18:24:18 UTC (rev 107782)
@@ -264,9 +264,6 @@
 /* Define to 1 if you have the ANSI C header files. */
 #undef STDC_HEADERS
 
-/* SDK for SDK redirect in tracelib */
-#undef TRACE_SDK
-
 /* Attribute to mark unused variables */
 #undef UNUSED
 

Modified: trunk/base/src/pextlib1.0/tracelib.c
===================================================================
--- trunk/base/src/pextlib1.0/tracelib.c	2013-07-05 17:41:35 UTC (rev 107781)
+++ trunk/base/src/pextlib1.0/tracelib.c	2013-07-05 18:24:18 UTC (rev 107782)
@@ -72,21 +72,14 @@
 
 static char *name;
 static char *sandbox;
-static char *filemap, * filemap_end;
+static char *filemap, *filemap_end;
 static char *depends;
 static int sock = -1;
 static int enable_fence = 0;
 static Tcl_Interp *interp;
 static pthread_mutex_t sock_mutex = PTHREAD_MUTEX_INITIALIZER;
 static int cleanuping = 0;
-static char *sdk =
-#ifdef TRACE_SDK
-    /*"MacOSX10.4u.sdk"*/
-    TRACE_SDK
-#else
-    0
-#endif
-    ;
+static char *sdk = NULL;
 
 static void send_file_map(int sock);
 static void dep_check(int sock, const char *path);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130705/a5ce09de/attachment.html>


More information about the macports-changes mailing list