File: autogen.sh

package info (click to toggle)
tagcoll 0.99-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,180 kB
  • ctags: 95
  • sloc: sh: 8,362; cpp: 817; makefile: 27
file content (22 lines) | stat: -rwxr-xr-x 276 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
#!/bin/sh

# Rebuild the build system

ACLOCAL=aclocal
AUTOMAKE=automake

for i in 1.8 1.7
do
	if which $ACLOCAL-$i > /dev/null
	then
		ACLOCAL=aclocal-$i
		AUTOMAKE=automake-$i
		break
	fi
done

$ACLOCAL
autoheader
libtoolize --force -c
$AUTOMAKE --foreign -a -f -c
autoconf