INTEGRATION: CWS ooo20030412 (1.1.80); FILE MERGED

2003/04/09 12:21:05 mh 1.1.80.1: chg: add FREEBSD, #i12879#
This commit is contained in:
Jens-Heiner Rechtien 2003-04-28 15:41:35 +00:00
parent 7994c03665
commit e71268d80f

View file

@ -5,9 +5,9 @@ eval 'exec perl -wS $0 ${1+"$@"}'
#
# $RCSfile: mapgen.pl,v $
#
# $Revision: 1.3 $
# $Revision: 1.4 $
#
# last change: $Author: hr $ $Date: 2003-03-27 11:47:52 $
# last change: $Author: hr $ $Date: 2003-04-28 16:41:35 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@ -74,7 +74,7 @@ eval 'exec perl -wS $0 ${1+"$@"}'
( $script_name = $0 ) =~ s/^.*\b(\w+)\.pl$/$1/;
$id_str = ' $Revision: 1.3 $ ';
$id_str = ' $Revision: 1.4 $ ';
$id_str =~ /Revision:\s+(\S+)\s+\$/
? ($script_rev = $1) : ($script_rev = "-");
@ -169,7 +169,8 @@ sub filter_symbols {
s/\n//;
$env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
$env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
$env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
last if ($env_section && ((/^# SOLARIS #$/) || (/^# FREEBSD #$/) || (/^# LINUX #$/)));
next if (!$_ || /^#/);
push(@filters, $_);
};