File: autogen.sh

package info (click to toggle)
enigma 1.30%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 76,132 kB
  • sloc: xml: 162,251; cpp: 67,393; ansic: 28,606; makefile: 1,986; sh: 1,298; yacc: 288; perl: 84; sed: 16
file content (25 lines) | stat: -rwxr-xr-x 449 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
#! /bin/sh

bstrap ()
{
    echo -n "Bootstrapping $1    "
    if (cd "$1" && sh autogen.sh); then
        echo "OK"
    else
        echo "ERROR"
        exit 1
    fi
}

echo ""
bstrap "./lib-src/zipios++"
bstrap "./lib-src/enet"

echo -n "Bootstrapping ./    "
if autoheader && aclocal -I m4 && automake --add-missing --foreign --copy && autoconf; then
    echo "OK"
else
    echo "ERROR"
    exit 1
fi
echo "You can now run configure and make."