[CalendarServer-changes] [7374] CalendarServer/branches/users/glyph/misc-portability-fixes/support/ build.sh

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 27 11:45:22 PDT 2011


Revision: 7374
          http://trac.macosforge.org/projects/calendarserver/changeset/7374
Author:   glyph at apple.com
Date:     2011-04-27 11:45:22 -0700 (Wed, 27 Apr 2011)
Log Message:
-----------
oops; don't write a file when checking headers.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/misc-portability-fixes/support/build.sh

Modified: CalendarServer/branches/users/glyph/misc-portability-fixes/support/build.sh
===================================================================
--- CalendarServer/branches/users/glyph/misc-portability-fixes/support/build.sh	2011-04-27 18:45:14 UTC (rev 7373)
+++ CalendarServer/branches/users/glyph/misc-portability-fixes/support/build.sh	2011-04-27 18:45:22 UTC (rev 7374)
@@ -31,7 +31,7 @@
 
 find_header () {
   local sysheader="$1"; shift;
-  echo "#include <${sysheader}>" | cc -x c -c - 2> /dev/null;
+  echo "#include <${sysheader}>" | cc -x c -c - -o /dev/null 2> /dev/null;
   return "$?";
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110427/2e66d80e/attachment.html>


More information about the calendarserver-changes mailing list