[patch]: autogen.sh: Fix workaround for automake 1.5



Hello,

any side effects for another versions of automake?

-- 
Regards,
Andrew V. Samoilov

________________________________________________________________
GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua
Join BCS today! For your FREE webmail, visit: http://email.zp.ua/
ChangeLog:

	* autogen.sh: Fix workaround for automake 1.5.

--- autogen.sh~	Wed Dec 29 11:45:59 2004
+++ autogen.sh	Wed Dec 29 11:45:17 2004
@@ -90,8 +90,9 @@ test -f configure || \
   { echo "autoconf failed to generate configure" 2>&1; exit 1; }
 
 # Workaround for Automake 1.5 to ensure that depcomp is distributed.
-# Uncomment this for Automake 1.5
-#$AUTOMAKE -a src/Makefile
+if test "`$AUTOMAKE --version|awk '{print $NF;exit}'`" = '1.5' ; then
+    $AUTOMAKE -a src/Makefile
+fi
 $AUTOMAKE -a
 test -f Makefile.in || \
   { echo "automake failed to generate Makefile.in" 2>&1; exit 1; }


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