[ruby-cvs:69676] normal:r62495 (trunk): tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros

normal at ruby-lang.org normal at ruby-lang.org
Tue Feb 20 17:44:38 JST 2018


normal	2018-02-20 17:44:38 +0900 (Tue, 20 Feb 2018)

  New Revision: 62495

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62495

  Log:
    tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
    
    AC_CHECK_TYPE (no "S") does not define HAVE_* macros for types,
    so use AC_CHECK_TYPES (with "S") instead.  Without this,
    HAVE_CLOCKID_T goes undefined and I can't USE_MONOTONIC_COND in
    thread_pthread.c :<
    
    Fixes: r62446 (git 673ae0e3c9cefd693ef82f19a6761e147fc6de93)
    ("configure.ac: check clockid_t with necessary headers")
    
    * tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
      [ruby-core:85659] [Bug #14494]

  Modified files:
    trunk/tool/m4/ruby_replace_type.m4


More information about the ruby-cvs mailing list