Updated the pre-commit hook
Updated the pre-commit hook

Now it regenerates the build environment if Makefile.am or configure.ac
has changed.

paulbdavis/ledger,duncanmortimer/ledger,jwakely/ledger,paulbdavis/ledger,afh/ledger,afh/ledger,paulbdavis/ledger,duncanmortimer/ledger,jwakely/ledger,jwakely/ledger,ledger/ledger,afh/ledger,paulbdavis/ledger,duncanmortimer/ledger,duncanmortimer/ledger,paulbdavis/ledger,jwakely/ledger,jwakely/ledger,jwakely/ledger,afh/ledger,ledger/ledger,duncanmortimer/ledger,afh/ledger,duncanmortimer/ledger,ledger/ledger,ledger/ledger,duncanmortimer/ledger,paulbdavis/ledger,ledger/ledger,jwakely/ledger,paulbdavis/ledger