summaryrefslogtreecommitdiffabout
path: root/autogen.bash
blob: 8daa5c281313f06f97f5f545a425bae1a1ab6904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)"
if test -z "$tool_libtoolize" ; then
 echo "Failed to find libtoolize." ; exit 1;
fi
   (test -d aux.d || mkdir aux.d) \
&& (test -d aclocal.d || mkdir aclocal.d) \
&& "$tool_libtoolize" -f \
&& aclocal -I aclocal.d \
&& autoheader \
&& automake -a \
&& (autoconf || autoconf) \
&& ./configure "$@"