diff options
| author | Dan Nicolaescu | 2010-04-23 15:18:49 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-04-23 15:18:49 -0700 |
| commit | 879b0ee46ed139f2263c0f34917aeeb15f9269bf (patch) | |
| tree | f7047b6d30a5b82213c6da0f6652d298fbb7c0fd /src | |
| parent | 03cbbcb8e8b107b90cad3dbef1ef7c051c384735 (diff) | |
| download | emacs-879b0ee46ed139f2263c0f34917aeeb15f9269bf.tar.gz emacs-879b0ee46ed139f2263c0f34917aeeb15f9269bf.zip | |
Remove redundant flags.
* s/freebsd.h (C_SWITCH_SYSTEM):
* s/hpux10-20.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
* s/netbsd.h (C_SWITCH_SYSTEM):
* s/openbsd.h (LD_SWITCH_X_DEFAULT): Remove, configure takes care
of these.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/s/freebsd.h | 7 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 5 | ||||
| -rw-r--r-- | src/s/netbsd.h | 7 | ||||
| -rw-r--r-- | src/s/openbsd.h | 4 |
5 files changed, 7 insertions, 23 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b88ea4108ae..d1ca5ac7886 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2010-04-23 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2010-04-23 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | Remove redundant flags. | ||
| 4 | * s/freebsd.h (C_SWITCH_SYSTEM): | ||
| 5 | * s/hpux10-20.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT): | ||
| 6 | * s/netbsd.h (C_SWITCH_SYSTEM): | ||
| 7 | * s/openbsd.h (LD_SWITCH_X_DEFAULT): Remove, configure takes care | ||
| 8 | of these. | ||
| 9 | |||
| 3 | Simplify m/intel386.h. | 10 | Simplify m/intel386.h. |
| 4 | * m/intel386.h (CRT0_DUMMIES): Remove, inline value in the only | 11 | * m/intel386.h (CRT0_DUMMIES): Remove, inline value in the only |
| 5 | user: ecrt0.c. | 12 | user: ecrt0.c. |
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index ce90f3f99e0..d8aaa833265 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h | |||
| @@ -69,13 +69,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 69 | ioctl TIOCSCTTY. */ | 69 | ioctl TIOCSCTTY. */ |
| 70 | #define DONT_REOPEN_PTY | 70 | #define DONT_REOPEN_PTY |
| 71 | 71 | ||
| 72 | /* The following is needed to make `configure' find Xpm, Xaw3d and | ||
| 73 | image include and library files if using /usr/bin/gcc. That | ||
| 74 | compiler seems to be modified to not find headers in | ||
| 75 | /usr/local/include or libs in /usr/local/lib by default. */ | ||
| 76 | |||
| 77 | #define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib | ||
| 78 | |||
| 79 | /* Circumvent a bug in FreeBSD. In the following sequence of | 72 | /* Circumvent a bug in FreeBSD. In the following sequence of |
| 80 | writes/reads on a PTY, read(2) returns bogus data: | 73 | writes/reads on a PTY, read(2) returns bogus data: |
| 81 | 74 | ||
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index 0ac37cb3c87..b7dab37760e 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -153,11 +153,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 153 | We used to use -lc -lcurses, but this may be cleaner. */ | 153 | We used to use -lc -lcurses, but this may be cleaner. */ |
| 154 | #define LIBS_TERMCAP -ltermcap | 154 | #define LIBS_TERMCAP -ltermcap |
| 155 | 155 | ||
| 156 | /* However, HPUX 10 puts Xaw and Xmu in a strange place | ||
| 157 | (if you install them at all). So search that place. */ | ||
| 158 | #define C_SWITCH_X_SYSTEM -I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/Motif1.2 -I/usr/contrib/X11R6/include -I/usr/contrib/X11R5/include | ||
| 159 | #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R6 -L/usr/lib/X11R5 -L/usr/lib/Motif1.2 -L/usr/contrib/X11R5/lib | ||
| 160 | |||
| 161 | /* 2000-11-21: Temporarily disable Unix 98 large file support found by | 156 | /* 2000-11-21: Temporarily disable Unix 98 large file support found by |
| 162 | configure. It fails on HPUX 11, at least, because it enables | 157 | configure. It fails on HPUX 11, at least, because it enables |
| 163 | header sections which lose when `static' is defined away, as it is | 158 | header sections which lose when `static' is defined away, as it is |
diff --git a/src/s/netbsd.h b/src/s/netbsd.h index d9c6a1fd3f3..ee5d5b3f898 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h | |||
| @@ -49,13 +49,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 49 | #define LD_SWITCH_SYSTEM_tmp `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` | 49 | #define LD_SWITCH_SYSTEM_tmp `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` |
| 50 | #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib | 50 | #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib |
| 51 | 51 | ||
| 52 | /* The following is needed to make `configure' find Xpm, Xaw3d and | ||
| 53 | image include and library files if using /usr/bin/gcc. That | ||
| 54 | compiler seems to be modified to not find headers in | ||
| 55 | /usr/local/include or libs in /usr/local/lib by default. */ | ||
| 56 | |||
| 57 | #define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib | ||
| 58 | |||
| 59 | /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears | 52 | /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears |
| 60 | the library search parth, i.e. it won't search /usr/lib | 53 | the library search parth, i.e. it won't search /usr/lib |
| 61 | for libc and friends. Using -nostartfiles instead avoids | 54 | for libc and friends. Using -nostartfiles instead avoids |
diff --git a/src/s/openbsd.h b/src/s/openbsd.h index c71aea4c9d4..461af7f3964 100644 --- a/src/s/openbsd.h +++ b/src/s/openbsd.h | |||
| @@ -23,9 +23,5 @@ | |||
| 23 | is necessary, otherwise Emacs dumps core on elf systems. */ | 23 | is necessary, otherwise Emacs dumps core on elf systems. */ |
| 24 | #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z | 24 | #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z |
| 25 | 25 | ||
| 26 | /* The version of gcc on OpenBSD doesn't search /usr/local/lib by | ||
| 27 | default. */ | ||
| 28 | #define LD_SWITCH_X_DEFAULT -L/usr/local/lib | ||
| 29 | |||
| 30 | /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 | 26 | /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 |
| 31 | (do not change this comment) */ | 27 | (do not change this comment) */ |