mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-23 07:58:30 +00:00
render autogen.sh mac-compatible. git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@614 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
30 lines
639 B
Bash
Executable file
30 lines
639 B
Bash
Executable file
#!/bin/sh
|
|
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
|
|
AUTOMAKE=automake
|
|
ACLOCAL=aclocal
|
|
else
|
|
ACLOCAL=aclocal-${AM_VERSION}
|
|
AUTOMAKE=automake-${AM_VERSION}
|
|
fi
|
|
|
|
if test -f /opt/local/bin/glibtoolize ; then
|
|
# darwin
|
|
LIBTOOLIZE=/opt/local/bin/glibtoolize
|
|
else
|
|
LIBTOOLIZE=libtoolize
|
|
fi
|
|
if test -d /opt/local/share/aclocal ; then
|
|
ACLOCAL_ARGS="-I /opt/local/share/aclocal"
|
|
fi
|
|
|
|
|
|
set -x
|
|
rm -rf config.cache autom4te.cache
|
|
$LIBTOOLIZE --copy --force
|
|
$ACLOCAL $ACLOCAL_ARGS
|
|
autoheader
|
|
$AUTOMAKE --add-missing --copy
|
|
autoconf
|
|
|