Changeset 4333 for lang/perl/Text-MeCab

Show
Ignore:
Timestamp:
01/10/08 10:13:22 (5 years ago)
Author:
daisuke
Message:

lang/perl/Text-MeCab?; return mecab-config as well

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Text-MeCab/trunk/tools/probe_mecab.pl

    r4250 r4333  
    99use ExtUtils::MakeMaker; 
    1010 
    11 my($version, $cflags, $libs); 
     11my($version, $cflags, $libs, $mecab_config); 
    1212 
    1313$cflags = ''; 
     14$mecab_config = ''; 
    1415 
    1516# Save the poor puppies that run on Windows 
     
    4041} else { 
    4142    # try probing in places where we expect it to be 
    42     my $mecab_config; 
    4343    my $default_config; 
    4444    foreach my $path qw(/usr/bin /usr/local/bin) { 
     
    107107print "Using $encoding as your dictionary encoding\n"; 
    108108 
    109 return { version => $version, cflags => $cflags, libs => $libs, encoding => $encoding }; 
     109return { 
     110    version  => $version, 
     111    cflags   => $cflags, 
     112    libs     => $libs, 
     113    encoding => $encoding, 
     114    config   => $mecab_config, 
     115};