<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - PulseAudio cross compilation for Mac OS X fails due to problems with configure.ac"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89412">89412</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>PulseAudio cross compilation for Mac OS X fails due to problems with configure.ac
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>build-system
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>astrand@lysator.liu.se
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=113955" name="attach_113955" title="Fix OS X configure for Mac OS X">attachment 113955</a> <a href="attachment.cgi?id=113955&action=edit" title="Fix OS X configure for Mac OS X">[details]</a></span>
Fix OS X configure for Mac OS X
There are some issues with configure.ac which makes the build fail when cross
compiling for Mac OS X:
* The section #### Mac OSX specific stuff ##### comes very late; after several
checks for OS S specific things such as CoreServices and CoreAudio. Obviously,
fundamental things such as mac-version-min and sysroot must be setup before
trying such tests. The entire section should be moved more to the top.
* The section that checks for CoreServices has two problems: 1) It checks for
FlatCarbon/CoreServices.h. AFAIK, FlatCarbon is a very old concept designed for
compatibility with pre-OS X Mac OS. Since we require OS X 10.5, I see no point
in checking for the FlatCarbon version. 2) There's an hardcoded path to
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h. This
is the wrong way to do it: The path should not be hardcoded, and the
"CoreServices.framework" should not be specified.
The attached patch should solve both problems. Tested with GCC 4.6.4 targeting
Mac OS X 10.6.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>