home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!nestroy!news-mail-gateway
- From: jwz@lucid.COM (Jamie Zawinski)
- Subject: Re: more lemacs 19.3 on HPUX
- Message-ID: <9209110319.AA02602@thalidomide.lucid>
- Sender: jwz%thalidomide@lucid.com
- Organization: WU Mail/News Gateway
- References: <18o0nrINNf43@corax.udac.uu.se>
- Date: Fri, 11 Sep 1992 03:19:59 GMT
- Lines: 77
-
- (I still assert that messages like this belong on the bug list, not the
- help list, but I'm sure I'll continue to be ignored.)
-
- In message <18o0nrINNf43@corax.udac.uu.se> Henrik B}kman CSD wrote:
- >
- > < #define C_SWITCH_SITE -I/local/X11R5/include -Aa -D_HPUX_SOURCE
-
- When sending patches, please use "diff -c" instead of plain "diff". It
- makes it much easier for me to understand (and install) your changes.
-
- Is _HPUX_SOURCE enough, or are all of _INCLUDE_POSIX_SOURCE,
- _INCLUDE_HPUX_SOURCE, and _INCLUDE_XOPEN_SOURCE necessary, as Danny said?
-
- Would adding this to config.h work?
-
- #ifdef hpux
- #define _HPUX_SOURCE
- #endif
-
- Actually, I just remember that I had to add this junk to the Imakefile of
- xkeycaps to get it to (allegedly) work on various releases of the HP OS.
- If anyone knows what the story is with these goofy HP tags, please let
- me know.
-
- /* This nonsense seems to be necessary to get the passwd struct on all HP
- sysems. HP can't seem to make up their mind what preprocessor directive
- they want to use to tell their header files that they are being compiled
- on an HP. Don't ask me to explain why these aren't the default...
- */
- #if defined(HPUX) || defined(hpux) || defined(__hpux) || defined(_HPUX_SOURCE)
- DEFINES = -D_HPUX_SOURCE -DHPUX -Dhpux -D__hpux
- #endif
-
- > As Danny I had problems with missing floating-point functions and the
- > easiest, I thing, way to get rid of the problems is to comment out
- > 'LISP_FLOAT_TYPE'
-
- It would be better if someone could figure out what the HP equivalents of
- the various float functions are. An emacs without float support is like
- a day without sunshine...
-
- > There is two files for hpux in src/s/ (s-hpux.h and s-hpux8.h).
- > s-hpux8.h seems to be the new one to use, or...?
-
- You tell me :-)
-
- > 3. I do the following changes in 'src/events.h'
- >
- > 219,220d218
- > < /* HB: 920910: Cause trouble "redeclaration" in hpux. */
- > < #if ! defined(__hpux)
- > 222d219
- > < #endif
- >
- > This takes away 'struct Lisp_Process;' which causes complains from the
- > compiler. Why??? Well, it seems to work without it.
-
- But it doesn't on other systems; this is legal ANSI C, and if the HP
- compiler chokes on it, that's a bug.
-
- The problem is that the line
-
- void (*select_process_cb) (struct Lisp_Process *);
-
- will, when fed through a compliant ANSI C compiler, generate a warning
- something like "scope of Lisp_Process consists of parameter list only"
- unless Lisp_Process is already globally declared as a structure name.
- "struct Lisp_Process;" is a legal declaration, and does not conflict
- with a (potentially earlier) declaration of struct Lisp_Process in
- process.h, which may or may not have been included before events.h.
-
- > Although I got the same problem as Danny with 'INVISIBLE_TERMINAL_KLUDGE'
- > in 19.2 it doesn't shoved up in 19.3 for me!?!?
-
- That's because INVISIBLE_TERMINAL_KLUDGE kludges no more!
-
- -- Jamie
-