File: bootstrap

package info (click to toggle)
osiris 4.0.6-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 16,020 kB
  • ctags: 11,910
  • sloc: ansic: 113,119; sh: 14,805; cpp: 2,038; makefile: 1,754; awk: 1,385; perl: 452; tcl: 27; asm: 14
file content (32 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download | duplicates (4)
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
#!/bin/sh

echo "cleaning up config.cache"
rm -f ./config.cache

BASEDIR="${PWD}"

echo "executing aclocal"
aclocal

echo "executing autoheader"
autoheader

echo "executing automake"
automake --foreign --add-missing --copy

echo "executing autoconf"
autoconf


echo ""

if [ ! -f ./Makefile.in ]; then
    echo "no Makefile.in, automake messed up."
    exit 1;
fi
if [ ! -f ./configure ]; then
    echo "no ./configure, autoconf messed up."
    exit 2;
fi

echo "To configure for this system, run ./configure"