From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4591 invoked by alias); 14 Jul 2003 19:16:04 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4578 invoked from network); 14 Jul 2003 19:16:01 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (66.187.233.200) by sources.redhat.com with SMTP; 14 Jul 2003 19:16:01 -0000 Received: from free.redhat.lsd.ic.unicamp.br (aoliva.cipe.redhat.com [10.0.1.10]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id h6EJFvK15341 for ; Mon, 14 Jul 2003 15:15:57 -0400 Received: from free.redhat.lsd.ic.unicamp.br (free.redhat.lsd.ic.unicamp.br [127.0.0.1]) by free.redhat.lsd.ic.unicamp.br (8.12.9/8.12.9) with ESMTP id h6EJFupJ015540 for ; Mon, 14 Jul 2003 16:15:56 -0300 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.12.9/8.12.9/Submit) id h6EJFuXL015536; Mon, 14 Jul 2003 16:15:56 -0300 To: gdb-patches@sources.redhat.com Subject: patch for expect to build on Cygwin From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Mon, 14 Jul 2003 19:16:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-SW-Source: 2003-07/txt/msg00273.txt.bz2 --=-=-= Content-length: 757 I'm not sure this is the best place to post patches for expect, but we seem to have other s.r.c-local changes similar to this, and I understand we have expect only because it's used by dejagnu, and dejagnu is regarded as part of gdb in s.r.c, so I'm only posting it here. The problem was that, on Cygwin, expect/configure couldn't find the tk config file in the build tree because it wouldn't search tk/win and tk/unix didn't exist, and expect/Dbgconfigure wouldn't even find tcl/unix in the build tree, since it hadn't been updated after the patch that added that code to aclocal.m4. (Ab)using my powers of configury maintainer (in the top level), I'm going ahead and checking this in. Please let me know in case I shouldn't do things like this again. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=expect-cygwin.patch Content-length: 746 Index: expect/ChangeLog from Alexandre Oliva * aclocal.m4 (CY_AC_PATH_TKCONFIG): Look for it in .../tk/win. * configure: Rebuilt. * Dbgconfigure: Rebuilt to pick up 2002-07-30's change. Index: expect/aclocal.m4 =================================================================== RCS file: /cvs/src/src/expect/aclocal.m4,v retrieving revision 1.3 diff -u -p -r1.3 aclocal.m4 --- expect/aclocal.m4 30 Jul 2002 20:24:22 -0000 1.3 +++ expect/aclocal.m4 14 Jul 2003 19:07:21 -0000 @@ -463,6 +463,10 @@ changequote(,) ac_cv_c_tkconfig=`(cd $i/unix; pwd)` break fi + if test -f "$i/win/tkConfig.sh" ; then + ac_cv_c_tkconfig=`(cd $i/win; pwd)` + break + fi done fi changequote([,]) --=-=-= Content-length: 289 -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist Professional serial bug killer --=-=-=--