This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] configure: new variable HAVE_UINTPTR_T
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 26 Feb 2003 09:59:35 -0500
- Subject: Re: [rfa] configure: new variable HAVE_UINTPTR_T
- References: <200302261445.h1QEjkq25333@duracef.shout.net>
On Wed, Feb 26, 2003 at 08:45:46AM -0600, Michael Elizabeth Chastain wrote:
> Draft #3. Following Daniel J's advice, I use AC_CACHE_CHECK and the
> multi-argument form of AC_DEFINE. I re-tested with and without
> uintptr_t in /usr/include/stdint.h to hit both paths.
>
> I also learned that config.in is a regenerated file, not a hand-edited
> file. And by using multi-argument AC_DEFINE I dropped the change to
>
> I don't show diffs for regenerated 'configure' and 'config.in'. I
> regenerated with stock autoconf 2.13 and autoheader 2.13 from
> ftp.gnu.org.
>
> Again, this is so that the gdb build can do something better when
> it needs uintptr_t and doesn't have it (pr gdb/660). My notion of
> 'something better' is going to be to spit out a better error message,
> not to actually work. Somebody has to have a really old libc
> (more than 3 years old) to get this message, but with millions of
> users, some people do.
>
> OK to commit?
Yes, thank you.
> 2003-02-26 Michael Chastain <mec at shout dot net>
>
> * configure.in: New variable HAVE_UINTPTR_T.
> * configure, config.in: Regenerated.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer