4 if ! type aclocal-$AM_VERSION 1>/dev/null 2>&1; then
5 # automake-1.10 (recommended) is not available on Fedora 8
9 ACLOCAL=aclocal-${AM_VERSION}
10 AUTOMAKE=automake-${AM_VERSION}
13 if test -f /opt/local/bin/glibtoolize ; then
15 LIBTOOLIZE=/opt/local/bin/glibtoolize
19 if test -d /opt/local/share/aclocal ; then
20 ACLOCAL_ARGS="-I /opt/local/share/aclocal"
23 if test -d /share/aclocal ; then
24 ACLOCAL_ARGS="$ACLOCAL_ARGS -I /share/aclocal"
27 if test -f /opt/local/bin/intltoolize ; then
29 INTLTOOLIZE=/opt/local/bin/intltoolize
31 #on mingw, it is important to invoke intltoolize with an absolute path to avoid a bug
32 INTLTOOLIZE=/usr/bin/intltoolize
35 echo "Generating build scripts in linphone..."
37 $LIBTOOLIZE --copy --force
39 $INTLTOOLIZE -c --force --automake
40 $ACLOCAL -I m4 $ACLOCAL_ARGS
42 $AUTOMAKE --force-missing --add-missing --copy
45 if [ -x oRTP/autogen.sh ]; then
46 echo "Generating build scripts in oRTP..."
47 ( cd oRTP && ./autogen.sh )
50 if [ -x mediastreamer2/autogen.sh ]; then
51 echo "Generating build scripts in mediastreamer2..."
52 ( cd mediastreamer2 && ./autogen.sh )