File: autogen.sh

package info (click to toggle)
libbuffy 0.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,212 kB
  • ctags: 260
  • sloc: sh: 8,372; cpp: 1,355; makefile: 57; python: 12
file content (23 lines) | stat: -rwxr-xr-x 277 bytes parent folder | download | duplicates (3)
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

# 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