Changeset 3281
- Timestamp:
- Feb 6, 2013 11:04:50 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cf/rpLangRuby.m4
r3277 r3281 90 90 CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}" 91 91 CXXFLAGS="${CPPFLAGS}" 92 AC_CHECK_HEADERS(ruby.h,,AC_MSG_ERROR( 93 could not find ruby.h (check config.log)),[ ]) 94 AC_CHECK_HEADERS(node.h,,,[ 92 AC_CHECK_HEADERS(ruby.h) 93 if test "x${ac_cv_header_ruby_h}" != "x" ; then 94 HAVE_RUBY_H=yes 95 AC_CHECK_HEADERS(node.h,,,[ 95 96 #include <ruby.h> 96 ])97 AC_CHECK_HEADERS(ruby/node.h,98 99 97 ]) 98 AC_CHECK_HEADERS(ruby/node.h, 99 [ AC_DEFINE(REALLY_HAVE_RUBY_NODE_H, [], 100 [ Define this macro to use ruby/node.h ]) ], 100 101 ,[ 102 #include <ruby.h> 103 ]) 104 AC_CHECK_HEADERS(version.h,,,[ 101 105 #include <ruby.h> 102 ]) 103 AC_CHECK_HEADERS(version.h,,,[ 104 #include <ruby.h> 105 ]) 106 AC_CHECK_HEADERS(env.h,,,[ 107 #include <ruby.h> 108 ]) 106 ]) 107 AC_CHECK_HEADERS(env.h,,,[ 108 #include <ruby.h> 109 ]) 110 else 111 HAVE_RUBY_H=no 112 fi 113 AC_SUBST(HAVE_RUBY_H) 109 114 110 115 CPPFLAGS="${CPPFLAGS_save}" -
trunk/configure
r3277 r3281 691 691 build_cpu 692 692 build 693 HAVE_RUBY_H 693 694 RUBY_SITELIBDIR 694 695 RUBY_LIBRUBYARG_STATIC … … 8924 8925 for ac_header in ruby.h 8925 8926 do : 8926 ac_fn_cxx_check_header_compile "$LINENO" "ruby.h" "ac_cv_header_ruby_h" " 8927 " 8927 ac_fn_cxx_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default" 8928 8928 if test "x$ac_cv_header_ruby_h" = xyes; then : 8929 8929 cat >>confdefs.h <<_ACEOF … … 8931 8931 _ACEOF 8932 8932 8933 else 8934 as_fn_error $? "could not find ruby.h (check config.log)" "$LINENO" 5 8935 fi 8936 8937 done 8938 8939 for ac_header in node.h8933 fi 8934 8935 done 8936 8937 if test "x${ac_cv_header_ruby_h}" != "x" ; then 8938 HAVE_RUBY_H=yes 8939 for ac_header in node.h 8940 8940 do : 8941 8941 ac_fn_cxx_check_header_compile "$LINENO" "node.h" "ac_cv_header_node_h" " … … 8952 8952 done 8953 8953 8954 for ac_header in ruby/node.h8954 for ac_header in ruby/node.h 8955 8955 do : 8956 8956 ac_fn_cxx_check_header_compile "$LINENO" "ruby/node.h" "ac_cv_header_ruby_node_h" " 8957 #include <ruby.h>8957 #include <ruby.h> 8958 8958 8959 8959 " … … 8969 8969 done 8970 8970 8971 for ac_header in version.h8971 for ac_header in version.h 8972 8972 do : 8973 8973 ac_fn_cxx_check_header_compile "$LINENO" "version.h" "ac_cv_header_version_h" " … … 8984 8984 done 8985 8985 8986 for ac_header in env.h8986 for ac_header in env.h 8987 8987 do : 8988 8988 ac_fn_cxx_check_header_compile "$LINENO" "env.h" "ac_cv_header_env_h" " 8989 #include <ruby.h>8989 #include <ruby.h> 8990 8990 8991 8991 " … … 8998 8998 8999 8999 done 9000 9001 else 9002 HAVE_RUBY_H=no 9003 fi 9000 9004 9001 9005 -
trunk/gui/scripts/sidebarframe.tcl
r3177 r3281 214 214 Background 215 215 } 216 pack $itk_component(tabs) -side top -expand yes -anchor e -padx {4 0} -fill y 216 pack $itk_component(tabs) -side top -expand yes -anchor e -padx {4 0} \ 217 -fill y 217 218 218 219 eval itk_initialize $args -
trunk/lang/Makefile.in
r3277 r3281 15 15 CC = @CC@ 16 16 CXX = @CXX@ 17 RUBY_CPPFLAGS = @RUBY_CPPFLAGS@ 17 HAVE_RUBY_H = @HAVE_RUBY_H@ 18 RUBY = @RUBY@ 18 19 PERL = @PERL@ 19 20 TCLSH = @TCLSH@ … … 33 34 LANGS += python 34 35 endif 35 if neq ($(RUBY_CPP_FLAGS),)36 ifeq ($(HAVE_RUBY_H),yes) 36 37 LANGS += ruby 37 38 endif
Note: See TracChangeset
for help on using the changeset viewer.