diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-07 22:26:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-07 22:26:25 +0000 |
commit | 2cff55dbb37e5453a807320769aad42184bd0229 (patch) | |
tree | 6a2648eb5e61e2959076c83d928c1b193281f272 /configure.in | |
parent | c01ebbd99cca8bcccc565857d36151d7a36b4480 (diff) | |
download | ruby-2cff55dbb37e5453a807320769aad42184bd0229.tar.gz |
* configure.in: check only the first symbol to get rid of
duplication. [ruby-core:33084] #4031
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index fe1899614e..696721dfbe 100644 --- a/configure.in +++ b/configure.in @@ -2347,7 +2347,7 @@ fi AC_CACHE_CHECK([for prefixed underscore of exported symbols], rb_cv_export_prefix, [ AC_TRY_COMPILE([extern void conftest_exported(void) {}], [], [ rb_cv_export_prefix=`$NM conftest.$ac_objext | - sed -n ['s/.*\(_\)conftest_exported.*/\1/p']` + sed -n ['/.*\(_\)conftest_exported.*/!d;s//\1/p;q']` ], [rb_cv_export_prefix='']) ]) |