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

ruby-changes:37477

From: nobu <ko1@a...>
Date: Wed, 11 Feb 2015 07:24:36 +0900 (JST)
Subject: [ruby-changes:37477] nobu:r49558 (trunk): configure.in: iquote /usr/local/include

nobu	2015-02-11 07:24:24 +0900 (Wed, 11 Feb 2015)

  New Revision: 49558

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

  Log:
    configure.in: iquote /usr/local/include
    
    * configure.in (CPPFLAGS): use -iquote for both /usr/include and
      /usr/local/include, so that the order can be overridden later
      with -I options.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 49557)
+++ configure.in	(revision 49558)
@@ -1018,7 +1018,7 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/configure.in#L1018
 		])
 		AS_CASE(["$rb_cv_isystem_usr_include: $CPPFLAGS $LDFLAGS "],
 			[no:* | *" -I/usr/local/include "* | *" -L/usr/local/lib "*], [],
-			[CPPFLAGS="$CPPFLAGS -isystem /usr/include"])
+			[CPPFLAGS="$CPPFLAGS -iquote /usr/include -iquote /usr/local/include"])
 		ac_cv_type_getgroups=gid_t # getgroups() on Rosetta fills garbage
 		ac_cv_lib_crypt_crypt=no
 		ac_cv_func_fdatasync=no # Mac OS X wrongly reports it has fdatasync()

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

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