ruby-changes:23508
From: nobu <ko1@a...>
Date: Mon, 7 May 2012 13:41:14 +0900 (JST)
Subject: [ruby-changes:23508] nobu:r35559 (trunk): codesign
nobu 2012-05-07 13:41:02 +0900 (Mon, 07 May 2012) New Revision: 35559 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35559 Log: codesign * Makefile.in (PROGRAM), configure.in (POSTLINK): sign built program using RUBY_CODESIGN identity. Modified files: trunk/ChangeLog trunk/Makefile.in trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 35558) +++ configure.in (revision 35559) @@ -1059,6 +1059,11 @@ 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], Index: ChangeLog =================================================================== --- ChangeLog (revision 35558) +++ ChangeLog (revision 35559) @@ -1,3 +1,8 @@ +Mon May 7 13:41:00 2012 Nobuyoshi Nakada <nobu@r...> + + * Makefile.in (PROGRAM), configure.in (POSTLINK): sign built program + using RUBY_CODESIGN identity. + Mon May 7 13:03:55 2012 Shugo Maeda <shugo@r...> * lib/net/imap.rb (body_type_attachment): parse body type Index: Makefile.in =================================================================== --- Makefile.in (revision 35558) +++ Makefile.in (revision 35559) @@ -73,6 +73,7 @@ BUILTIN_ENCOBJS = @BUILTIN_ENCOBJS@ BUILTIN_TRANSSRCS = @BUILTIN_TRANSSRCS@ BUILTIN_TRANSOBJS = @BUILTIN_TRANSOBJS@ +POSTLINK = @POSTLINK@ RUBY_BASE_NAME=@RUBY_BASE_NAME@ RUBY_PROGRAM_VERSION=@RUBY_PROGRAM_VERSION@ @@ -175,6 +176,7 @@ @$(RM) $@ $(ECHO) linking $@ $(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) $(OUTFLAG)$@ + $(Q) $(POSTLINK) # We must `rm' the library each time this rule is invoked because "updating" a # MAB library on Apple/NeXT (see --enable-fat-binary in configure) is not -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/