>>>> "Andrew" == Andrew Begel
<abegel(a)cs.berkeley.edu> writes:
Andrew> Who originally removed the #define HAVE_PTYS and #define
Andrew> TAB3 from the 21.5.x version?
Martin. I'm pretty sure the HAVE_PTYS removal is correct, I recall
discussion of this at the time. I didn't want to muck with
configure.in merely for a previously unsupported platform, but Martin
completely redid the pty detection code. The termcap stuff also was
redone, and that's also very Martinique although I don't see a
ChangeLog offhand. Do you know whether it works?
ISTR he was mildly disgusted to need an s&m file for Darwin at all.
He wants the s&m files deprecated as places for new configuration.
Would you try this patch to configure.in and config.h.in for 21.5?
(don't forget to run autoconf!) The first hunk is preexisting
screwage which needs to be fixed.
We'll have to ask Vin where to put it in 21.4. Putting it in darwin.h
is OK for a fixup patch, but I think the configure patch is safe.
Index: configure.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.in,v
retrieving revision 1.189
diff -u -r1.189 configure.in
--- configure.in 12 Jan 2003 11:03:16 -0000 1.189
+++ configure.in 31 Jan 2003 03:52:21 -0000
@@ -1601,9 +1610,9 @@
if test -z "$pdump"; then
case "$opsys" in
- linux* ) pdump=yes ;; dnl glibc 2.3.1 seems to hose unexec
- *-*-darwin* ) pdump=yes ;; dnl No "native" working dumper available
- *) pdump=no ;;
+ linux* ) pdump=yes ;; dnl glibc 2.3.1 seems to hose unexec
+ darwin ) pdump=yes ;; dnl No "native" working dumper available
+ *) pdump=no ;;
esac
fi
@@ -1617,6 +1626,7 @@
case "$opsys" in
hpux* | sunos4* | sco5 ) opsys="${opsys}-shr" ;;
decosf* ) ld_call_shared="-call_shared" ;;
+ darwin ) AC_DEFINE(DLSYM_NEEDS_UNDERSCORE) ;;
esac
else dnl "$dynamic" = "no"
case "$opsys" in
Index: src/config.h.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/config.h.in,v
retrieving revision 1.79
diff -u -r1.79 config.h.in
--- src/config.h.in 12 Jan 2003 11:08:09 -0000 1.79
+++ src/config.h.in 31 Jan 2003 03:52:21 -0000
@@ -297,6 +297,7 @@
#undef HAVE_SHL_LOAD
#undef HAVE_DLD_INIT
#undef HAVE_SHLIB
+#undef DLSYM_NEEDS_UNDERSCORE
#undef HAVE_LIBINTL
#undef HAVE_LIBDNET
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.