Changeset 4816 for libcaca


Ignore:
Timestamp:
Jun 13, 2012, 1:32:35 PM (6 years ago)
Author:
Sam Hocevar
Message:

build: use RbConfig? instead of Config in the Ruby checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r4812 r4816  
    11
    2 AC_INIT(libcaca, 0.99.beta18)
     2AC_INIT(libcaca, 0.99.beta19pre)
    33AC_PREREQ(2.50)
    44AC_CONFIG_AUX_DIR(.auto)
     
    463463  AC_PATH_PROG(RUBY, ruby, no)
    464464  if test "${RUBY}" != "no"; then
    465     RUBY_CFLAGS="-I$(ruby -r rbconfig -e 'print Config::CONFIG@<:@"archdir"@:>@')"
    466     RUBY_LIBS="-L$(ruby -r rbconfig -e 'print Config::CONFIG@<:@"libdir"@:>@') -l$(ruby -r rbconfig -e 'print Config::CONFIG@<:@"RUBY_SO_NAME"@:>@')"
    467     RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"sitearchdir"@:>@'`
    468     RUBY_SITELIBDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"sitelibdir"@:>@'`
     465    RUBY_CFLAGS="-I$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"archdir"@:>@')"
     466    RUBY_LIBS="-L$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"libdir"@:>@') -l$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"RUBY_SO_NAME"@:>@')"
     467    RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"sitearchdir"@:>@'`
     468    RUBY_SITELIBDIR=`ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"sitelibdir"@:>@'`
    469469    AC_SUBST(RUBY_CFLAGS)
    470470    AC_SUBST(RUBY_LIBS)
Note: See TracChangeset for help on using the changeset viewer.