Message ID | alpine.BSF.2.02.1405221846090.39961@arjuna.pair.com |
---|---|
State | New |
Headers | show |
On Fri, May 23, 2014 at 5:23 AM, Hans-Peter Nilsson <hp@bitrange.com> wrote: > I'm not defending the existing solution, I was observing your > patch breaking it. The obvious fix is adjustments by means of > this existing machinery; done. I suggest breakages be fixed > without shooting messengers or requiring jumping through even > stupider hoops in order to fix an obvious immediate breakage. > > If you take issue with that machinery, that's a separate issue > which shouldn't be holding up fixing a breakage. Sorry, I didn't mean to imply that any of this is your fault, on the contrary I'm happy to have prompt reports from targets I don't use myself. Thanks for fixing it!
Index: libgfortran/configure.ac =================================================================== --- libgfortran/configure.ac (revision 210821) +++ libgfortran/configure.ac (working copy) @@ -273,6 +273,8 @@ if test "x${with_newlib}" = "xyes"; then AC_DEFINE(HAVE_VSNPRINTF, 1, [Define if you have vsnprintf.]) AC_DEFINE(HAVE_LOCALTIME_R, 1, [Define if you have localtime_r.]) AC_DEFINE(HAVE_GMTIME_R, 1, [Define if you have gmtime_r.]) + AC_DEFINE(HAVE_STRNLEN, 1, [Define if you have strnlen.]) + AC_DEFINE(HAVE_STRNDUP, 1, [Define if you have strndup.]) # At some point, we should differentiate between architectures # like x86, which have long double versions, and alpha/powerpc/etc.,