diff --git a/autogen.sh b/autogen.sh index ea404e0..c49e3bc 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,9 +1,14 @@ #! /bin/sh -autoreconf --install --symlink --force - - -echo -echo "------------------------------------------------------" -echo "Initialized build system. You can now run ./configure " -echo "------------------------------------------------------" -echo +if autoreconf --install --symlink --force; then + echo + echo "------------------------------------------------------" + echo "Initialized build system. You can now run ./configure " + echo "------------------------------------------------------" + echo +else + echo + echo "--------------------------" + echo "Running autoreconf failed." + echo "--------------------------" + echo +fi