diff options
Diffstat (limited to 'djgpp/config.over')
-rw-r--r-- | djgpp/config.over | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/djgpp/config.over b/djgpp/config.over index ed443d31c4..b11b4936fe 100644 --- a/djgpp/config.over +++ b/djgpp/config.over @@ -1,16 +1,31 @@ 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/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/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/' } 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' |