From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23558 invoked by alias); 21 Jun 2004 22:59:53 -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 23534 invoked from network); 21 Jun 2004 22:59:52 -0000 Received: from unknown (HELO cgf.cx) (66.30.22.40) by sourceware.org with SMTP; 21 Jun 2004 22:59:52 -0000 Received: by cgf.cx (Postfix, from userid 201) id 7E9AB4005BF; Mon, 21 Jun 2004 18:59:52 -0400 (EDT) Date: Mon, 21 Jun 2004 22:59:00 -0000 From: Christopher Faylor To: gdb-patches@sourceware.org, binutils@sourceware.org, gcc-patches@gcc.gnu.org Subject: [RFA] minor top-level configure.in fix Message-ID: <20040621225952.GA9948@coe.casa.cgf.cx> Mail-Followup-To: gdb-patches@sourceware.org, binutils@sourceware.org, gcc-patches@gcc.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2004-06/txt/msg00488.txt.bz2 I think this qualifies as an obvious fix. Ok to checkin? cgf 2004-06-21 Christopher Faylor * configure.in: Check for srcdir/winsup rather than build directory winsup. * configure: Regenerate. Index: configure.in =================================================================== RCS file: /cvs/uberbaum/configure.in,v retrieving revision 1.296 diff -d -u -p -r1.296 configure.in --- configure.in 17 Jun 2004 19:54:25 -0000 1.296 +++ configure.in 21 Jun 2004 22:58:48 -0000 @@ -586,7 +586,7 @@ case "${target}" in target_configdirs="$target_configdirs target-libtermcap target-winsup" noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}" # always build newlib if winsup directory is present. - if test -d winsup + if test -d "$srcdir/winsup" then skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` else Index: configure =================================================================== RCS file: /cvs/uberbaum/configure,v retrieving revision 1.158 diff -d -u -p -r1.158 configure --- configure 17 Jun 2004 19:54:25 -0000 1.158 +++ configure 21 Jun 2004 22:58:49 -0000 @@ -1366,7 +1366,7 @@ case "${target}" in target_configdirs="$target_configdirs target-libtermcap target-winsup" noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}" # always build newlib if winsup directory is present. - if test -d winsup + if test -d $srcdir/winsup then skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` else