|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||
2015年02月12日(木) 旧暦 [n年日記] [更新:"2015/02/11 15:34:19"]#1 [pkgsrc] Alien-SDL-1.444/inc/My/Utility.pm
I'm looking these lines today (no Japanese input now).
373 sub check_prereqs_libs { 374 my @libs = @_; 375 my $ret = 1; 376 377 foreach my $lib (@libs) { 378 print "checking for $lib... "; 379 my $found_dll = ''; 380 my $found_lib = ''; 381 my $found_inc = ''; 382 my $header_map = { 383 'z' => 'zlib', 384 'jpeg' => 'jpeglib', 385 'vorbis' => 'vorbisenc', 386 'SDL_gfx' => 'SDL_gfxPrimitives', 387 'SDL' => 'SDL_version', 388 }; 389 my $header = (defined $header_map->{$lib}) ? $header_map->{$lib} : $lib; 390 391 my $dlext = get_dlext(); 392 foreach (keys %$inc_lib_candidates) { 393 my $ld = $inc_lib_candidates->{$_}; 394 next unless -d $_ && -d $ld; 395 ($found_dll) = find_file($ld, qr/[\/\\]lib\Q$lib\E[\-\d\.]*\.($dlext[\d\.]*|so|dll)$/); 396 $found_dll = $1 if $found_dll && $found_dll =~/^(.+($dlext|so|dll))/ && -e $1; 397 ($found_lib) = find_file($ld, qr/[\/\\]lib\Q$lib\E[\-\d\.]*\.($dlext[\d\.]*|a|dll.a)$/); 398 ($found_inc) = find_file($_, qr/[\/\\]\Q$header\E[\-\d\.]*\.h$/); 399 last if $found_lib && $found_inc; 400 } ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||