From: EGUCHI Osamu Date: 1999-02-05T00:32:20+09:00 Subject: [ruby-dev:4704] Re: strtod() maybe not work strtod() を持ち込んだ えぐち@エスアンドイー です。 >>> On Thu, 4 Feb 1999 21:53:50 +0900, gotoken@math.sci.hokudai.ac.jp (GOTO Kentaro) said: gotoken> ごとけんです gotoken> gotoken> 福嶋さん、大原さん、テストありがとうございます。 gotoken> defined(sun) && defined(sparc) なら parse.y で gotoken> strtod() による double の範囲検査をしないようにしました。 automake.info によると `AM_FUNC_STRTOD' If the `strtod' function is not available, or does not work correctly (like the one on SunOS 5.4), add `strtod.o' to output variable `LIBOBJS'. だそうです。 sunos-4.1.4 もこれに該当すると言う事のようです。 sunos-5.4 がヤバゲだと言う事ですから、このパッチで 方向はあっていると思います。 が、missing/strtod.c を用意すると、より幸せ度があがります。 configure.in でのテストは、まさに ごとけん さんのコードを AC_TRY_RUN() するだけで良いと思います。 えぐち @ 結局知らないうちに m4 を覚えてしまった