]> git.imager.perl.org - imager.git/commitdiff
prevent duplicate probe messages for freetype 1.x probing
authorTony Cook <tony@develop=help.com>
Fri, 17 Feb 2006 13:13:55 +0000 (13:13 +0000)
committerTony Cook <tony@develop=help.com>
Fri, 17 Feb 2006 13:13:55 +0000 (13:13 +0000)
Makefile.PL

index 7b0040290809f0f390d47e1c925b3d382193e06d..3b4cd463c52a0e68d9766c5acecb0f02504616e1 100644 (file)
@@ -661,10 +661,10 @@ sub freetype1_probe {
     }
   }
 
+  return unless $found_inc && $found_lib;
   printf("%10s: includes %s - libraries %s\n", $frmkey,
         ($found_inc ? 'found' : 'not found'), 
         ($found_lib ? 'found' : 'not found'));
-  return unless $found_inc && $found_lib;
 
   $frm->{cflags} = "-I$found_inc";
   $frm->{libfiles} = "-lttf";