diff options
Diffstat (limited to 'gettext-runtime/Makefile.am')
-rw-r--r-- | gettext-runtime/Makefile.am | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/gettext-runtime/Makefile.am b/gettext-runtime/Makefile.am index 3e93b1da3..ad095fb2a 100644 --- a/gettext-runtime/Makefile.am +++ b/gettext-runtime/Makefile.am @@ -48,84 +48,6 @@ ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi -I $(srcdir)/doc --no-validate nls.texi -# VMS support. - -config.h_vms: config.h.in ../version.sh - (echo '#define KEEP_CRTL_SETLOCALE 1'; echo '#include <vms_jackets.h>'; echo '#undef realpath'; \ - sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \ - -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ - -e 's/#undef HAVE_DLFCN_H$$/#define HAVE_DLFCN_H 1/' \ - -e 's/#undef HAVE_ERRNO_DECL$$/#define HAVE_ERRNO_DECL 1/' \ - -e 's/#undef HAVE_FWPRINTF$$/#define HAVE_FWPRINTF 1/' \ - -e 's/#undef HAVE_GETCWD$$/#define HAVE_GETCWD 1/' \ - -e 's/#undef HAVE_GETEGID$$/#define HAVE_GETEGID 1/' \ - -e 's/#undef HAVE_GETEUID$$/#define HAVE_GETEUID 1/' \ - -e 's/#undef HAVE_GETGID$$/#define HAVE_GETGID 1/' \ - -e 's/#undef HAVE_GETPAGESIZE$$/#define HAVE_GETPAGESIZE 1/' \ - -e 's/#undef HAVE_GETUID$$/#define HAVE_GETUID 1/' \ - -e 's/#undef HAVE_ICONV$$/#define HAVE_ICONV 1/' \ - -e 's/#undef HAVE_INTTYPES_H$$/#define HAVE_INTTYPES_H 1/' \ - -e 's/#undef HAVE_LANGINFO_CODESET$$/#define HAVE_LANGINFO_CODESET 1/' \ - -e 's/#undef HAVE_LC_MESSAGES$$/#define HAVE_LC_MESSAGES 1/' \ - -e 's/#undef HAVE_LIMITS_H$$/#define HAVE_LIMITS_H 1/' \ - -e 's/#undef HAVE_LONG_DOUBLE$$/#define HAVE_LONG_DOUBLE 1/' \ - -e 's/#undef HAVE_LONG_LONG$$/#define HAVE_LONG_LONG 1/' \ - -e 's/#undef HAVE_MEMMOVE$$/#define HAVE_MEMMOVE 1/' \ - -e 's/#undef HAVE_MEMORY_H$$/#define HAVE_MEMORY_H 1/' \ - -e 's/#undef HAVE_MMAP$$/#define HAVE_MMAP 1/' \ - -e 's/#undef HAVE_MUNMAP$$/#define HAVE_MUNMAP 1/' \ - -e 's/#undef HAVE_POSIX_PRINTF$$/#define HAVE_POSIX_PRINTF 1/' \ - -e 's/#undef HAVE_PTRDIFF_T$$/#define HAVE_PTRDIFF_T 1/' \ - -e 's/#undef HAVE_PUTENV$$/#define HAVE_PUTENV 1/' \ - -e 's/#undef HAVE_READLINK$$/#define HAVE_READLINK 1/' \ - -e 's/#undef HAVE_SETENV$$/#define HAVE_SETENV 1/' \ - -e 's/#undef HAVE_SETLOCALE$$/#define HAVE_SETLOCALE 1/' \ - -e 's/#undef HAVE_STDBOOL_H$$/#define HAVE_STDBOOL_H 1/' \ - -e 's/#undef HAVE_STDDEF_H$$/#define HAVE_STDDEF_H 1/' \ - -e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \ - -e 's/#undef HAVE_STRCASECMP$$/#define HAVE_STRCASECMP 1/' \ - -e 's/#undef HAVE_STRDUP$$/#define HAVE_STRDUP 1/' \ - -e 's/#undef HAVE_STRERROR$$/#define HAVE_STRERROR 1/' \ - -e 's/#undef HAVE_STRINGS_H$$/#define HAVE_STRINGS_H 1/' \ - -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \ - -e 's/#undef HAVE_STRSTR$$/#define HAVE_STRSTR 1/' \ - -e 's/#undef HAVE_STRTOUL$$/#define HAVE_STRTOUL 1/' \ - -e 's/#undef HAVE_SYS_PARAM_H$$/#define HAVE_SYS_PARAM_H 1/' \ - -e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \ - -e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \ - -e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \ - -e 's/#undef HAVE_UNSETENV$$/#define HAVE_UNSETENV 1/' \ - -e 's/#undef HAVE_UNSIGNED_LONG_LONG$$/#define HAVE_UNSIGNED_LONG_LONG 1/' \ - -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \ - -e 's/#undef HAVE_WCSLEN$$/#define HAVE_WCSLEN 1/' \ - -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ - -e 's/#undef HAVE_WPRINTF$$/#define HAVE_WPRINTF 1/' \ - -e 's/#undef ICONV_CONST$$/#define ICONV_CONST/' \ - -e 's/#undef MALLOC_0_IS_NONNULL$$/#define MALLOC_0_IS_NONNULL 0/' \ - -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ - -e 's/#undef USE_UNLOCKED_IO$$/#define USE_UNLOCKED_IO 1/' \ - -e 's/#undef __GETOPT_PREFIX$$/#define __GETOPT_PREFIX/' \ - -e 's/#undef realpath$$/#define realpath rpl_realpath/' \ - -e 's/#undef uintmax_t$$/#define uintmax_t unsigned long long/' \ - -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-runtime"/' \ - -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \ - < $(srcdir)/config.h.in; echo; echo '#define alloca __ALLOCA') > $@ -# vms_jackets.h is a header that comes with Compaq's "porting library". -# KEEP_CRTL_SETLOCALE tells it to not override the native locale support. - -intl/libgnuintl.h_vms: intl/libgnuintl.h.in - sed -e '/IN_LIBGLOCALE/d' \ - -e 's,@''HAVE_POSIX_PRINTF''@,1,g ' \ - -e 's,@''HAVE_ASPRINTF''@,0,g' \ - -e 's,@''HAVE_SNPRINTF''@,0,g' \ - -e 's,@''HAVE_WPRINTF''@,1,g' \ - < $(srcdir)/intl/libgnuintl.h.in > $@ - -all-local: intl/libgnuintl.h_vms - -EXTRA_DIST += Makefile.vms config.h_vms - - # Woe32 support. config.h.msvc: config.h.in ../version.sh |