im.pidgin.pidgin: 5f619caa5426e6b4e0d1823858310195ce7a994d

resiak at soc.pidgin.im resiak at soc.pidgin.im
Sat Jan 26 12:20:39 EST 2008


-----------------------------------------------------------------
Revision: 5f619caa5426e6b4e0d1823858310195ce7a994d
Ancestor: 2d7c53266140ca1f8553bb30e2b59a2f124955d2
Author: resiak at soc.pidgin.im
Date: 2008-01-25T20:43:15
Branch: im.pidgin.pidgin

Modified files:
        autogen.sh

ChangeLog: 

Make autogen.sh return a non-zero exit code when it fails so that
    ./autogen.sh && make
does the right thing.

-------------- next part --------------
============================================================
--- autogen.sh	b48de39c5fc7a0509a715ba2b5a230ab7ccb9ba7
+++ autogen.sh	637a7028d9e52a0455dd5059efd93cee61d03664
@@ -9,42 +9,42 @@ fi
 	echo;
 	echo "You must have glib-gettextize installed to compile Pidgin.";
 	echo;
-	exit;
+	exit 1;
 }
 
 (intltoolize --version) < /dev/null > /dev/null 2>&1 || {
 	echo;
 	echo "You must have intltool installed to compile Pidgin.";
 	echo;
-	exit;
+	exit 1;
 }
 
 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
 	echo;
 	echo "You must have libtool installed to compile Pidgin.";
 	echo;
-	exit;
+	exit 1;
 }
 
 (automake --version) < /dev/null > /dev/null 2>&1 || {
 	echo;
 	echo "You must have automake installed to compile Pidgin.";
 	echo;
-	exit;
+	exit 1;
 }
 
 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
 	echo;
 	echo "You must have autoconf installed to compile Pidgin.";
 	echo;
-	exit;
+	exit 1;
 }
 
 echo "Generating configuration files for Pidgin, please wait...."
 echo;
 
 echo "Running libtoolize, please ignore non-fatal messages...."
-echo n | libtoolize --copy --force || exit;
+echo n | libtoolize --copy --force || exit 1;
 
 # Add other directories to this list if people continue to experience
 # brokennesses ...  Obviously the real answer is for them to fix it
@@ -60,11 +60,11 @@ intltoolize --force --copy
 libtoolize -c -f --automake
 glib-gettextize --force --copy
 intltoolize --force --copy
-aclocal $ACLOCAL_FLAGS || exit;
-autoheader || exit;
+aclocal $ACLOCAL_FLAGS || exit 1;
+autoheader || exit 1;
 automake --add-missing --copy;
-autoconf || exit;
-automake || exit;
+autoconf || exit 1;
+automake || exit 1;
 
 echo;
 echo "Running ./configure ${CONFIGURE_ARGS} $@"


More information about the Commits mailing list