#13795: Initial commit for sflphone-android

includes: libexpat libyaml libdbus-c++ commoncpp ccrtp
          libdbus (from android-4.0.4 sources)

TODO:
- git ignores "/jni/sflphone", sflphone repo should be cloned.
- sflphone-android only needs daemon directory. Ideally it should be possible
to clone it without cloning the whole sflphone project.
into sfl-android (commit 6a0fa7a "#13961: Fix cipher handling" has been used here)
- add pjsip-android project as a git submodule
- sflphone-android needs pjsip android project. Ideally daemon git repository
should not embed pjsip. Instead pjsip should be clone from official repositories.

Considering this, structure should have three distincts git repos:

sflphone-android/.git
sflphone-android/jni/ccrtp-1.8.0-android
sflphone-android/jni/commoncpp2-1.8.1-android
sflphone-android/jni/dbus
sflphone-android/jni/libdbus-c++-0.9.0-android
sflphone-android/jni/libexpat
sflphone-android/jni/libyaml

sflphone-android/jni/sflphone-daemon/.git
sflphone-android/jni/sflphone-daemon/src/audio
sflphone-android/jni/sflphone-daemon/src/config
sflphone-android/jni/sflphone-daemon/src/dbus
sflphone-android/jni/sflphone-daemon/src/history
sflphone-android/jni/sflphone-daemon/src/hooks
sflphone-android/jni/sflphone-daemon/src/iax
sflphone-android/jni/sflphone-daemon/src/sip
sflphone-android/jni/sflphone-daemon/src/video

sflphone-android/jni/pjsip-android/.git

Signed-off-by: Emeric Vigier <emeric.vigier@savoirfairelinux.com>
diff --git a/jni/commoncpp2-1.8.1-android/autogen.sh b/jni/commoncpp2-1.8.1-android/autogen.sh
new file mode 100755
index 0000000..66d2d07
--- /dev/null
+++ b/jni/commoncpp2-1.8.1-android/autogen.sh
@@ -0,0 +1,98 @@
+#!/bin/sh
+# Copyright (C) 2006-2010 David Sugar, Tycho Softworks.
+#
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+WANT_AUTOCONF_2_5=1
+export WANT_AUTOCONF_2_5
+
+rm -rf autoconf auto*.cache libtool
+if test ! -d autoconf ; then mkdir autoconf ; fi
+
+libtoolize="libtoolize"
+for lt in glibtoolize libtoolize15 libtoolize14 libtoolize13 ; do
+    if test -x /usr/bin/$lt ; then
+        libtoolize=$lt ; break
+    fi
+    if test -x /usr/local/bin/$lt ; then
+        libtoolize=$lt ; break
+    fi
+done
+$libtoolize --copy --force
+
+AUTOMAKE_FLAGS=""
+case $libtoolize in
+*glibtoolize)
+    AUTOMAKE_FLAGS="-i"
+    ;;
+esac
+
+ACLOCALDIRS=""
+if test -d m4 ; then
+    ACLOCALDIRS="-I m4" ; fi
+
+if test ! -z "$ACLOCAL" ; then
+    ACLOCALDIRS="$ACLOCALDIRS -I"${ACLOCAL}
+elif test ! -z "$ACLOCAL_FLAGS" ; then
+    ACLOCALDIRS="$ACLOCALDIRS $ACLOCAL_FLAGS" ; fi
+
+reconf=""
+if test -f ~/.configure ; then
+    reconf=`grep ^reconfig: ~/.configure | sed -e s/^reconfig://`
+elif test -f /etc/configure.conf ; then
+    reconf=`grep ^reconfig: /etc/configure.conf | sed -e s/^reconfig://` ; fi
+if test ! -z "$reconf" ; then ACLOCALDIRS="$ACLOCALDIRS $reconf" ; fi
+
+if [ -d ~/share/aclocal ] ; then
+    ACLOCALDIRS="$ACLOCALDIRS -I ~/share/aclocal"
+elif [ -d /usr/local/share/aclocal ] ; then
+    ACLOCALDIRS="$ACLOCALDIRS -I /usr/local/share/aclocal"
+fi
+
+if test ! -z "$1" -o ! -z "${AUTOCONF_SUFFIX}" ; then
+    ver="$1"
+else
+    for v in 2.53 2.57 ; do
+        if test -f /usr/bin/autoconf-$v ; then
+                ver=$v
+        fi
+    done
+fi
+
+if test "$ver" = "2.53" -a -z "$AUTOMAKE_SUFFIX" ; then
+    if test -f /usr/bin/automake-1.5 ; then
+        AUTOMAKE_SUFFIX="-1.5"
+    fi
+fi
+
+aclocal${AUTOMAKE_SUFFIX} $ACLOCALDIRS
+
+if test -f /usr/bin/autoheader-$ver ; then
+    /usr/bin/autoheader-$ver
+else
+    autoheader${AUTOCONF_SUFFIX}
+fi
+
+automake${AUTOMAKE_SUFFIX} --add-missing --copy ${AUTOMAKE_FLAGS}
+
+if test -f /usr/bin/autoconf-$ver ; then
+    /usr/bin/autoconf-$ver
+else
+    autoconf${AUTOCONF_SUFFIX}
+fi
+rm -f config.cache
+
+# fix for some broken...
+
+if test -f /usr/bin/automake-1.4 ; then
+    if test -f ltmain.sh ; then
+        cp ltmain.sh autoconf/ltmain.sh
+    fi
+fi
+