* configure.in: on checking libexecinfo, don't specify /use/local.

On FreeBSD people must specify --with-opt-dir or --with-execinfo-dir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-06-11 11:27:08 +00:00
parent 0a71db8a74
commit f658207fe3
2 changed files with 7 additions and 10 deletions

View File

@ -1,3 +1,8 @@
Mon Jun 11 18:49:52 2012 NARUSE, Yui <naruse@ruby-lang.org>
* 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@atdot.net>
* vm_core.h: remove lfp (local frame pointer) and rename

View File

@ -2093,17 +2093,9 @@ main(int argc, char *argv[])
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)