From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4600 invoked by alias); 10 Mar 2006 02:33:03 -0000 Received: (qmail 4590 invoked by uid 22791); 10 Mar 2006 02:33:02 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 10 Mar 2006 02:32:59 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FHXQy-0002jG-3G; Thu, 09 Mar 2006 21:32:52 -0500 Date: Fri, 10 Mar 2006 12:50:00 -0000 From: Daniel Jacobowitz To: Randolph Chung Cc: Mark Kettenis , gdb-patches@sources.redhat.com, dave@hiauly1.hia.nrc.ca Subject: Re: [hpux] Fix build problem on hpux Message-ID: <20060310023252.GA10422@nevyn.them.org> Mail-Followup-To: Randolph Chung , Mark Kettenis , gdb-patches@sources.redhat.com, dave@hiauly1.hia.nrc.ca References: <44104BCC.8060700@tausq.org> <200603091908.k29J8E67001447@elgar.sibelius.xs4all.nl> <4410C609.5090207@tausq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4410C609.5090207@tausq.org> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00157.txt.bz2 On Fri, Mar 10, 2006 at 08:19:21AM +0800, Randolph Chung wrote: > 2005-03-09 Randolph Chung > > * hpread.c (hpread_start_psymtab): Remove hpread_psymtab_to_symtab > declaration. > * acinclude.m4 (gdb_AC_HPUX): Define. > * config.in (_XOPEN_SOURCE_EXTENDED): Define if needed. > * configure.ac: Call gdb_AC_HPUX. > * configure: Regenerate. config.in is a generated file, as the comment at the top says. > +AC_DEFUN(gdb_AC_HPUX, > +[AC_BEFORE([$0], [AC_TRY_COMPILE])dnl > +AC_BEFORE([$0], [AC_TRY_RUN])dnl > +AC_MSG_CHECKING(for HPUX) > +AC_EGREP_CPP(yes, > +[#ifdef _HPUX_SOURCE > + yes > +#endif > +], [AC_MSG_RESULT(yes); AC_DEFINE(_XOPEN_SOURCE_EXTENDED)], AC_MSG_RESULT(no)) > +]) > + What does the existance of _HPUX_SOURCE have to do with this? -- Daniel Jacobowitz CodeSourcery