From beffc8bb49c190789b3bc969d11fc90c369608ae Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 21 Dec 1997 02:44:46 +0000 Subject: [PATCH] (LIBX11_SYSTEM) [HAVE_LIBINTL and MOTIF]: Add -lintl. --- src/s/sco4.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/s/sco4.h b/src/s/sco4.h index 2610dfbe0f0..33b19d5c802 100644 --- a/src/s/sco4.h +++ b/src/s/sco4.h @@ -71,7 +71,12 @@ Boston, MA 02111-1307, USA. */ /* This is safe since we already assumed HAVE_SOCKET if using X windows. */ #undef LIBX11_SYSTEM +/* Motif needs -lintl on some (maybe all) ofthese systems. */ +#if defined (HAVE_LIBINTL) && defined (MOTIF) +#define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lc_s -lsocket -lintl +#else #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lc_s -lsocket +#endif #ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */ #define HAVE_SOCKETS -- 2.39.2