diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -20,6 +20,12 @@ # Script to generate all required files from fresh git checkout. +command -v pkg-config >/dev/null 2>&1 +if [ $? -ne 0 ]; then + echo "autogen.sh: error: could not find pkg-config. pkg-config is required to run autogen.sh." 1>&2 + exit 1 +fi + command -v libtool >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "autogen.sh: error: could not find libtool. libtool is required to run autogen.sh." 1>&2 |