File: autogen.sh

package info (click to toggle)
calf 0.90.6-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,944 kB
  • sloc: cpp: 37,604; xml: 12,698; ansic: 5,928; python: 1,537; makefile: 203; javascript: 159; lex: 51; sh: 32
file content (24 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

if type libtoolize >/dev/null 2>&1
then
    LIBTOOLIZE=libtoolize
else
    if which glibtoolize >/dev/null
    then
	# on the Mac it's called glibtoolize for some reason
	LIBTOOLIZE=glibtoolize
    else
	echo "libtoolize not found"
	exit 1
    fi
fi

aclocal --force
${LIBTOOLIZE} --force --automake --copy
autoheader --force
autoconf --force
automake -a --copy
if test "$NOCONFIGURE" != 1; then
  ./configure --enable-experimental $@
fi