e/autogen.sh: fix exit status when using NOCONFIGURE
[platform/upstream/enlightenment.git] / autogen.sh
1 #!/bin/sh
2
3 rm -rf autom4te.cache
4 rm -f aclocal.m4 ltmain.sh config.cache
5
6 autoreconf --symlink --install || exit 1
7
8 if [ -z "$NOCONFIGURE" ]; then
9   exec ./configure -C "$@"
10 fi
11 exit 0