summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-19 01:04:53 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-19 01:04:53 +0000
commitf567a1a4d9b90ff2e20f4a1238d39dfbf5db6995 (patch)
tree5b4d1848a5ff270df3cba1bda89098399710faa0 /configure.in
parente1ffb8766802e7d2887d90f124747f4a8991cc20 (diff)
* Makefile.in (.SUFFIX): bsdmake needs .SUFFIX is defined before use.
* common.mk: fix path of probes.dmyh. * configure.in: FreeBSD's USDT requires libelf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 2afe75498f..7acb4e95ee 100644
--- a/configure.in
+++ b/configure.in
@@ -1286,6 +1286,10 @@ main()
AC_DEFINE(BROKEN_SETREGID, 1)
ac_cv_sizeof_rlim_t=8],
[freebsd*], [ LIBS="-lm $LIBS"
+ if test "${rb_cv_prog_dtrace_g}" = "yes"; then
+ # FreeBSD's dtrace requires libelf
+ LIBS="-lelf $LIBS"
+ fi
ac_cv_func_getpeername=no
ac_cv_func_getsockname=no
ac_cv_func_shutdown=no