diff --git a/autogen.sh b/autogen.sh index d45ba58..8a34d2c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,6 +2,7 @@ # autogen.sh with clean option # Copyright 2016 Joao Eriberto Mota Filho +# Copyright 2023 David da Silva Polverari # # This file is under BSD-3-Clause license. # @@ -47,6 +48,13 @@ then exit 0 fi +env pkg-config --version > /dev/null 2>&1 +if [ $? -ne 0 ] +then + echo "pkg-config is missing. Please install it and run $0 again." + exit 1 +fi + # Do autoreconf autoreconf -i \ && { echo " "; \