0001-Add-configuration-arch-specific-dir-flag.patch

Vit Ondruch, 02/09/2013 08:41 AM

Download (1.31 KB)

View differences:

configure.in
3177 3177
    eval $var='"$val"'
3178 3178
}
3179 3179

  
3180
AC_ARG_WITH(archdir,
3181
     AS_HELP_STRING([--with-archdir=DIR], [architecture specific ruby libraries [[LIBDIR/RUBY_BASE_NAME/ARCH]]]),
3182
            [rubyarchdir=$withval],
3183
            [rubyarchdir=${multiarch+'${rubyarchprefix}/${ruby_version}'}${multiarch-'${rubylibdir}/${arch}'}])
3184

  
3180 3185
rubylibprefix='${libdir}/${RUBY_BASE_NAME}'
3181 3186
AC_ARG_WITH(rubylibprefix,
3182 3187
	    AS_HELP_STRING([--with-rubylibprefix=DIR], [prefix for ruby libraries [[LIBDIR/RUBY_BASE_NAME]]]),
......
3186 3191
	    rubylibprefix="$withval"])
3187 3192
AC_SUBST(rubylibprefix)
3188 3193
rubylibdir='${rubylibprefix}/${ruby_version}'
3189
rubyarchdir=${multiarch+'${rubyarchprefix}/${ruby_version}'}${multiarch-'${rubylibdir}/${arch}'}
3190 3194

  
3191 3195
rubyarchprefix=${multiarch+'${archlibdir}/${RUBY_BASE_NAME}'}${multiarch-'${rubylibprefix}/${arch}'}
3192 3196
AC_ARG_WITH(rubyarchprefix,
3193
-