title: PJSIP build issue
body: <p>Environment: OS X 10.9.3, Xcode 5.1, PJSIP-2.2.1
  I want to build simple PJSIP, the shell script as below:</p>
  
  <pre><code>#!/bin/bash
  
  SOURCE="pjproject-2.2.1"
  CONFIG="pjlib/include/pj/config_site.h"
  
  if [ ! -r $SOURCE ]; then
      echo 'PJSIP source not found. Trying to untar...'
      tar -xjf $SOURCE.tar.bz2
  fi
  
  cd $SOURCE
  
  touch $CONFIG
  echo &gt; $CONFIG
  echo "#define PJ_CONFIG_IPHONE 1" &gt;&gt; $CONFIG
  echo "#include &lt;pj/config_site_sample.h&gt;" &gt;&gt; $CONFIG
  
  ./configure-iphone
  #make dep &amp;&amp; make clean &amp;&amp; make
  
  echo Done.
  </code></pre>
  
  <p>It runs OK and .a files are created, for example <code>pjlib/lib/libpj-arm-apple-darwin9</code>. But when I use them to my iOS project, it failed with <code>Endianness must be declared for this processor</code>, <code>PJ_IS_LITTLE_ENDIAN is not defined!</code>, <code>PJ_IS_BIG_ENDIAN is not defined!</code> and so on. I think PJSIP is not built correctly. Anyone who knows?
  I have checked <a href="https://stackoverflow.com/questions/20369062/compile-pjsip-for-ios7">Compile PJSIP for iOS7</a></p>