X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=autogen.sh;h=3bb716755f6bc81d75f16e9aba19f49935f6757c;hb=7b6bf69ed818b15c9aad31150a9d5a223bc46619;hp=f32cf85f3f9af53d77585f2f550f022fe10cf91f;hpb=ffbb08ddfb74d291ea77bfa676656c148744dea0;p=linphone diff --git a/autogen.sh b/autogen.sh index f32cf85f..3bb71675 100755 --- a/autogen.sh +++ b/autogen.sh @@ -20,6 +20,10 @@ if test -d /opt/local/share/aclocal ; then ACLOCAL_ARGS="-I /opt/local/share/aclocal" fi +if test -d /share/aclocal ; then + ACLOCAL_ARGS="$ACLOCAL_ARGS -I /share/aclocal" +fi + if test -f /opt/local/bin/intltoolize ; then #darwin INTLTOOLIZE=/opt/local/bin/intltoolize @@ -38,8 +42,12 @@ autoheader $AUTOMAKE --force-missing --add-missing --copy autoconf -echo "Generating build scripts in oRTP..." -cd oRTP && ./autogen.sh && cd - +if [ -x oRTP/autogen.sh ]; then + echo "Generating build scripts in oRTP..." + ( cd oRTP && ./autogen.sh ) +fi -echo "Generating build scripts in mediastreamer2..." -cd mediastreamer2 && ./autogen.sh && cd - +if [ -x mediastreamer2/autogen.sh ]; then + echo "Generating build scripts in mediastreamer2..." + ( cd mediastreamer2 && ./autogen.sh ) +fi