Ignore:
Timestamp:
Apr 1, 2013 2:04:12 PM (9 years ago)
Author:
gah
Message:

put back new ruby configure test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/configure.in

    r3570 r3601  
    207207RP_LANG_JAVA
    208208RP_LANG_R
    209 
    210 RUBY=""
    211 RUBY_DEV_PKG="no"
    212 
    213 AC_ARG_WITH(
    214     [ruby],
    215     [AS_HELP_STRING([--with-ruby=DIR], [location of ruby @<:@default=yes@:>@])],
    216     [],
    217     [with_ruby="yes"])
    218 
    219 if test "${with_ruby}" != "no" ; then
    220   if test "${with_ruby}" = "yes" ; then
    221     AC_PATH_PROG(RUBY, ruby)
    222   else
    223     AC_PATH_PROG(RUBY, ruby, [], [${with_ruby}/bin:${with_ruby}])
    224   fi
    225 fi
    226 
    227 RUBY_VERSION_RV=
    228 RUBY_PLATFORM=
    229 if test "x${RUBY}" != "x" ; then
    230   AX_PROG_RUBY_VERSION
    231   RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2`
    232   RUBY_PLATFORM=`ruby -e 'puts RUBY_PLATFORM'`
    233   ac_mkmf_result=`${RUBY} -r mkmf -e ";" 2>&1`
    234   if test -z "$ac_mkmf_result"; then
    235     HAVE_RUBY_DEVEL="yes"
    236     AX_RUBY_DEV_FLAGS([${RUBY}])
    237   fi
    238 fi
    239 
     209RP_LANG_RUBY
    240210
    241211RP_BASE=`pwd`
Note: See TracChangeset for help on using the changeset viewer.