From: Arnar Mar Hrafnkelsson Date: Mon, 21 May 2001 15:58:21 +0000 (+0000) Subject: Fixed so that IM_MANUAL doesn't lose the giflib version check. X-Git-Tag: Imager-0.48^2~618 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/09fd34687e1b2d2f7004abf12a5456a3af285c26 Fixed so that IM_MANUAL doesn't lose the giflib version check. --- diff --git a/Makefile.PL b/Makefile.PL index cd932d06..9e78d8eb 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -113,7 +113,7 @@ EOF SWX: if ($formats{$frm}{docs}) { print "\n",$formats{$frm}{docs},"\n\n"; } print "Enable $frm support: "; - $gz=; + $gz = ; chomp($gz); if ($gz =~ m/^(y|yes|n|no)/i) { $gz=substr(lc($gz),0,1); @@ -156,8 +156,14 @@ EOFF if ($resp ne "n") { delete $formats{'gif'}; delete $formats{'ungif'}; + return; } } + + for my $frm (qw(gif ungif)) { + checkformat($frm) if ($MANUAL and $formats{$frm}); + } + my @dirs; for my $frm (grep $formats{$_}, qw(gif ungif)) { push(@dirs, @{$formats{$frm}{incdir}}) if $formats{$frm}{incdir};