Description: Add libtool missing check to fix 554821 or similar bugs in the future

Author: Andrew Lee (李健秋) <ajqlee@debian.org>
Bug-Debian: http://bugs.debian.org/558582
Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554821
Reviewed-By: Jonas Smedegaard <dr@jones.dk>, Hector Oron <zumbi@debian.org>
Last-Update: <2010-02-20>

--- menu-cache-0.3.1.orig/aclocal.m4
+++ menu-cache-0.3.1/aclocal.m4
@@ -4282,6 +4282,7 @@ dnl Note also adjust exclude_expsyms for
     fi
     supports_anon_versioning=no
     case `$LD -v 2>&1` in
+      *GNU\ gold*) supports_anon_versioning=yes ;;
       *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
--- menu-cache-0.3.1.orig/configure
+++ menu-cache-0.3.1/configure
@@ -8642,6 +8642,7 @@ $as_echo_n "checking whether the $compil
     fi
     supports_anon_versioning=no
     case `$LD -v 2>&1` in
+      *GNU\ gold*) supports_anon_versioning=yes ;;
       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
