File: autogen.sh

package info (click to toggle)
plastimatch 1.10.0%2Bdfsg.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 48,324 kB
  • sloc: cpp: 126,131; sh: 5,845; ansic: 2,867; lisp: 907; makefile: 63; pascal: 62; cs: 19; fortran: 15
file content (38 lines) | stat: -rwxr-xr-x 581 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
# $Id: autogen.sh 2 2008-04-24 15:04:59Z naoaki $

if [ "$1" = "--force" ];
then
    FORCE=--force
    NOFORCE=
    FORCE_MISSING=--force-missing
else
    FORCE=
    NOFORCE=--no-force
    FORCE_MISSING=
fi

libtoolize --copy $FORCE 2>&1 | sed '/^You should/d' || {
    echo "libtoolize failed!"
    exit 1
}

aclocal $FORCE || {
    echo "aclocal failed!"
    exit 1
}

autoheader $FORCE || {
    echo "autoheader failed!"
    exit 1
}

automake -a -c $NOFORCE || {
    echo "automake failed!"
    exit 1
}

autoconf $FORCE || {
    echo "autoconf failed!"
    exit 1
}