X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Tue, 16 Apr 2002 09:04:54 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Laurynas Biveinis cc: djgpp-workers AT delorie DOT com Subject: Re: DJGPP-specific (?) bug in Autoconf 2.50 In-Reply-To: <172511444808.20020416221124@softhome.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 16 Apr 2002, Laurynas Biveinis wrote: > AC_PROG_CC > AC_PROG_CXX > > AC_OUTPUT > --- > will produce following output: > --- > [...] > checking for gcc... gcc > checking for C compiler default output... a.exe > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for executable suffix... .exe > checking for object suffix... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for g++... no > [...] > checking for xlC... no > checking whether we are using the GNU C++ compiler... no > checking whether g++ accepts -g... no > configure: creating ./config.status > --- > Huh? It thinks that C++ compiler is available. Perhaps it knows that gcc can compile C++ programs? But I'm not even sure it thinks a C++ compiler is available--where did you see any evidence that it did? If it thinks a C++ compiler is not available, perhaps that's because it doesn't know about gxx and gpp? Caveat: I don't know much about Autoconf, and I didn't try to run the script you posted.