Ticket #1774: parrot-configure-without-readline.diff
File parrot-configure-without-readline.diff, 1.5 KB (added by ash, 11 years ago) |
---|
-
lib/Parrot/Configure/Options/Conf.pm
102 102 --without-gettext Build parrot without gettext support 103 103 --without-gmp Build parrot without GMP support 104 104 --without-opengl Build parrot without OpenGL support (GL/GLU/GLUT) 105 --without-readline Build parrot without readline support 105 106 --without-pcre Build parrot without pcre support 106 107 --without-zlib Build parrot without zlib support 107 108 -
lib/Parrot/Configure/Options/Conf/Shared.pm
77 77 without-gmp 78 78 without-icu 79 79 without-opengl 80 without-readline 80 81 without-pcre 81 82 without-threads 82 83 without-zlib -
config/auto/readline.pm
36 36 sub runstep { 37 37 my ( $self, $conf ) = @_; 38 38 39 my $without_opt = $conf->options->get('without-readline'); 40 41 if ($without_opt) { 42 $conf->data->set('HAS_READLINE' => 0); 43 $self->set_result('not requested'); 44 return 1; 45 } 46 39 47 my $cc = $conf->data->get('cc'); 40 48 my $osname = $conf->data->get('osname'); 41 49