--- configure.org	Sat Oct 16 19:23:14 2004
+++ configure	Sat Oct 16 19:23:30 2004
@@ -6513,7 +6513,7 @@
       ;;
 
     darwin* | rhapsody*)
-    if test "$GXX" = yes ; then
+    if test "$GCC" = yes ; then
       archive_cmds_need_lc=no
       case "$host_os" in
       rhapsody* | darwin1.[012])
