summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 4492665453e9482babf75778c65ba0ccfc745a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
set -e

intltoolize --force --copy --automake || exit 1
gtkdocize || exit 1
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