[前][次][番号順一覧][スレッド一覧]

ruby-changes:45017

From: nobu <ko1@a...>
Date: Fri, 16 Dec 2016 12:30:31 +0900 (JST)
Subject: [ruby-changes:45017] nobu:r57090 (trunk): configure.in: no crypt.h on FreeBSD 12

nobu	2016-12-16 12:30:26 +0900 (Fri, 16 Dec 2016)

  New Revision: 57090

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

  Log:
    configure.in: no crypt.h on FreeBSD 12
    
    * configure.in (crypt.h): crypt_r() was added in FreeBSD 12.0 but
      is declared in unistd.h.  [ruby-core:78664] [Bug #13038]

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 57089)
+++ configure.in	(revision 57090)
@@ -2474,6 +2474,8 @@ main(int argc, char **argv) https://github.com/ruby/ruby/blob/trunk/configure.in#L2474
 ])
 
 AS_IF([test "$ac_cv_func_crypt_r" = yes],
+    [AC_CHECK_HEADERS(crypt.h)])
+AS_IF([test "$ac_cv_func_crypt_r:$ac_cv_header_crypt_h" = yes:yes],
     [AC_CHECK_MEMBERS([struct crypt_data.initialized], [], [],
 		      [AC_INCLUDES_DEFAULT([@%:@include <crypt.h>])])])
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]