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

ruby-changes:25663

From: nobu <ko1@a...>
Date: Mon, 19 Nov 2012 16:18:05 +0900 (JST)
Subject: [ruby-changes:25663] nobu:r37720 (trunk): configure.in: no -lelf

nobu	2012-11-19 16:17:56 +0900 (Mon, 19 Nov 2012)

  New Revision: 37720

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

  Log:
    configure.in: no -lelf
    
    * configure.in (LIBS): libelf is need on only FreeBSD.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 37719)
+++ configure.in	(revision 37720)
@@ -2758,7 +2758,7 @@
         AC_MSG_ERROR([--enable-dtrace, however, cross compiling])
     else
         RUBY_DTRACE_POSTPROCESS()
-        if test "$rb_cv_prog_dtrace_g" = 'yes'; then 
+        if test "$rb_cv_prog_dtrace_g" = 'yes'; then
             RUBY_DTRACE_BSD_BROKEN([AC_MSG_ERROR([--enable-dtrace, however, USDT is broken])], [])
             DTRACE_OBJ='probes.$(OBJEXT)'
             DTRACE_GLOMMED_OBJ='ruby-glommed.$(OBJEXT)'
@@ -2774,10 +2774,10 @@
 AC_SUBST(DTRACE_GLOMMED_OBJ)
 AC_SUBST(LIBRUBY_A_OBJS)
 
-if test "${enable_dtrace}" = "yes"; then
+AS_CASE("${enable_dtrace}:${target_os}", [yes:freebsd*], [
     # FreeBSD's dtrace requires libelf
     LIBS="-lelf $LIBS"
-fi
+])
 
 }
 { # build section
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37719)
+++ ChangeLog	(revision 37720)
@@ -1,3 +1,7 @@
+Mon Nov 19 16:17:53 2012  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (LIBS): libelf is need on only FreeBSD.
+
 Mon Nov 19 16:08:10 2012  Nobuyoshi Nakada  <nobu@r...>
 
 	* common.mk (RUBYLIB): purelib option in runruby.rb is deprecated

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

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