| 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?" ); |