From: unknown Date: Tue, 20 Oct 2009 14:59:11 +0000 (+0200) Subject: build warns now for non-existing header files X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6f188ec889e49e9752300f9950e6bc9dd6a8952b;p=sdlgit%2FSDL_perl.git build warns now for non-existing header files --- diff --git a/lib/SDL.pm b/lib/SDL.pm index 360a108..baa0da8 100644 --- a/lib/SDL.pm +++ b/lib/SDL.pm @@ -118,8 +118,11 @@ per class basis. Nick: nferraz Name: Nelson Ferraz - Nice: acme + Nick: acme Name: Leon Brocard + + Nick: FROGGS + Name: Tobias Leich =head2 Maintainance diff --git a/make/lib/SDL/Build.pm b/make/lib/SDL/Build.pm index a5f3cf8..5402cff 100644 --- a/make/lib/SDL/Build.pm +++ b/make/lib/SDL/Build.pm @@ -197,6 +197,9 @@ sub find_header next unless -e File::Spec->catfile( $inc_dir, $header ); return ($inc_dir, $includes->{$inc_dir}); } + + print STDERR "Warning: header file '$header' not found.\n"; + return; } sub write_sdl_config