#!/bin/sh
rm-fconfigureconfig.hconfig.h.in
AUTOCONF=$(command-vautoconf)AUTOMAKE=$(command-vautomake)LIBTOOL=$(command-vlibtool)LIBTOOLIZE=$(command-vlibtoolize)AUTORECONF=$(command-vautoreconf)PKG_CONFIG=$(command-vpkg-config)iftest-z$AUTOCONF;thenecho"autoconf is missing: please install it and try again"exitfiiftest-z$AUTOMAKE;thenecho"automake is missing: please install it and try again"exitfiiftest-z$LIBTOOL&&test-z$LIBTOOLIZE;thenecho"libtool and libtoolize is missing: please install it and try again"exitfiiftest-z$AUTORECONF;thenecho"autoreconf is missing: please install it and try again"exitfiiftest-z$PKG_CONFIG;thenecho"pkg-config is missing: please install it (apt-get install pkg-config) and try again"exitfi
autoreconf-ivf
echo"./configure $@"
chmod+xconfigure
./configure$@