#!/bin/sh # Run this to generate all the initial makefiles, etc. # Additional options go to configure. echo "Rebuilding ./configure with autoreconf..." if [ ! -d "include" ]; then mkdir "include" fi autoreconf -f -i if [ $? -ne 0 ]; then echo "autoreconf failed" exit $? fi ./configure --enable-maintainer-mode "$@"