ruby-changes:24708
From: nobu <ko1@a...>
Date: Wed, 22 Aug 2012 01:18:14 +0900 (JST)
Subject: [ruby-changes:24708] nobu:r36759 (trunk): configure.in: no bare case statement
nobu 2012-08-22 01:18:02 +0900 (Wed, 22 Aug 2012) New Revision: 36759 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36759 Log: configure.in: no bare case statement * configure.in (RUBY_CHECK_SIZEOF): use single test instead of split bare case statement, so that matching parentheses would match. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 36758) +++ configure.in (revision 36759) @@ -736,11 +736,8 @@ done done }]) - m4_ifval([$2][$3], [case "${AS_TR_SH(ac_cv_sizeof_$1)}" in - #( - [SIZEOF_*]);; - #( - *)]) + m4_ifval([$2][$3], + [test "${AS_TR_SH(ac_cv_sizeof_$1)@%:@SIZEOF_}" = "${AS_TR_SH(ac_cv_sizeof_$1)}" && ]){ test "$universal_binary" = yes && cross_compiling=yes AC_COMPUTE_INT([t], AS_TR_CPP(SIZEOF_$1), [AC_INCLUDES_DEFAULT([$4])] [${cond+$cond @@ -754,7 +751,7 @@ if test ${t-0} != 0; then AS_TR_SH(ac_cv_sizeof_$1)="${AS_TR_SH(ac_cv_sizeof_$1)+${AS_TR_SH(ac_cv_sizeof_$1)-} }${t}" fi - m4_ifval([$2][$3], [;; esac]) + } : ${AS_TR_SH(ac_cv_sizeof_$1)=0} ]) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/