I tried Configure with -Dusethreads but no -Dcc=gcc

The configuration found gcc but lost the ccflags set by usethreads.cbu

The simple solution is to -Dcc=gcc with -Dusethreads

Here is a patch to warn the user.

Robin

--- Configure.orig      Thu Mar 21 12:19:23 2002
+++ Configure  
@@ -2387,7 +2387,13 @@
                     fi
                 fi  
                 case "$ans" in
-                [yY]*) cc=gcc; ccname=gcc; ccflags=''; despair=no ;;
+                [yY]*) cc=gcc; ccname=gcc; ccflags=''; despair=no;
+                       if $test -f usethreads.cbu; then
+                           $cat >&4 <<EOM 
+However, any setting of the C compiler flags (e.g. for thread support) has been lost.
+It may be necessary to pass -Dcc=gcc to Configure (together with e.g. -Dusethreads).
+EOM
+                       fi;;
                 esac
             fi
         fi

-- 
Robin Barker                        | Email: [EMAIL PROTECTED]
CMSC, Building 10,                  | Phone: +44 (0) 20 8943 7090
National Physical Laboratory,       | Fax:   +44 (0) 20 8977 7091
Teddington, Middlesex, UK. TW11 OLW | WWW:   http://www.npl.co.uk

Reply via email to