Mail Archives: djgpp/2009/07/17/07:46:24
Hi,
On Jul 14, 3:13=A0am, Rugxulo <rugx DOT DOT DOT AT gmail DOT com> wrote:
>
> djtar -x %F1%
> cd zile*
> sed -i -e "/-lcurses/s//-lpdcurses/" -e "/mp_cv_curses=3Dno/s/=3Dno/=3Dye=
s/" -e "\,\\\\r,s,\\\\,\\," configure
"configure" is such a big file that sed will be quite slow editing it.
(Actually running "configure" itself is the slowest thing. It really
checks too much stuff !!) Hence, it'd be faster to just let it run its
course and edit the resulting (small) config.status instead and then
manually run: bash -c "./config.status" (to create the various
makefiles). Ignore the whole curses hack mentioned above as you can
later do "make CURSES_LIB=3D-lpdcurses" instead.
> sed -i "\,libgen\.h,s,^,//," src\completion.c
This dependency is removed in 2.3.10 pretest (since Gnulib emulates
parts of it anyways). I have no idea why fchown-stub.c from Gnulib
isn't pulled in for 2.03p2, but I ended up just manually hacking lib/
makefile to append "fchown-stub.o" to the "gl_LIBOBJS =3D" line. (At
least one Gnulib maintainer seems to not understand that DOS is still
used since 1995. Oh well, guess he's out of the loop.)
> echo #if __DJGPP_MINOR__ !=3D 4 >> config.h
> echo #define EILSEQ 41 >> config.h
> echo #define fchown(a,b,c) >> config.h
> echo #endif >> config.h
That should probably say "#ifndef EILSEQ" since even iconv.h
(licv*b.zip) defines it if necessary.
BTW, for "M-x shell-command", 4DOS apparently uses ">&" to redirect
stdout and stderr, in case anyone prefers that (hence just change
"2>&1" to ">&" I suppose). Untested, but at least that's what the help
says.
- Raw text -