Hi,

Der visibility-check vom gwenhywfar-configureskript checkt auf den 
executablenamen. Das führt bspw. unter gentoo dazu dass das configureskript 
der meinung ist ich hätte keinen gcc (die executable heißt hier 
x86_64-pc-linux-gnu-gcc).

Außerdem ersetz ich noch das "gcc --version"-foo durch -dumpversion, das macht 
das selbe und sieht viel einfacher aus ;-)

-- 
Hanno Böck              Blog:           http://www.hboeck.de/
GPG: 3DBD3B20           Jabber/Mail:    ha...@hboeck.de
http://ausdenaugenausdemsinn.de - Kein Sicherheitsrabatt für CO2-Speicher
http://tinyurl.com/dceu73 - Internetzensur stoppen!

http://schokokeks.org - professional webhosting
--- gwenhywfar-3.8.1/configure.ac	2009-05-09 18:08:48.000000000 +0200
+++ gwenhywfar-3.8.1-1/configure.ac	2009-05-12 10:33:00.000000000 +0200
@@ -844,11 +844,11 @@
 if test "$enable_visibility" = "yes"; then
   AC_MSG_CHECKING(if symbol visibility is supported)
   visibility_cflags=""
-  case `basename $CC` in 
+  case `$CC --version|head -n1|cut -f1 -d " "` in 
     gcc*)
        dnl Determine version number (watch out: the outside square
        dnl parenteses are vitally important here!)
-       gccversion=["` ${CC} --version | head -1 | ${SED} 's/.*\([0-9]\.[0-9]\.[0-9]*\).*/\1/' `"]
+       gccversion=["` ${CC} -dumpversion `"]
        case $gccversion in
          4.*)
            # Activate -fvisibility=hidden only for explicit 4.x gcc

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to