$NetBSD: patch-ax,v 1.1 2002/03/23 02:36:49 wiz Exp $ --- new-src/config.h.in.orig Fri Mar 22 10:42:32 2002 +++ new-src/config.h.in Fri Mar 22 10:44:05 2002 @@ -10,8 +10,6 @@ * you that towards the end of the process). * */ -#if !defined(_new_src_config_h_) -# define _new_src_config_h_ /* Define to empty if the keyword does not work. */ #undef const @@ -52,12 +50,25 @@ /* Define vfork as fork if vfork does not work. */ #undef vfork +/* Define if your processor stores words with the most significant + byte first (like Motorola and SPARC, unlike Intel and VAX). */ +#undef WORDS_BIGENDIAN + +/* these are here to silence autoreconf */ +#undef FORCE_STDOUT_LBUF +#undef NEEDS_MINSHORT +#undef NEEDS_SAFE_FCLOSE +#undef HAVE_INLINE + /* Define if you have the getcwd function. */ #undef HAVE_GETCWD /* Define if you have the getopt_long function. */ #undef HAVE_GETOPT_LONG +/* Define if you have the itoa function. */ +#undef HAVE_ITOA + /* Define if you have the putenv function. */ #undef HAVE_PUTENV @@ -76,9 +87,6 @@ /* Define if you have the strtoul function. */ #undef HAVE_STRTOUL -/* Define if you have the itoa function. */ -#undef HAVE_ITOA - /* Define if you have the header file. */ #undef HAVE_FCNTL_H @@ -106,50 +114,6 @@ /* Define if you have the header file. */ #undef HAVE_UNISTD_H -/* Define if you need the safe_close() function */ -#undef NEEDS_SAFE_FCLOSE - -/* Define if you need the safe_close() function */ -#undef NEEDS_MINSHORT - -/* Define if you need the safe_close() function */ -#undef FORCE_STDOUT_LBUF - -/* Define if your compiler supports the inline keyword */ -#undef HAVE_INLINE - -/* Define if you have the fltk toolkit library */ +/* yes */ #undef HAVE_FLTK -#if defined(NEEDS_MINSHORT) -# if HAVE_LIMITS_H -# include -# endif /* HAVE_LIMITS_H */ -# define MINSHORT SHRT_MIN -#endif /* defined(HAVE_SHRT_MIN) */ - -#if defined(NEEDS_SAFE_FCLOSE) -# include -# define fclose safe_fclose - - int safe_fclose(FILE *); -#endif /* defined(NEEDS_SAFE_FCLOSE) */ - -#if defined(HAVE_INLINE) -# define INLINE inline -#else -# define INLINE /* empty on purpose */ -#endif /* defined(HAVE_INLINE) */ - -#if !defined(HAVE_ITOA) -# if defined(__cplusplus) - extern "C" - { -# endif /* defined(__cplusplus) */ - char* itoa(int, char *, int);/* add substitute definition */ -# if defined(__cplusplus) - }; -# endif /* defined(__cplusplus) */ -#endif /* !defined(HAVE_ITOA) */ - -#endif /* !defined(_new_src_config_h_) */