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 7b00402..3b4cd46 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";