mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 07:59:20 +00:00
Allow out-of-tree build.
This commit is contained in:
parent
ddfdb7f9ce
commit
26687dc345
1 changed files with 18 additions and 7 deletions
25
autogen.sh
25
autogen.sh
|
|
@ -1,5 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
THEDIR=`pwd`
|
||||
cd $srcdir
|
||||
|
||||
#AM_VERSION="1.10"
|
||||
if ! type aclocal-$AM_VERSION 1>/dev/null 2>&1; then
|
||||
# automake-1.10 (recommended) is not available on Fedora 8
|
||||
|
|
@ -42,12 +48,17 @@ autoheader
|
|||
$AUTOMAKE --force-missing --add-missing --copy
|
||||
autoconf
|
||||
|
||||
if [ -x oRTP/autogen.sh ]; then
|
||||
echo "Generating build scripts in oRTP..."
|
||||
( cd oRTP && ./autogen.sh )
|
||||
set +x
|
||||
if [ "$srcdir" = "." ]; then
|
||||
if [ -x oRTP/autogen.sh ]; then
|
||||
echo "Generating build scripts in oRTP..."
|
||||
( cd oRTP && ./autogen.sh )
|
||||
fi
|
||||
|
||||
if [ -x mediastreamer2/autogen.sh ]; then
|
||||
echo "Generating build scripts in mediastreamer2..."
|
||||
( cd mediastreamer2 && ./autogen.sh )
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -x mediastreamer2/autogen.sh ]; then
|
||||
echo "Generating build scripts in mediastreamer2..."
|
||||
( cd mediastreamer2 && ./autogen.sh )
|
||||
fi
|
||||
cd $THEDIR
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue