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. missing stdint.h (PR 14325)


+ # $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...


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

Paolo


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