# Sed script to add DJGPP specific issues to config.h.

/^.*__error_t_defined.*/d

/^#define error_t int$/d

/.*#undef HAVE_ERROR_T.*/ c\
#define HAVE_ERROR_T 1

/.*#undef HAVE_ARGZ_ADD.*/ c\
#define HAVE_ARGZ_ADD 1

/.*#undef HAVE_ARGZ_APPEND.*/ c\
#define HAVE_ARGZ_APPEND 1

/.*#undef HAVE_ARGZ_COUNT.*/ c\
#define HAVE_ARGZ_COUNT 1

/.*#undef HAVE_ARGZ_CREATE_SEP.*/ c\
#define HAVE_ARGZ_CREATE_SEP 1

/.*#undef HAVE_ARGZ_H.*/ c\
#define HAVE_ARGZ_H 1

/.*#undef HAVE_ARGZ_INSERT.*/ c\
#define HAVE_ARGZ_ADD 1

/.*#undef HAVE_ARGZ_NEXT.*/ c\
#define HAVE_ARGZ_NEXT 1

/.*#undef HAVE_ARGZ_STRINGIFY.*/ c\
#define HAVE_ARGZ_STRINGIFY 1


$ i\
\
/*\
 *  Provide missing functions through libsupp.a.\
 */\
#ifdef __DJGPP__\
# include <libsupp.h>\
#endif
