diff --git a/autogen.sh b/autogen.sh index 745c4f15..0033eae1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,21 +1,21 @@ #!/bin/sh set -exu -if ! type autoconf >/dev/null 2>/dev/null ; then +if ! type autoconf >/dev/null 2>&1 ; then echo "autoconf not found - please install it" >&2 exit 1 fi -if ! type automake >/dev/null 2>/dev/null ; then +if ! type automake >/dev/null 2>&1 ; then echo "automake not found - please install it" >&2 exit 1 fi -if type aclocal >/dev/null 2>/dev/null ; then +if type aclocal >/dev/null 2>&1 ; then aclocal fi autoconf automake --add-missing -echo "now you can run ./configure && make to build openfortivpn" >&2 +echo "now you can run ./configure && make to build openfortivpn"