ln='cp'
pager='less'
-# This is because of the filename conversion under DOS
+# fix extension names under DOS
repair()
{
- echo "$1" | tr '[a-z]' '[A-Z]' | sed -e 's/CNTL/cntl/'\
- -e 's/_FIL/_File/g' -e 's/PCODE/pcode/' -e 's/OCKET/ocket/'\
- -e 's/leE/le/g' -e 's/ATTRS/attrs/' -e 's/HREAD/hread/'
+ echo "$1" | \
+ sed \
+ -e 's/^b/B/'\
+ -e 's=\([^a-z_]\)b=\1B='\
+ -e 's=data/dumper=Data/Dumper='\
+ -e 's/db_file/DB_File/'\
+ -e 's/dynaload/DynaLoader/'\
+ -e 's/errno/Errno/'\
+ -e 's/fcntl/Fcntl/'\
+ -e 's/gdbm_fil/GDBM_File/'\
+ -e 's/io/IO/'\
+ -e 's/SysV//'\
+ -e 's/sysv//'\
+ -e 's=ipc/=='\
+ -e 's=IPC/=='\
+ -e 's/ndbm_fil/NDBM_File/'\
+ -e 's/odbm_fil/ODBM_File/'\
+ -e 's/opcode/Opcode/'\
+ -e 's/posix/POSIX/'\
+ -e 's/sdbm_fil/SDBM_File/'\
+ -e 's/socket/Socket/'\
+ -e 's/thread/Thread/'\
+ -e 's/byteload/ByteLoader/'\
+ -e 's=devel/peek=Devel/Peek='\
+ -e 's=devel/dprof=Devel/DProf='\
+ -e 's=sys/sys=Sys/Sys='\
+ -e 's=sys/hos=Sys/Hos='\
+ -e 's=file/=='\
+ -e 's=File/=='\
+ -e 's=glob=='\
+ -e 's=Glob=='\
+ -e 's/storable/Storable/'
}
static_ext=$(repair "$static_ext")
extensions=$(repair "$extensions")
known_extensions=$(repair "$known_extensions")
+nonxs_ext=$(repair "$nonxs_ext")
# I use Dos::UseLFN in AutoSplit.pm to override this under win0.95
d_flexfnam='undef'
-# I should explain here, why I added these lines ;-)
-castflags='0'
+# with W95 + bash the test program returns bogus result
d_casti32='undef'
-d_castneg='define'
-