Alien-MeCab
view release on metacpan or search on metacpan
Changes
=======
0.97005 18 Apr 2008
- Add dependency to Alien::Iconv if we could not detect libiconv and
the user chose to do so
0.97004 12 Apr 2008
- Ask for prefix and charset to use at configure time.
0.97003 06 Apr 2008
- Use LIBS instead of libpath as suggested by srezic
0.97002 05 Apr 2008
- Respect CCFLAGS and LDFLAGS. refs #34700
- Only detect libiconv on non-Windows platforms
0.97001 05 Apr 2008
- Detect libiconv as well.
Makefile.PL view on Meta::CPAN
$run_configure = prompt(
"No config.status found. Run MeCab's configure now?", 'y'
);
}
if( $run_configure =~ /^y/i ) {
print "\nWe're going to run configure for mecab.\n",
"First, we'll ask you a few questions about common options\n\n";
my $prefix = prompt( "Where would you like to install libmecab?", "/usr/local" );
my $charset = prompt( "What charset would you like to use?", "utf8" );
my $configure_args = '';
$configure_args .= "--prefix=$prefix " if $prefix;
$configure_args .= "--with-charset=$charset " if $charset;
$configure_args .= prompt("Are there any other arguments you would like to pass to configure?" );
print "\nMeCab will be configured with the following arguments:\n",
" $configure_args\n";
chdir $MECAB_SOURCE_DIR;
local $ENV{CFLAGS} = $CCFLAGS;
local $ENV{LDFLAGS} = $LDFLAGS;
( run in 0.429 second using v1.01-cache-2.11-cpan-4d50c553e7e )