From: imiyazaki Date: Wed, 12 Mar 2003 07:50:17 +0000 (+0000) Subject: support 21.4.11. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=a84a06ba39e79dd0fa36cbe168a1caffd968e646;p=chise%2Fperl.git support 21.4.11. --- diff --git a/Chise_utils/Chise_utils.pm b/Chise_utils/Chise_utils.pm index e5f54b3..454a7ed 100644 --- a/Chise_utils/Chise_utils.pm +++ b/Chise_utils/Chise_utils.pm @@ -42,14 +42,20 @@ our $VERSION = '0.01'; # Preloaded methods go here. my $DB_HOME=""; -if(-e '/usr/local/lib/xemacs-21.4.10/i686-pc-linux/char-db/system-char-id'){ +if(-e '/usr/local/lib/xemacs-21.4.11/i686-pc-linux/char-db/system-char-id'){ + $DB_HOME='/usr/local/lib/xemacs-21.4.11/i686-pc-linux/char-db/system-char-id'; +}elsif(-e '/usr/local/lib/xemacs-21.4.11/powerpc-apple-darwin6.4/char-db/system-char-id'){ + $DB_HOME='/usr/local/lib/xemacs-21.4.11/powerpc-apple-darwin6.4/char-db/system-char-id'; +}elsif(-e '/usr/local/xemacs-utf2000/lib/xemacs-21.4.11/powerpc-apple-darwin6.4/char-db/system-char-id'){ + $DB_HOME='/usr/local/xemacs-utf2000/lib/xemacs-21.4.11/powerpc-apple-darwin6.4/char-db/system-char-id'; +}elsif(-e '/usr/local/lib/xemacs-21.4.10/i686-pc-linux/char-db/system-char-id'){ $DB_HOME='/usr/local/lib/xemacs-21.4.10/i686-pc-linux/char-db/system-char-id'; -}elsif(-e 'd:/work/chise/char-db/system-char-id'){ - $DB_HOME='d:/work/chise/char-db/system-char-id'; }elsif(-e '/usr/local/lib/xemacs-21.4.10/powerpc-apple-darwin6.4/char-db/system-char-id'){ $DB_HOME='/usr/local/lib/xemacs-21.4.10/powerpc-apple-darwin6.4/char-db/system-char-id'; }elsif(-e '/usr/local/xemacs-utf2000/lib/xemacs-21.4.10/powerpc-apple-darwin6.4/char-db/system-char-id'){ $DB_HOME='/usr/local/xemacs-utf2000/lib/xemacs-21.4.10/powerpc-apple-darwin6.4/char-db/system-char-id'; +}elsif(-e 'd:/work/chise/char-db/system-char-id'){ + $DB_HOME='d:/work/chise/char-db/system-char-id'; }else{ print STDERR "No database found.\n"; print STDERR "Pleas set \$DB_HOME to Chise_utils.pm.\n";