ruby-changes:26595
From: nobu <ko1@a...>
Date: Sat, 29 Dec 2012 10:11:40 +0900 (JST)
Subject: [ruby-changes:26595] nobu:r38645 (trunk): configure.in: AC_CHECK_HEADERS
nobu 2012-12-29 10:10:41 +0900 (Sat, 29 Dec 2012) New Revision: 38645 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38645 Log: configure.in: AC_CHECK_HEADERS * configure.in (crt_externs.h): use standard macro AC_CHECK_HEADERS. Modified files: trunk/ChangeLog trunk/configure.in trunk/missing/crt_externs.h Index: configure.in =================================================================== --- configure.in (revision 38644) +++ configure.in (revision 38645) @@ -1220,12 +1220,7 @@ main() https://github.com/ruby/ruby/blob/trunk/configure.in#L1220 LINK_SO="$LINK_SO $POSTLINK" fi - AC_CACHE_CHECK(whether crt_externs.h is present for extern macro, rb_cv_crt_externs, - [AC_TRY_COMPILE([ #include <crt_externs.h> ], [return 0;], - rb_cv_crt_externs=yes, rb_cv_crt_externs=no)]) - if test "$rb_cv_crt_externs" = yes; then - AC_DEFINE(HAVE_CRT_EXTERNS_H) - fi + AC_CHECK_HEADERS(crt_externs.h) ], [hpux*], [ LIBS="-lm $LIBS" ac_cv_c_inline=no], Index: ChangeLog =================================================================== --- ChangeLog (revision 38644) +++ ChangeLog (revision 38645) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Dec 29 10:10:39 2012 Nobuyoshi Nakada <nobu@r...> + + * configure.in (crt_externs.h): use standard macro AC_CHECK_HEADERS. + Fri Dec 28 23:12:44 2012 Charlie Somerville <charlie@c...> * configure.in: check for the whether crt_externs.h is present when compiling Property changes on: missing/crt_externs.h ___________________________________________________________________ Added: svn:eol-style + LF -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/