Mercurial > emacs
diff src/s/aix4-2.h @ 107462:6efbd7584cd8
Simplify LIBS_MACHINE definitions.
* m/hp800.h (LIBS_MACHINE): Remove, same as default.
* m/iris4d.h (LIBS_MACHINE): Likewise.
* m/ibmrs6000.h (LIBS_MACHINE): Rename to LIBS_SYSTEM and move ...
* s/aix4-2.h (LIBS_SYSTEM): ... here.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 22 Mar 2010 19:39:19 -0700 |
parents | f18ffe3db4b2 |
children | dbd787c249c5 |
line wrap: on
line diff
--- a/src/s/aix4-2.h Mon Mar 22 20:59:49 2010 -0400 +++ b/src/s/aix4-2.h Mon Mar 22 19:39:19 2010 -0700 @@ -95,6 +95,15 @@ #define LIB_STANDARD +/* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless + on older versions of X where it happens to exist. */ +#ifdef HAVE_LIBPTHREADS +#define LIBS_SYSTEM -lrts -lIM -liconv -lpthreads +#else +/* IBM's X11R5 use -lIM and -liconv in AIX 3.2.2. */ +#define LIBS_SYSTEM -lrts -lIM -liconv +#endif + /* Use terminfo instead of termcap. */ #define TERMINFO