diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-10 03:54:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-10 03:54:12 +0000 |
commit | fd257045dbaed7bdae33e18e5f4799cbf65424f1 (patch) | |
tree | 5242c2652ca74dd43d7de72baabd49414bd210fa | |
parent | 5624a6d4618b80dca870e0d81fc47d1b34c18d4d (diff) | |
download | ruby-fd257045dbaed7bdae33e18e5f4799cbf65424f1.tar.gz ruby-fd257045dbaed7bdae33e18e5f4799cbf65424f1.tar.xz ruby-fd257045dbaed7bdae33e18e5f4799cbf65424f1.zip |
configure.in (when): use all parameters.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | configure.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 82e39dbe0..958f76804 100644 --- a/configure.in +++ b/configure.in @@ -9,7 +9,8 @@ AC_DEFUN([RUBY_PREREQ_AC], AC_MSG_ERROR([Autoconf version ]$1[ or higher is required]$2))]) AC_DEFUN([when], dnl [(] makes parentheses balanced. -$1[)]) +dnl note that spaces after comma need to be quoted. +[$*][)]) dnl environment section { @@ -152,7 +153,7 @@ if test ${target_archs+set}; then for archs in $target_archs do case ",$universal_binary," in - when([*,$archs,*]) + when(*",$archs,"*) ;; when(*) cpu=`$SHELL "$srcdir/config.sub" "${archs}-${target_os}" 2>&1` || { @@ -169,7 +170,7 @@ if test ${target_archs+set}; then target_archs="$universal_binary" unset universal_binary case "$target_archs" in - when([*,*]) universal_binary=yes;; + when(*,*) universal_binary=yes;; when(*) unset universal_archnames;; esac AC_MSG_RESULT([$target_archs]) |