From: Richard M. Stallman Date: Sat, 28 May 1994 04:33:35 +0000 (+0000) Subject: (LIB_STANDARD): Add -u and -lansi options. X-Git-Tag: emacs-19.34~8138 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=41d5a50ddede6fb6bcb0607ef93165280f3aeb99;p=emacs.git (LIB_STANDARD): Add -u and -lansi options. --- diff --git a/src/s/sunos4-1.h b/src/s/sunos4-1.h index 241024249a8..2104e87cf6a 100644 --- a/src/s/sunos4-1.h +++ b/src/s/sunos4-1.h @@ -39,3 +39,13 @@ /* Tell GNU malloc to compensate for a bug in localtime. */ #define SUNOS_LOCALTIME_BUG #endif + +/* This is for compilation with acc. It works with -Xt but not with -Xs. + Note you will need to specify a -L option so that -lansi gets found. + The precise -L option you need depends on the compiler version + so we cannot specify it here. */ +#ifndef __GNUC__ +#ifdef __STDC__ +#define LIB_STANDARD -u _fix_libc_ -lansi -lc +#endif +#endif