This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Getting glibfortran to build on newlib targets aka. missingstdint.h (PR 14325)


On Mon, 8 Nov 2004, Paolo Bonzini wrote:

> > + # $1=typename, $2=alt1, $3=alt2, $4=cachevarsizename, $5=sizeof, $6=msgfrag.
> > + AC_DEFUN([LIBGFOR_INTTYPE], [
> > + 	AC_CHECK_TYPES([$1],,
> > + 		[AC_CHECK_TYPES([$2],
> > + 		        [ac_cv_gforlib_$1=$2],
> > + 			[AC_CHECK_SIZEOF([$3])
> > + 			 if test "$$4" != $5; then
>
> Quite ugly...

You're quite welcome, as long as we move forward.

> I'd rather not have the fourth parameter and replace $$4 with
> $ac_cv_sizeof_[]AS_TR_CPP([$3])

Good suggestion.  I'd like to hear from someone with approval
rights whether the whole idea of autoconfing this is ok with
them.

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]