diff options
| author | Richard M. Stallman | 1992-09-20 20:58:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-09-20 20:58:22 +0000 |
| commit | c21d3ee2cf7e0686bb2e19eb8d2224597035c672 (patch) | |
| tree | 3e0fb2b0ad1a2480125ccf6341e5be10f9eec8f1 | |
| parent | 09121adc4e1561d51fc01c834ab281f3fcf074c9 (diff) | |
| download | emacs-c21d3ee2cf7e0686bb2e19eb8d2224597035c672.tar.gz emacs-c21d3ee2cf7e0686bb2e19eb8d2224597035c672.zip | |
entered into RCS
| -rw-r--r-- | lisp/diff.el | 13 | ||||
| -rw-r--r-- | src/s/sol2.h | 14 | ||||
| -rw-r--r-- | src/s/usg5-4.h | 8 |
3 files changed, 29 insertions, 6 deletions
diff --git a/lisp/diff.el b/lisp/diff.el index ae49cf1f371..4e8d54afcd9 100644 --- a/lisp/diff.el +++ b/lisp/diff.el | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | (require 'compile) | 25 | (require 'compile) |
| 26 | 26 | ||
| 27 | (defvar diff-switches nil | 27 | (defvar diff-switches "-c" |
| 28 | "*A string or list of strings specifying switches to be be passed to diff.") | 28 | "*A string or list of strings specifying switches to be be passed to diff.") |
| 29 | 29 | ||
| 30 | (defvar diff-regexp-alist | 30 | (defvar diff-regexp-alist |
| @@ -93,9 +93,14 @@ is nil, REGEXP matches only half a section.") | |||
| 93 | (function (lambda (file subexpr) | 93 | (function (lambda (file subexpr) |
| 94 | (setq compilation-error-list | 94 | (setq compilation-error-list |
| 95 | (cons | 95 | (cons |
| 96 | (cons (set-marker (make-marker) | 96 | (cons (save-excursion |
| 97 | (match-beginning subexpr) | 97 | ;; Report location of message |
| 98 | (current-buffer)) | 98 | ;; at beginning of line. |
| 99 | (goto-char | ||
| 100 | (match-beginning subexpr)) | ||
| 101 | (beginning-of-line) | ||
| 102 | (point-marker)) | ||
| 103 | ;; Report location of corresponding text. | ||
| 99 | (let ((line (string-to-int | 104 | (let ((line (string-to-int |
| 100 | (buffer-substring | 105 | (buffer-substring |
| 101 | (match-beginning subexpr) | 106 | (match-beginning subexpr) |
diff --git a/src/s/sol2.h b/src/s/sol2.h new file mode 100644 index 00000000000..e3b7b2d0378 --- /dev/null +++ b/src/s/sol2.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #include "s-usg5-4.h" | ||
| 2 | |||
| 3 | #define POSIX | ||
| 4 | |||
| 5 | /* Here is how to find X Windows. */ | ||
| 6 | #define LD_SWITCH_SYSTEM -L/usr/openwin/lib | ||
| 7 | #define C_SWITCH_X_SYSTEM -I/usr/openwin/include | ||
| 8 | |||
| 9 | /* Compile in non-ansi fashion to work around bugs in system header files. */ | ||
| 10 | #ifndef __GNUC__ | ||
| 11 | #define C_SWITCH_SYSTEM -Xs | ||
| 12 | #else /* GCC */ | ||
| 13 | #define C_SWITCH_SYSTEM -traditional | ||
| 14 | #endif /* GCC */ | ||
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h index 9ec1f14d56a..2c7139230d4 100644 --- a/src/s/usg5-4.h +++ b/src/s/usg5-4.h | |||
| @@ -31,9 +31,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 31 | 31 | ||
| 32 | #undef NOMULTIPLEJOBS | 32 | #undef NOMULTIPLEJOBS |
| 33 | 33 | ||
| 34 | #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o | 34 | #define LIBS_SYSTEM -lsocket -lnsl -lelf |
| 35 | #define ORDINARY_LINK | ||
| 35 | 36 | ||
| 36 | #define LIB_STANDARD -lsocket -lnsl -lelf -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o | 37 | #if 0 /* These should be unnecessary now because of ORDINARY_LINK. */ |
| 38 | #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o | ||
| 39 | #define LIB_STANDARD -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o | ||
| 40 | #endif | ||
| 37 | 41 | ||
| 38 | /* No <sioctl.h> */ | 42 | /* No <sioctl.h> */ |
| 39 | 43 | ||