File: autogen.sh

package info (click to toggle)
calf 0.0.19+git20140915+5de5da28-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,748 kB
  • ctags: 8,054
  • sloc: cpp: 32,680; xml: 10,722; ansic: 3,431; python: 1,537; makefile: 188; lex: 51; sh: 20
file content (24 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download | duplicates (5)
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