banshee r5136 - trunk/banshee



Author: blorentz
Date: Sun Mar 15 14:35:02 2009
New Revision: 5136
URL: http://svn.gnome.org/viewvc/banshee?rev=5136&view=rev

Log:
2009-03-15  Bertrand Lorentz  <bertrand lorentz gmail com>

	* autogen.sh: Print a proper error message when (g)libtoolize is not
	found. Patch from Andreas Neustifter, with a small change by me
	(BGO #563839).



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/autogen.sh

Modified: trunk/banshee/autogen.sh
==============================================================================
--- trunk/banshee/autogen.sh	(original)
+++ trunk/banshee/autogen.sh	Sun Mar 15 14:35:02 2009
@@ -51,7 +51,11 @@
 }
 
 # MacPorts on OS X only seems to have glibtoolize
-LIBTOOLIZE=$(basename $(which libtoolize || which glibtoolize))
+WHICHLIBTOOLIZE=$(which libtoolize || which glibtoolize)
+if [ x"$WHICHLIBTOOLIZE" == x"" ]; then
+	error "libtool is required to configure $PROJECT"
+fi
+LIBTOOLIZE=$(basename $WHICHLIBTOOLIZE)
 
 check_autotool_version aclocal 1.9
 check_autotool_version automake 1.9



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]