From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10962 invoked from network); 31 Jan 2001 09:57:41 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 Jan 2001 09:57:41 -0000 Received: (qmail 20946 invoked by alias); 31 Jan 2001 09:57:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13412 Received: (qmail 20925 invoked from network); 31 Jan 2001 09:57:32 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: Subject: RE: Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin ) Date: Wed, 31 Jan 2001 12:57:27 +0300 Message-ID: <001701c08b6c$37ad0a70$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <200101310900.KAA05976@beta.informatik.hu-berlin.de> Importance: Normal > This happened to me, too. Somehow the Makefile calls the recursive > `make's twice when collection the module object files to be put into > stamp-modobjs. Argh ... Index: Src/mkmakemod.sh =================================================================== RCS file: /cvsroot/zsh/zsh/Src/mkmakemod.sh,v retrieving revision 1.5 diff -u -r1.5 mkmakemod.sh --- Src/mkmakemod.sh 2000/11/26 20:01:03 1.5 +++ Src/mkmakemod.sh 2001/01/31 09:55:19 @@ -132,7 +132,13 @@ $the_subdir/$lastsub/*) ;; $the_subdir/*/*) lastsub=`echo $modfile | sed 's,^'$the_subdir'/,,;s,/[^/]*$,,'` - all_subdirs="$all_subdirs $lastsub" + case "$all_subdirs" in + *" $lastsub"* ) ;; + *" $lastsub "* ) ;; + * ) + all_subdirs="$all_subdirs $lastsub" + ;; + esac ;; $the_subdir/*) mddname=`echo $modfile | sed 's,^.*/,,;s,\.mdd$,,'`