#!/bin/bash cd wsf_c ./autogen.sh cd ../ echo -n 'Running libtoolize...' if libtoolize --force > /dev/null 2>&1; then echo 'done.' else echo 'failed.' exit 1 fi echo -n 'Running aclocal...' if aclocal > /dev/null 2>&1; then echo 'done.' else echo 'failed.' exit 1 fi echo -n 'Running autoheader...' if autoheader > /dev/null 2>&1; then echo 'done.' else echo 'failed.' exit 1 fi echo -n 'Running autoconf...' if autoconf > /dev/null 2>&1; then echo 'done.' else echo 'failed.' exit 1 fi echo -n 'Running automake...' if automake --add-missing > /dev/null 2>&1; then echo 'done.' else echo 'failed.' exit 1 fi echo 'done'