Ticket #323: xapian-bindings-1.0.10-ruby-1.9-hdrdir-2.patch

File xapian-bindings-1.0.10-ruby-1.9-hdrdir-2.patch, 503 bytes (added by cheba, 15 years ago)

Ruby 1.9 knows where its header located

  • configure.ac

    old new  
    722722      AC_MSG_RESULT([$version])
    723723      AC_ARG_VAR(RUBY_INC, [Directory where ruby.h can be found])
    724724      if test -z "$RUBY_INC" ; then
     725        RUBY_INC=`$RUBY -rrbconfig -e 'puts Config::CONFIG[["rubyhdrdir"]]'`
     726      fi
     727      if test -z "$RUBY_INC" ; then
    725728        RUBY_INC=`$RUBY -rrbconfig -e 'puts Config::CONFIG[["archdir"]]'`
    726729      fi
    727730      AC_SUBST(RUBY_INC)