File: autogen.sh

package info (click to toggle)
pstoedit 3.50-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 4,656 kB
  • ctags: 3,110
  • sloc: cpp: 25,588; sh: 10,050; perl: 4,036; ansic: 955; java: 860; makefile: 450
file content (37 lines) | stat: -rwxr-xr-x 629 bytes parent folder | download
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
#!/bin/sh
AMVERSION=1.xxx
AMVERSION=1.7
AMVERSION=local
AMVERSION=1.9

AMVERSION=any
ACLOCAL_FLAGS=--force

BINDIR=/usr/local/bin
BINDIR=/usr/bin
set -x


echo "running libtoolize"

libtoolize --force --copy 

echo "running aclocal"
if (aclocal-$AMVERSION --version)  < /dev/null > /dev/null 2>&1; then
    aclocal-$AMVERSION ${ACLOCAL_FLAGS}
else
    $BINDIR/aclocal ${ACLOCAL_FLAGS}
fi

echo "Running autoheader -f"
autoheader -f 

echo "running automake"
if (automake-$AMVERSION --version) < /dev/null > /dev/null 2>&1; then
    automake-$AMVERSION -a
else
    $BINDIR/automake -a
fi

echo "running autoconf"
$BINDIR/autoconf