s/#undef PACKAGE$/#define PACKAGE "gettext"/
s/#undef VERSION/#define VERSION "0.10.23"/
s/#undef PACKAGE_VERSION/#define PACKAGE_VERSION PACKAGE##VERSION/
s/#undef ENABLE_NLS/#define ENABLE_NLS 1/
s/#undef USE_BINARY_FOPEN/#define USE_BINARY_FOPEN 1/
s/#undef HAVE_GETPAGESIZE/#define HAVE_GETPAGESIZE 1/
s/#undef HAVE_FCNTL_H/#define HAVE_FCNTL_H 1/
s/#undef HAVE_STDDEF_H/#define HAVE_STDDEF_H 1/
s/#undef HAVE_STDLIB_H/#define HAVE_STDLIB_H 1/
s/#undef HAVE_STRING_H/#define HAVE_STRING_H 1/
s/#undef HAVE_SYS_FILE_H/#define HAVE_SYS_FILE_H 1/
s/#undef HAVE_SYS_TIME_H/#define HAVE_SYS_TIME_H 1/
s/#undef HAVE_TIME_H/#define HAVE_TIME_H 1/
s/#undef HAVE_UNISTD_H/#define HAVE_UNISTD_H 1/
s/#undef HAVE_TERMIOS_H/#define HAVE_TERMIOS_H 1/
s/#undef HAVE_SYS_WAIT_H/#define HAVE_SYS_WAIT_H 1/
s/#undef HAVE_TIME_T_IN_TIME_H/#define HAVE_TIME_T_IN_TIME_H 1/
s/#undef HAVE_VARARGS_H/#define HAVE_VARARGS_H 1/
s/#undef HAVE_UNISTD_H/#define HAVE_UNISTD_H 1/
s/#undef HAVE_ALLOCA_H/#define HAVE_ALLOCA_H 1/
s/#undef HAVE_ALLOCA/#define HAVE_ALLOCA 1/
s/#undef HAVE_REMOVE/#define HAVE_REMOVE 1/
s/#undef HAVE_SBRK/#define HAVE_SBRK 1/
s/#undef HAVE_UNLINK/#define HAVE_UNLINK 1/
s/#undef HAVE_ERRNO_H/#define HAVE_ERRNO_H 1/
s/#undef HAVE_MEMORY_H/#define HAVE_MEMORY_H 1/
s/#undef HAVE_STDARG_H/#define HAVE_STDARG_H 1/
s/#undef HAVE_VPRINTF/#define HAVE_VPRINTF 1/
s/#undef HAVE_GETCWD/#define HAVE_GETCWD 1/
s/#undef HAVE_LOCALE_H/#define HAVE_LOCALE_H 1/
s/#undef HAVE_LIMITS_H/#define HAVE_LIMITS_H 1/
s/#undef HAVE_MALLOC_H/#define HAVE_MALLOC_H 1/
s/#undef HAVE_VALUES_H/#define HAVE_VALUES_H 1/
s/#undef HAVE_STPCPY/#define HAVE_STPCPY 1/
s/#undef HAVE_MEMCPY/#define HAVE_MEMCPY 1/
s/#undef HAVE_SETENV/#define HAVE_SETENV 1/
s/#undef HAVE_GETENV/#define HAVE_GETENV 1/
s/#undef HAVE_PUTENV/#define HAVE_PUTENV 1/
s/#undef HAVE_STRCHR/#define HAVE_STRCHR 1/
s/#undef HAVE_STRCASECMP/#define HAVE_STRCASECMP 1/
s/#undef HAVE_SETLOCALE/#define HAVE_SETLOCALE 1/
s/#undef HAVE_STRERROR/#define HAVE_STRERROR 1/
s/#undef HAVE_UNAME/#define HAVE_UNAME 1/

s,^#undef .*$,/* & */,