[CalendarServer-changes] [12299] twext/trunk/bin/_build.sh

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:21:52 PDT 2014


Revision: 12299
          http://trac.calendarserver.org//changeset/12299
Author:   wsanchez at apple.com
Date:     2014-01-10 17:54:51 -0800 (Fri, 10 Jan 2014)
Log Message:
-----------
make <sasl/sasl.h> available a <sasl.h> to make python-ldap STFU

Modified Paths:
--------------
    twext/trunk/bin/_build.sh

Modified: twext/trunk/bin/_build.sh
===================================================================
--- twext/trunk/bin/_build.sh	2014-01-11 01:48:06 UTC (rev 12298)
+++ twext/trunk/bin/_build.sh	2014-01-11 01:54:51 UTC (rev 12299)
@@ -452,8 +452,12 @@
       --disable-bdb --disable-hdb;
   fi;
 
-  if find_header sasl.h; then
+  if find_header sasl/sasl.h && ! find_header sasl.h; then
+    mkdir -p "${dev_root}/include";
+    echo "#include <sasl/sasl.h>" > "${dev_root}/include/sasl.h"
     using_system "SASL";
+  elif find_header sasl.h; then
+    using_system "SASL";
   else
     local v="2.1.26";
     local n="cyrus-sasl";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/ab5009b9/attachment.html>


More information about the calendarserver-changes mailing list