зеркало из https://github.com/github/ruby.git
configure.in: AC_CHECK_HEADERS
* configure.in (crt_externs.h): use standard macro AC_CHECK_HEADERS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
af35f2a61d
Коммит
2eb92b143a
|
@ -1,3 +1,7 @@
|
|||
Sat Dec 29 10:10:39 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (crt_externs.h): use standard macro AC_CHECK_HEADERS.
|
||||
|
||||
Fri Dec 28 23:12:44 2012 Charlie Somerville <charlie@charliesomerville.com>
|
||||
|
||||
* configure.in: check for the whether crt_externs.h is present when compiling
|
||||
|
|
|
@ -1220,12 +1220,7 @@ main()
|
|||
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],
|
||||
|
|
Загрузка…
Ссылка в новой задаче