diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 18b5431068..70fedcf9b0 100644 --- a/configure.in +++ b/configure.in @@ -1059,6 +1059,11 @@ main() if test "$rb_cv_broken_crypt" = yes; then AC_DEFINE(BROKEN_CRYPT, 1) fi + if test "${RUBY_CODESIGN:+set}"; then + AC_CHECK_PROGS(codesign, codesign) + POSTLINK="$ac_cv_prog_codesign -s '$RUBY_CODESIGN' -f \$@" + AC_SUBST(POSTLINK) + fi ], [hpux*], [ LIBS="-lm $LIBS" ac_cv_c_inline=no], |