From 01239f72293504374354d89dcc1ecb8297f1929b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 23 Jun 1994 23:53:35 +0000 Subject: [PATCH] Move #undef HAVE_STRERROR before the #includes. --- src/config.in | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/src/config.in b/src/config.in index 70d2a251ce6..2d7e730fef1 100644 --- a/src/config.in +++ b/src/config.in @@ -140,6 +140,10 @@ and this notice must be preserved on all copies. */ #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 @@ typedef unsigned long EMACS_UINT; #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 @@ typedef unsigned long EMACS_UINT; #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. -- 2.39.5