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

ruby-changes:23981

From: naruse <ko1@a...>
Date: Mon, 11 Jun 2012 20:27:18 +0900 (JST)
Subject: [ruby-changes:23981] naruse:r36032 (trunk): * configure.in: on checking libexecinfo, don't specify /use/local.

naruse	2012-06-11 20:27:08 +0900 (Mon, 11 Jun 2012)

  New Revision: 36032

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

  Log:
    * configure.in: on checking libexecinfo, don't specify /use/local.
      On FreeBSD people must specify --with-opt-dir or --with-execinfo-dir.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 36031)
+++ configure.in	(revision 36032)
@@ -2093,17 +2093,9 @@
 fi
 
 AS_CASE(["$target_cpu-$target_os"],
-[*-freebsd*], [
-    AC_CHECK_HEADERS([/usr/local/include/execinfo.h])
-    if test "x$ac_cv_header__usr_local_include_execinfo_h" = xyes; then :
-	RUBY_APPEND_OPTION(CPPFLAGS, -I/usr/local/include)
-	LDFLAGS="${LDFLAGS:+$LDFLAGS }-L/usr/local/lib"
-	DLDFLAGS="${DLDFLAGS:+$DLDFLAGS }-L/usr/local/lib"
-	AC_CHECK_LIB([execinfo], [backtrace])
-    fi],
-[x86_64-netbsd*], [
+[*-freebsd*|x86_64-netbsd*], [
     AC_CHECK_HEADERS([execinfo.h])
-	if test "x$ac_cv_header_execinfo_h" = xyes; then :
+    if test "x$ac_cv_header_execinfo_h" = xyes; then
 	AC_CHECK_LIB([execinfo], [backtrace])
     fi])
 AC_CHECK_FUNCS(backtrace)
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36031)
+++ ChangeLog	(revision 36032)
@@ -1,3 +1,8 @@
+Mon Jun 11 18:49:52 2012  NARUSE, Yui  <naruse@r...>
+
+	* configure.in: on checking libexecinfo, don't specify /use/local.
+	  On FreeBSD people must specify --with-opt-dir or --with-execinfo-dir.
+
 Mon Jun 11 12:14:37 2012  Koichi Sasada  <ko1@a...>
 
 	* vm_core.h: remove lfp (local frame pointer) and rename

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

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