1#!/bin/sh
2
3echo "Bootstrapping libbpm"
4echo "Generate configure scripts and Makefiles..."
5
6echo " -- running aclocal..."
7aclocal
8
9echo " -- running autoconf, creating configure scripts..."
10autoconf --force
11
12# libtoolize is called glibtoolize on osx.. check this !
13echo " -- library has libtool support, libtoolizing..."
14if [ `uname` == "Darwin" ]; then
15echo "  + You seem to be using Darwin, using glibtoolize !"
16  glibtoolize --copy --force
17else
18  libtoolize --copy --force
19fi
20
21echo " -- running automake, creating Makefile template..."
22automake --gnu --copy --add-missing
23
24echo "All done :)"
25
26