From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25125 invoked by alias); 19 Apr 2005 07:58:28 -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 25088 invoked from network); 19 Apr 2005 07:58:23 -0000 Received: from unknown (HELO netlx050.vf.utwente.nl) (192.87.17.19) by sourceware.org with SMTP; 19 Apr 2005 07:58:23 -0000 Received: from weblx058.utsp.utwente.nl (weblx058.utsp.utwente.nl [130.89.1.228]) by netlx050.vf.utwente.nl (8.11.7/HKD) with SMTP id j3J7wFt22984; Tue, 19 Apr 2005 09:58:15 +0200 From: "M.M. Kettenis" Subject: Re: [RFC] Use HAVE_LONGLONG instead of __GNUC__ to check for long long support. MIME-Version: 1.0 Date: Tue, 19 Apr 2005 07:58:00 -0000 Message-Id: <7320552869539569@webhare> X-WebHare-Origin: WebHare Organizer To: Manoj Iyer , gdb-patches@sources.redhat.com In-reply-to: Content-Description: Message body Content-Type: text/plain; charset="US-ASCII"; format=flowed Content-Transfer-Encoding: Quoted-Printable X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-MailScanner-From: m.m.kettenis@alumnus.utwente.nl X-SW-Source: 2005-04/txt/msg00216.txt.bz2 Manoj Iyer wrote: > > Daniel, > > Used autoheader to generate the config.in file, but it does not look > pretty, also, removed the comments that you did not like. > > 2005-04-18 Manoj Iyer > * configure.ac: Added check for long long. > * config.in: Regenerated. > * configure: Regenerated. > * words.h: Modified logic to check for HAVE_LONGLONG instead of > __GNUC__, added config.h header file. Please use AC_CHECK_TYPES, it should take care of defining HAVE_LONG_LONG (note the extra underscore) and the comment all by itself. > --- src/sim/ppc/configure.ac 2005-01-12 10:23:21.000000000 -0600 > +++ new/src/sim/ppc/configure.ac 2005-04-18 18:34:10.000000000 -0500 > @@ -681,6 +681,9 @@ if test $ac_cv_struct_statfs =3D yes; then > [Define if struct statfs is defined in ]) > fi > > +AC_CHECK_TYPE(long long, > + AC_DEFINE(HAVE_LONGLONG, 1, [Define if compiler supports long long.])= ,) > + > dnl Figure out if /dev/zero exists or not > sim_devzero=3D"" > AC_MSG_CHECKING(for /dev/zero)