diff options
author | Francois Pons <fpons@mandriva.com> | 2000-09-14 17:43:56 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-09-14 17:43:56 +0000 |
commit | e689f149e25ea05e90cca2d9b620d214b88d8682 (patch) | |
tree | da62916c0dd7c08aabb13a25012343a6cfb40885 | |
parent | 8f228e9d314cec56d1d047dad18faee513b5a5b1 (diff) | |
download | drakx-e689f149e25ea05e90cca2d9b620d214b88d8682.tar drakx-e689f149e25ea05e90cca2d9b620d214b88d8682.tar.gz drakx-e689f149e25ea05e90cca2d9b620d214b88d8682.tar.bz2 drakx-e689f149e25ea05e90cca2d9b620d214b88d8682.tar.xz drakx-e689f149e25ea05e90cca2d9b620d214b88d8682.zip |
*** empty log message ***
-rw-r--r-- | perl-install/Xconfigurator.pm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index cfde27e10..7aaff1426 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -203,19 +203,21 @@ sub cardConfiguration(;$$$) { $card->{type} =~ /ATI Rage 128/); #- 16 and 32 bits, prefer 16bit as no DMA. #- check to use XFree 4.0 or XFree 3.3. - $card->{use_xf4} = $card->{driver} && !$card->{flags}{unsupported} && - !($card->{type} =~ /RIVA TNT/ || - $card->{type} =~ /RIVA128/ || - $card->{type} =~ /GeForce/); + $card->{use_xf4} = $card->{driver} && !$card->{flags}{unsupported}; + $card->{prefer_xf3} = ($card->{type} =~ /RIVA TNT/ || + $card->{type} =~ /RIVA128/ || + $card->{type} =~ /GeForce/); #- basic installation, use of XFree 4.0 or XFree 3.3. my ($xf4_ver, $xf3_ver) = ("4.0.1", "3.3.6"); my $xf3_tc = { text => _("XFree %s", $xf3_ver), code => sub { $card->{Utah_glx} = $card->{DRI_glx} = ''; $card->{use_xf4} = '' } }; my $msg = _("Which configuration of XFree do you want to have?"); - my @choices = $card->{use_xf4} ? ({ text => _("XFree %s", $xf4_ver), - code => sub { $card->{Utah_glx} = $card->{DRI_glx} = '' } }, - ($::expert ? ($xf3_tc) : ())) : ($xf3_tc); + my @choices = $card->{use_xf4} ? (($card->{prefer_xf3} ? ($xf3_tc) : ()), + (!$card->{prefer_xf3} || $::expert ? + ({ text => _("XFree %s", $xf4_ver), + code => sub { $card->{Utah_glx} = $card->{DRI_glx} = '' } }) : (),), + ($::expert && !$card->{prefer_xf3} ? ($xf3_tc) : ())) : ($xf3_tc); #- try to figure if 3D acceleration is supported #- by XFree 3.3 but not XFree 4.0 then ask user to keep XFree 3.3 ? |