Checkout
stsp
committed
on 03 Feb 09
* build/ac-macros/swig.m4
(SVN_FIND_SWIG): Do not quote $rbconfig_sitedir inside a quoted
and backtick'ed invocation of sed.

This d… Show more
* build/ac-macros/swig.m4

 (SVN_FIND_SWIG): Do not quote $rbconfig_sitedir inside a quoted

  and backtick'ed invocation of sed.

  This does not work on OpenBSD, where neither m4 nor /bin/sh

  swallow the extra quotes around $rbconfig_sitedir, causing

  sed to see " instead of s as the command character.

  As a result of this problem, ruby bindings where installing

  stuff in wacky places.

  If this breaks things on other platforms, we need a better fix.

  The only problem I could imagine is people using spaces in their

  ruby install path, which is a silly thing to do given that these

  paths are often used by configure scripts written in /bin/sh.

Show less