- don't allocate hashboxes as locals since it overflows the
stack by default in Darwin
- applied T1 afm patch from Claes Jacobsson
+ - split IM_INCPATH and IM_LIBPATH with $Config{path_sep}, so they
+ work on Windows
=================================================================
sub init {
@definc{'/usr/include'}=();
- @incs=(qw(/usr/include/freetype2 /usr/local/include/freetype2 /usr/include /usr/local/include /usr/include/freetype /usr/local/include/freetype), split /:/, $INCPATH );
- @libs=(split(/ /, $Config{'libpth'}), split(/:/, $LIBPATH) );
+ @incs=(qw(/usr/include/freetype2 /usr/local/include/freetype2 /usr/include /usr/local/include /usr/include/freetype /usr/local/include/freetype), split /\Q$Config{path_sep}/, $INCPATH );
+ @libs=(split(/ /, $Config{'libpth'}), split(/\Q$Config{path_sep}/, $LIBPATH) );
if ($^O =~ /win32/i && $Config{cc} =~ /\bcl\b/i) {
push(@incs, split /;/, $ENV{INCLUDE}) if exists $ENV{INCLUDE};
push(@libs, split /;/, $ENV{LIB}) if exists $ENV{LIB};