# HG changeset patch # User Richard M. Stallman # Date 772415615 0 # Node ID 6094b85c40d120f035c0e917e3718b370a071dbd # Parent bedead77e86fb737a4e79d055bfa86eada4f6e5f Move #undef HAVE_STRERROR before the #includes. diff -r bedead77e86f -r 6094b85c40d1 src/config.in --- a/src/config.in Thu Jun 23 23:12:13 1994 +0000 +++ b/src/config.in Thu Jun 23 23:53:35 1994 +0000 @@ -140,6 +140,10 @@ #undef HAVE_AIX_SMT_EXP +/* Define if you have the ANSI `strerror' function. + Otherwise you must have the variable `char *sys_errlist[]'. */ +#undef HAVE_STRERROR + /* Define if `sys_siglist' is declared by . */ #undef SYS_SIGLIST_DECLARED @@ -247,10 +251,6 @@ #define BSTRING #endif -/* Define if you have the ANSI `strerror' function. - Otherwise you must have the variable `char *sys_errlist[]'. */ -#undef HAVE_STRERROR - /* Non-ANSI C compilers usually don't have volatile. */ #ifndef HAVE_VOLATILE #ifndef __STDC__ @@ -258,19 +258,6 @@ #endif #endif -#if 0 /* This should be taken care of by autoconf now. */ -/* joe@zircon.uucp says that in order to use XFree386, you have to - link against -lXbsd, which insists on defining the random - function. - faith@cs.unc.edu says this is bogus for Linux and several other OS's. - Eventually, we should have autoconf test for this. Anyone want to - submit a patch? */ -#if defined (HAVE_XFREE386) && !defined (LINUX) -#define LIBX11_SYSTEM -lXbsd -#define HAVE_RANDOM -#endif -#endif - /* Some of the files of Emacs which are intended for use with other programs assume that if you have a config.h file, you must declare the type of getenv.