makepkg -c

* Add (NO)ASNEEDED options to (dis)able the --(no-)as-needed inclusion
  in LDFLAGS.
libpacman/trans.c

* Fix cut&paste typo.
configure.ac

* AM_CONFIG_HEADER -> AC_CONFIG_HEADERS as required by latest autotools.
libpacman/trans

* Add fini destructor virtual method to transaction.
libpacman

* Add a callback to track transaction state machine changes.
libpacman

* Renamed state hook.
* Simplify run hook interface.
* Basic implementation of a state tracking hooks.
import first hooks for 'fonts'
import hooks skeleton file
add mkfontscale hook
add mkfontdir hook
add fc-cache hook
hooks.sh: remove
add depmod hook
libpacman

* Remove some spurus set state call and set it in the generic error path.
libpacman

* Move set_state hook to the transaction datas (temporary work around).
* Add fini transaction hook.
libpacman

* Drop pacman_pkg_check(md5,sha1)sum API entry, package name
  construction do not menstion about arch, so it mean it is broken even
  before I joined FW.
libpacman

* Introduce and use _pacman_pkg_filename.
pactest

* Fix invocation of invocation with gdb and valgrind.
* Add check-gdb and check-valgrind build target, to run checks under
  gdb and valgrind.
libpacman/trans_sysupgrade.c

* Avoid obfuscated pointer aligment lucky, will not be valid in some
  future change.
pacman-g2/trans.c

* Remove prevpercent progress variable from global namespace, it is used
  in a single function.