Commit 1a4fb4eb8ec42d170f13b3866091856aa8bb7ce1

Authored by Stéphane Raimbault
1 parent 558538ab

Check return value of autoreconf. Thanks to Lauri Nurmi.

Showing 1 changed file with 13 additions and 8 deletions
autogen.sh
1 1 #! /bin/sh
2   -autoreconf --install --symlink --force
3   -
4   -
5   -echo
6   -echo "------------------------------------------------------"
7   -echo "Initialized build system. You can now run ./configure "
8   -echo "------------------------------------------------------"
9   -echo
  2 +if autoreconf --install --symlink --force; then
  3 + echo
  4 + echo "------------------------------------------------------"
  5 + echo "Initialized build system. You can now run ./configure "
  6 + echo "------------------------------------------------------"
  7 + echo
  8 +else
  9 + echo
  10 + echo "--------------------------"
  11 + echo "Running autoreconf failed."
  12 + echo "--------------------------"
  13 + echo
  14 +fi
... ...