Changeset 9344 for lang/perl/Alien-MeCab

Show
Ignore:
Timestamp:
04/12/08 17:43:23 (8 months ago)
Author:
daisuke
Message:

lang/perl/Alien-MeCab?; dcantrell asked me to add a few more options

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Alien-MeCab/trunk/Makefile.PL

    r9015 r9344  
    145145 
    146146        if( $run_configure =~ /^y/i ) { 
    147             my $configure_args = prompt( 
    148                 "\nWould you like to pass any arguments to configure?",  
    149             ); 
     147            print "\nWe're going to run configure for mecab.\n", 
     148                "First, we'll ask you a few questions about common options\n\n"; 
     149 
     150            my $prefix = prompt( "Where would you like to install libmecab?", "/usr/local" ); 
     151            my $charset = prompt( "What charset would you like to use?", "utf8" ); 
     152            my $configure_args = ''; 
     153            $configure_args .= "--prefix=$prefix " if $prefix; 
     154            $configure_args .= "--with-charset=$charset " if $charset; 
     155 
     156            $configure_args .= prompt("Are there any other arguments you would like to pass to configure?" ); 
    150157 
    151158            print "\nMeCab will be configured with the following arguments:\n",