aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorEli Zaretskii2010-03-28 09:04:11 -0400
committerEli Zaretskii2010-03-28 09:04:11 -0400
commite7dbdb6dfc3ffdc25f8d32a43683500f596d9784 (patch)
treee7e73d34fe234175f7da59690ec5abf6f73b89a7 /src/s
parent34689d3c1ad54fd463d5f20c64bb1ac655dc5741 (diff)
parent22ef1944028e9ac89a9717439b175ce3230a4ba1 (diff)
downloademacs-e7dbdb6dfc3ffdc25f8d32a43683500f596d9784.tar.gz
emacs-e7dbdb6dfc3ffdc25f8d32a43683500f596d9784.zip
Merge from mainline.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix4-2.h11
-rw-r--r--src/s/gnu-linux.h3
-rw-r--r--src/s/netbsd.h2
3 files changed, 11 insertions, 5 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index a1abf13466d..93869db6bca 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -95,6 +95,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
95 95
96#define LIB_STANDARD 96#define LIB_STANDARD
97 97
98/* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless
99 on older versions of X where it happens to exist. */
100#ifdef HAVE_LIBPTHREADS
101#define LIBS_SYSTEM -lrts -lIM -liconv -lpthreads
102#else
103/* IBM's X11R5 use -lIM and -liconv in AIX 3.2.2. */
104#define LIBS_SYSTEM -lrts -lIM -liconv
105#endif
106
98/* Use terminfo instead of termcap. */ 107/* Use terminfo instead of termcap. */
99 108
100#define TERMINFO 109#define TERMINFO
@@ -170,5 +179,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
170 179
171#define UNEXEC unexaix.o 180#define UNEXEC unexaix.o
172 181
182#define ORDINARY_LINK
183
173/* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562 184/* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562
174 (do not change this comment) */ 185 (do not change this comment) */
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index ae2eaa43c06..0c198de26d8 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -207,9 +207,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
207#define C_DEBUG_SWITCH 207#define C_DEBUG_SWITCH
208#endif 208#endif
209 209
210/* alane@wozzle.linet.org says that -lipc is not a separate library,
211 since libc-4.4.1. So -lipc was deleted. */
212#define LIBS_SYSTEM
213/* _BSD_SOURCE is redundant, at least in glibc2, since we define 210/* _BSD_SOURCE is redundant, at least in glibc2, since we define
214 _GNU_SOURCE. Left in in case it's relevant to libc5 systems and 211 _GNU_SOURCE. Left in in case it's relevant to libc5 systems and
215 anyone's still using Emacs on those. --fx 2002-12-14 */ 212 anyone's still using Emacs on those. --fx 2002-12-14 */
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 1af4c94d105..5552aece50a 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -26,8 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26 26
27#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 27#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
28 28
29/* -lutil is not needed for NetBSD >0.9. */
30/* #define LIBS_SYSTEM -lutil */
31#define LIBS_TERMCAP -ltermcap 29#define LIBS_TERMCAP -ltermcap
32 30
33#define NEED_ERRNO 31#define NEED_ERRNO