#!/bin/sh## autogen.sh
libtoolize-c-f||glibtoolize-c-f
aclocal
autoheader-f
autoconf
ifgrep-qPKG_CHECK_MODULESconfigure;then# The generated configure is invalid because pkg-config is unavailable.rmconfigure
echo"Error, missing pkg-config. Check the build requirements."exit1fi
automake-a-c-f