$NetBSD: patch-af,v 1.3 2006/03/04 06:34:13 wiz Exp $

--- configure.orig	2005-12-11 23:46:06.000000000 +0100
+++ configure
@@ -23854,7 +23854,7 @@ echo "$as_me: error: error compiling tes
    { (exit 1); exit 1; }; }
 fi
 
-./libtool --mode=link $CC $CFLAGS $LDFLAGS -rpath /usr/lib conftest.lo -lm -o libconftest.la > /dev/null
+./libtool --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -rpath /usr/lib conftest.lo -lm -o libconftest.la > /dev/null
 if test ! -s .libs/libconftest.a; then
   { { echo "$as_me:$LINENO: error: error, can't even find .a library" >&5
 echo "$as_me: error: error, can't even find .a library" >&2;}
