Codebase list telepathy-farstream / 8682ea80-663f-4eb2-aa2a-92bf625be5cb/main autogen.sh
8682ea80-663f-4eb2-aa2a-92bf625be5cb/main

Tree @8682ea80-663f-4eb2-aa2a-92bf625be5cb/main (Download .tar.gz)

autogen.sh @8682ea80-663f-4eb2-aa2a-92bf625be5cb/mainraw · history · blame

#!/bin/sh
set -e

gtkdocize --copy

if test -n "$AUTOMAKE"; then
    : # don't override an explicit user request
elif automake-1.11 --version >/dev/null 2>/dev/null && \
     aclocal-1.11 --version >/dev/null 2>/dev/null; then
    # If we have automake-1.11, use it. This is the oldest version (=>
    # least likely to introduce undeclared dependencies) that will give us
    # --enable-silent-rules support.
    AUTOMAKE=automake-1.11
    export AUTOMAKE
    ACLOCAL=aclocal-1.11
    export ACLOCAL
fi

autoreconf -i -f

run_configure=true
for arg in $*; do
    case $arg in
        --no-configure)
            run_configure=false
            ;;
        *)
            ;;
    esac
done

if test $run_configure = true; then
    ./configure "$@"
fi