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