File: bootstrap.sh

package info (click to toggle)
ergo 3.8.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 17,568 kB
  • sloc: cpp: 94,763; ansic: 17,785; sh: 10,701; makefile: 1,403; yacc: 127; lex: 116; awk: 23
file content (18 lines) | stat: -rwxr-xr-x 605 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh
# bootstrap file to be used when autogen.sh fails.
# consider using --foreign flat to automake
echo "Running aclocal..."
aclocal || exit 1
echo "Running autoheader..."
autoheader || exit 1
echo "Running autoconf..."
autoconf || exit 1
echo "Running automake..."
automake --foreign --add-missing --copy || exit 1
# automake-1.8 does not copy all the required files properly.
test -f config.sub || {
  echo "Your automake did not generate config.sub - this used to be an issue."
  echo "You may generate this file by running eg 'libtoolize -c'"
}
echo "Running configure $* ..."
./configure "$@"