File: bootstrap.sh

package info (click to toggle)
ergo 3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 17,044 kB
  • ctags: 6,813
  • sloc: cpp: 91,488; ansic: 15,728; sh: 6,416; makefile: 1,287; yacc: 123; lex: 108
file content (23 lines) | stat: -rw-r--r-- 753 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
#! /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 libtoolize..."
#libtoolize --force || 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 is buggy and does not copy
config.sub and config.guess files properly.
I will try to work around it but the recommended solution
is to upgrade to automake-1.9.1 or more recent."
  libtoolize -c > /dev/null 2>&1
}
echo "Running configure $* ..."
./configure "$@"