Merge branch 'master' of https://github.com/calf-studio-gear/calf
[calf.git] / autogen.sh
blob9e6253abcd03543abb9f38a31971fb8f29df8d84
1 #!/bin/sh
3 if type libtoolize >/dev/null 2>&1
4 then
5 LIBTOOLIZE=libtoolize
6 else
7 if which glibtoolize >/dev/null
8 then
9 # on the Mac it's called glibtoolize for some reason
10 LIBTOOLIZE=glibtoolize
11 else
12 echo "libtoolize not found"
13 exit 1
17 aclocal --force
18 ${LIBTOOLIZE} --force --automake --copy
19 autoheader --force
20 autoconf --force
21 automake -a --copy
22 if test "$NOCONFIGURE" != 1; then
23 ./configure --enable-experimental $@