Access to configuration option in Xcode
<p>ALL,</p>

<p>In *nix, the usual way of building the software is to do:</p>

<pre><code>../configure &amp;&amp; make &amp;&amp; make install
</code></pre>

<p>However sometimes you need to pass some options to configure. As an example you can say "../configure --prefix=".</p>

<p>Now sometimes configure has a lot of programmer defined options. As an example if I want to build a freeTDS software (driver to access MS SQL Server/Sybase Server) I can choose which DBMS I want to build against thru "--enable-mssql/--enable-Sybase".</p>

<p>Unfortunately I'm not very familiar with Xcode, however I do know that OSX is a type of *nix environment.</p>

<p>So my question is: do I have access to such configure options inside Xcode? Let's say I am building a software that uses ODBC. So I can use either unixODBC DM or iODBC DM. And so my thought is that I can use "--with-unixodbc/--with-iodbc" mutually exclusive configure options. But inside Xcode I have no idea where/how to define those.</p>

<p>Could someone please shed some light, please?</p>

<p>I have OSX 10.8 with the latest Xcode for that version, if it matters.</p>

<p>[EDIT]</p>

<p>On Linux when building pgodbc, I can use:</p>

<pre><code>../configure --with-unixodbc=&lt;some_dir&gt;
</code></pre>

<p>or</p>

<pre><code>../configure --with-iodbc=&lt;some_dir&gt;
</code></pre>

<p>Is there a way to tell Xcode I want to build with one OR another? Or you just build as many binaries as you wish?</p>

<p>Becase iODBC manager installs its files as a framework and unixODBC build from source installs as usual *nix file. So, when I build I want to know what I am testing against and what the user machine will have...</p>

<p>[/EDIT]</p>