From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5090 invoked by alias); 24 Dec 2003 23:03:53 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5076 invoked from network); 24 Dec 2003 23:03:51 -0000 Received: from unknown (HELO localhost.localdomain) (69.0.103.46) by sources.redhat.com with SMTP; 24 Dec 2003 23:03:51 -0000 Received: from localhost.localdomain (bender [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id hBON3opn011493 for ; Wed, 24 Dec 2003 18:03:50 -0500 Received: (from ron@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id hBON3olW011491 for gdb@sources.redhat.com; Wed, 24 Dec 2003 18:03:50 -0500 Date: Wed, 24 Dec 2003 23:03:00 -0000 From: Ron McCall To: GDB Mailing List Subject: Problem with readline's configure script? Message-ID: <20031224230350.GA11478@bender> Mail-Followup-To: GDB Mailing List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2003-12/txt/msg00265.txt.bz2 Hi, I was trying to build GDB 6.0 on Solaris 9 and ran into some errors while configuring in gdb. For example: ./configure: $gcc: not found I tracked the problem down to readline's configure script. After configuring in mmalloc, lines in config.cache look like this: ac_cv_prog_CC=${ac_cv_prog_CC='gcc'} ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'} After configuring in readline, lines in config.cache look like this: ac_cv_prog_CC=${ac_cv_prog_CC=gcc} ac_cv_prog_CPP=${ac_cv_prog_CPP=$'gcc -E'} Then, after configuring in sim, lines in config.cache look like this: ac_cv_prog_CC=${ac_cv_prog_CC='gcc'} ac_cv_prog_CPP=${ac_cv_prog_CPP='$gcc -E'} Several other lines besides CPP are affected in this way at this point. It seems that readline's different quoting scheme confuses the other configure scripts. I dumped the environment in readline's configure script immediately prior to it updating config.cache and found that: CPP=$'gcc -E' I did the same thing in mmalloc's configure script and found that: CPP=gcc -E So, it seems that the new quoting scheme switch happens earlier in readline's configure script than where it updates config.cache. I started trying to trace the processing of config.cache after it is read in but got lost pretty quickly. Does anyone else happen to know where the problem might be and how to fix it? In case it matters, I used the following top-level configure options: ./configure --disable-nls --with-gnu-ld Please let me know if you need any more information. Thanks! Ron McCall