Mercurial > emacs
view src/s/osf1.h @ 39560:a05ad383618d
(autoload-ensure-default-file, autoload-insert-section-header)
(autoload-before-p, autoload-remove-section): New functions.
(generate-file-autoloads): Use them.
(update-file-autoloads): Use them. Return FILE if there's no cookie.
Make sure the autoload file is properly formatted when creating it.
(update-autoloads-from-directories): Use them as well.
Only update autoloads for files whose timestamp has changed.
Add a dummy entry to remember the files which had no autoload cookies.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 05 Oct 2001 09:29:11 +0000 |
parents | 45af78901143 |
children | 24cfc6cd2142 |
line wrap: on
line source
#include "bsd4-3.h" /* Identify OSF1 for the m- files. */ #define OSF1 #define C_SWITCH_SYSTEM -D_BSD #define LIBS_SYSTEM -lbsd #define GETPGRP_NO_ARG #define SYSV_SYSTEM_DIR /* If your system uses COFF (Common Object File Format) then define the preprocessor symbol "COFF". */ #define COFF /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option says where to find X windows at run time. We convert it to a -rpath option which is what OSF1 uses. */ #define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` #define HAVE_TERMIOS #ifndef __GNUC__ /* Optimize, inaccurate debugging. */ #define C_DEBUG_SWITCH -g3 #endif #ifndef NOT_C_CODE #ifndef OSF5 /* fixed in 5.0 */ /* Hack alert! For reasons unknown to mankind the string.h file insists on defining bcopy etc. as taking char pointers as arguments. With Emacs this produces an endless amount of warning which are harmless, but tends to flood the real errors. This hack works around this problem by not prototyping. */ #define bcopy string_h_bcopy #define bzero string_h_bzero #define bcmp string_h_bcmp #include <string.h> #undef bcopy #undef bzero #undef bcmp #endif #endif