This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Use HAVE_LONGLONG instead of __GNUC__ to check for long long support.
- From: Daniel Jacobowitz <drow at false dot org>
- To: "M.M. Kettenis" <m dot m dot kettenis at alumnus dot utwente dot nl>
- Cc: Manoj Iyer <manjo at austin dot ibm dot com>, gdb-patches at sources dot redhat dot com
- Date: Tue, 19 Apr 2005 08:32:49 -0400
- Subject: Re: [RFC] Use HAVE_LONGLONG instead of __GNUC__ to check for long long support.
- References: <Pine.LNX.4.58.0504181843310.29047@lazy> <7320552869539569@webhare>
On Tue, Apr 19, 2005 at 07:58:15AM +0000, M.M. Kettenis wrote:
> Manoj Iyer <manjo@austin.ibm.com> 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 <manjo@austin.ibm.com>
> > * 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.
Wasn't there some problem with AC_CHECK_TYPES? I remember there used
to be a comment in gdb/configure.in saying to use it, but it was
removed and the manual check is still there.
--
Daniel Jacobowitz
CodeSourcery, LLC