Commit 26687dc3 authored by Ghislain MARY's avatar Ghislain MARY

Allow out-of-tree build.

parent ddfdb7f9
#!/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 )
fi
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 )
if [ -x mediastreamer2/autogen.sh ]; then
echo "Generating build scripts in mediastreamer2..."
( cd mediastreamer2 && ./autogen.sh )
fi
fi
cd $THEDIR
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment