Skip to content
Browse files

print error if autoreconf isn't found

  • Loading branch information...
1 parent 8fba199 commit 528f15db3c894bdadbf2862ef242db2b52d97691 @pepeleproso pepeleproso committed Jan 14, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 autogen.sh
View
8 autogen.sh
@@ -29,7 +29,13 @@ find -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \
-o -name Makefile.in \) -print0 | xargs -0 rm -f
echo Running autoreconf...
-autoreconf -v -i -f
+AUTORECONF=`which autoreconf`
+if test -z $AUTORECONF; then
+ echo "*** No autoreconf found, please install it ***"
+ exit 1
+else
+ autoreconf --force --install --verbose || exit $?
+fi
echo Running intltoolize
intltoolize --copy --force --automake

0 comments on commit 528f15d

Please sign in to comment.
Something went wrong with that request. Please try again.