File: bootstrap.sh

package info (click to toggle)
afflib 3.6.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,320 kB
  • sloc: cpp: 21,493; ansic: 14,745; sh: 11,235; makefile: 538; python: 95
file content (21 lines) | stat: -rwxr-xr-x 480 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
#!/bin/sh
#
echo Bootstrap script to create configure script using autoconf
echo
# use the installed ones first, not matter what the path says.
export PATH=/usr/bin:/usr/sbin:/bin:$PATH
touch NEWS README AUTHORS ChangeLog stamp-h
aclocal
LIBTOOLIZE=glibtoolize
if test `which libtoolize`x != "x" ; 
  then LIBTOOLIZE=libtoolize 
fi
$LIBTOOLIZE  -f
autoheader -f
autoconf -f
automake --add-missing -c
echo "Ready to run configure!"
if [ $1"x" != "x" ]; then
  ./configure "$@"
fi