3 # a) warning from fcntl: Third argument is int in emx - patched
4 # b) gr_password is not a structure in struct group - patched
6 # d) Makefile needs sh before ./makedir
12 # j) the rule true in Makefile should become sh -c true
13 # k) Cwd does not work. ===> the extensions cannot be compiled - patched
14 # l) TEST expects to get -e 'perl' - patched
17 # Tests failing with .o compile (this is probably obsolete, but now it is .obj):
19 # comp/cpp (because of sed above)
20 # io/fs.t : (patched) 2..5 7..11 18 (why 11?)
21 # io/inplace.t ???? (ak works)
23 # op/exec.t 1 ???? 4 ????
24 # op/glob.t 1 (bug in sh)
25 # op/magic.t 4 1/2 (????) adding sleep 5 does not help
26 # op/readdir.t 3 (same bug in ksh)
27 # op/stat.t 3 4 9 10 20 >34
29 # Newer results with .obj without i/o optimization, fail:
34 # op/exec.t : 4, 6 (ok 1 comes as "ok \1")
38 # op/stat.t : 3 4 9 10 20 >34
39 # lib/sdbm.t : sdbm store returned -1, errno 0, key "21" at lib/sdbm.t line 112.
40 # lib/posix.t : coredump on 3
42 # If compiled with i/o optimization, then 15% speedup on input, and
44 # no coredump in posix.t
46 # Note that symbol extraction code gives wrong answers (sometimes?) on
47 # gethostent and setsid.
49 # Note that during the .obj compile you need to move the perl.dll file
53 sysman=`../UU/loc . /man/man1 c:/man/man1 c:/usr/man/man1 d:/man/man1 d:/usr/man/man1 e:/man/man1 e:/usr/man/man1 f:/man/man1 f:/usr/man/man1 g:/man/man1 g:/usr/man/man1 /usr/man/man1`
56 libemx="`../UU/loc . X c:/emx/lib d:/emx/lib e:/emx/lib f:/emx/lib g:/emx/lib h:/emx/lib /emx/lib`"
58 if test "$libemx" = "X"; then echo "Cannot find C library!"; fi
60 libpth="$libemx/st $libemx"
64 # Additional definitions:
66 firstmakefile='GNUmakefile'
69 if [ "$emxaout" != "" ]; then
78 ccflags='-DDOSISH -DOS2=2 -DEMBED -I.'
87 lddlflags='-Zdll -Zomf -Zcrtdll'
88 ldflags='-Zexe -Zomf -Zcrtdll'
89 ccflags='-Zomf -DDOSISH -DOS2=2 -DEMBED -I.'
93 # To get into config.sh (should start at the beginning of line)
96 #libc="/emx/lib/st/c_import$lib_ext"
97 libc="$libemx/st/$use_clib$lib_ext"
99 if test -r "$libemx/c_alias$lib_ext"; then
100 libnames="$libemx/c_alias$lib_ext"
103 # otherwise puts -lc ???
106 archobjs="os2$obj_ext"
108 # Run files without extension with sh - feature of patched ksh
110 # Same with newer ksh
118 #cppflags='-DDOSISH -DOS2=2 -DEMBED -I.'
120 # This variables taken from recommended config.sh
123 # for speedup: (some patches to ungetc are also needed):
124 # Note that without this guy tests 8 and 10 of io/tell.t fail, with it 11 fails
126 stdstdunder=`echo "#include <stdio.h>" | cpp | egrep -c "char +\* +_ptr"`
129 d_stdio_ptr_lval='define'
130 d_stdio_cnt_lval='define'
132 if test "$stdstdunder" = 0; then
133 stdio_ptr='((fp)->ptr)'
134 stdio_cnt='((fp)->rcount)'
135 stdio_base='((fp)->buffer)'
136 stdio_bufsiz='((fp)->rcount + (fp)->ptr - (fp)->buffer)'
137 ccflags="$ccflags -DMYTTYNAME"
140 stdio_ptr='((fp)->_ptr)'
141 stdio_cnt='((fp)->_rcount)'
142 stdio_base='((fp)->_buffer)'
143 stdio_bufsiz='((fp)->_rcount + (fp)->_ptr - (fp)->_buffer)'
146 # to put into config.sh
147 myttyname="$myttyname"
149 # To have manpages installed
151 # above will be overwritten otherwise, indented to avoid config.sh
155 # Will be rewritten otherwise, indented to not put in config.sh
161 ####### All the rest is commented
163 # I do not have these:
164 #dynamic_ext='Fcntl GDBM_File SDBM_File POSIX Socket UPM REXXCALL'
165 #dynamic_ext='Fcntl POSIX Socket SDBM_File Devel/DProf'
166 #extensions='Fcntl GDBM_File SDBM_File POSIX Socket UPM REXXCALL'
167 #extensions='Fcntl SDBM_File POSIX Socket Devel/DProf'
169 # Unknown reasons for:
181 #glibpth='c:/usr/lib/emx h:/emx/lib /emx/lib'
193 #socketlib='-lsocket'
209 # Misfound by configure:
220 # I cannot stand it, but did not test with:
221 # d_dirnamlen='undef'
223 # I try to do without these:
233 # The next two are commented. pdksh handles #!
234 # sharpbang='extproc '
238 #startsh='extproc ksh\\n#! sh'