Patch configure to DTRT with the optional ruby support

Submitted by:	zlonix
Approved by:	hop (code maintainer)
This commit is contained in:
Josh Paetzel 2014-01-20 16:28:58 +00:00
parent fd0a7468f1
commit 1a2a8bf424
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340406

View File

@ -0,0 +1,19 @@
*** configure.orig 2013-09-25 01:07:24.000000000 +0400
--- configure 2014-01-19 11:11:54.000000000 +0400
***************
*** 6262,6268 ****
fi
# Check whether --with-ruby or --without-ruby was given.
! if test "${with_ruby+set}" = set; then
withval="$with_ruby"
rubyexe=$withval
--- 6262,6268 ----
fi
# Check whether --with-ruby or --without-ruby was given.
! if test "${with_ruby+set}" = set -a "x$with_ruby" != "xyes"; then
withval="$with_ruby"
rubyexe=$withval