File: autogen.sh

package info (click to toggle)
simstring 1.0-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,376 kB
  • ctags: 2,334
  • sloc: cpp: 15,653; sh: 3,846; ansic: 488; python: 205; makefile: 50; ruby: 22
file content (38 lines) | stat: -rwxr-xr-x 585 bytes parent folder | download | duplicates (2)
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 3 2009-07-08 06:14:45Z 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
}