#!/bin/sh
echo "Creating configure in thirdparty/gle"
cd thirdparty/gle
libtoolize -c -f --automake
aclocal
autoheader
automake -a -c -f
autoconf
cd ../..

echo "Creating configure for main package"
for CMD in "libtoolize -c -f --automake" "aclocal" "autoheader" "automake -a -c -f" "autoconf"
do
  echo "Running $CMD"
  $CMD
done
