unhook and delete diffutils/gettext
This commit is contained in:
parent
fd0f3f527a
commit
fe8efd354c
|
@ -1,10 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.141 2016/01/12 22:59:53 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.142 2016/01/13 03:40:49 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR+= bc
|
||||
SUBDIR+= c89 c99
|
||||
SUBDIR+= dc diffutils
|
||||
SUBDIR+= dc
|
||||
SUBDIR+= rcs send-pr texinfo
|
||||
|
||||
.if ${MKGROFF} != "no"
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2007/02/18 22:44:44 rmind Exp $
|
||||
|
||||
# We don't use GNU cmp and GNU sdiff, but have our own
|
||||
|
||||
SUBDIR= lib .WAIT diff diff3 # sdiff cmp
|
||||
|
||||
.include <bsd.subdir.mk>
|
|
@ -1,18 +0,0 @@
|
|||
# $NetBSD: Makefile.inc,v 1.2 2003/01/26 06:51:04 elric Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
WARNS= 0
|
||||
|
||||
IDIST= ${NETBSDSRCDIR}/gnu/dist/diffutils
|
||||
|
||||
CPPFLAGS+= -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H \
|
||||
-I${.CURDIR}/../include -I${IDIST}/lib
|
||||
|
||||
DOBJDIR!= cd $(.CURDIR)/../lib && ${PRINTOBJDIR}
|
||||
|
||||
LIBDIFFUTILS= ${DOBJDIR}/libdiffutils.a
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.endif
|
|
@ -1,14 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
DIST= ${IDIST}/src
|
||||
.PATH: ${DIST} ${IDIST}/man
|
||||
|
||||
PROG= cmp
|
||||
SRCS= cmp.c version.c
|
||||
|
||||
DPADD+= ${LIBDIFFUTILS}
|
||||
LDADD+= ${LIBDIFFUTILS}
|
||||
|
||||
.include <bsd.prog.mk>
|
|
@ -1,23 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.4 2012/04/04 10:59:46 joerg Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
DIST= ${IDIST}/src
|
||||
.PATH: ${DIST} ${IDIST}/doc ${IDIST}/man
|
||||
|
||||
PROG= diff
|
||||
SRCS= analyze.c context.c diff.c dir.c ed.c ifdef.c io.c \
|
||||
normal.c side.c util.c version.c
|
||||
|
||||
DPADD+= ${LIBDIFFUTILS}
|
||||
LDADD+= ${LIBDIFFUTILS}
|
||||
|
||||
INFOFLAGS= -I${IDIST}/doc
|
||||
TEXINFO= diff.texi
|
||||
|
||||
COPTS.ifdef.c = -Wno-stack-protector
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-unused-value -Wno-string-plus-int
|
||||
|
||||
.include <bsd.info.mk>
|
||||
.include <bsd.prog.mk>
|
|
@ -1,16 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2011/05/26 12:56:27 joerg Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
DIST= ${IDIST}/src
|
||||
.PATH: ${DIST} ${IDIST}/man
|
||||
|
||||
PROG= diff3
|
||||
SRCS= diff3.c version.c
|
||||
|
||||
DPADD+= ${LIBDIFFUTILS}
|
||||
LDADD+= ${LIBDIFFUTILS}
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-unused-value
|
||||
|
||||
.include <bsd.prog.mk>
|
|
@ -1,516 +0,0 @@
|
|||
/* config.h. Generated by configure. */
|
||||
/* config.hin. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to 1 if the `closedir' function returns void instead of `int'. */
|
||||
/* #undef CLOSEDIR_VOID */
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
/* #undef CRAY_STACKSEG_END */
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
/* #undef C_ALLOCA */
|
||||
|
||||
/* Name of "diff" program, unless overridden. */
|
||||
#define DEFAULT_DIFF_PROGRAM "diff"
|
||||
|
||||
/* Name of editor program, unless overridden. */
|
||||
#define DEFAULT_EDITOR_PROGRAM "ed"
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Define on systems for which file names may have a so-called `drive letter'
|
||||
prefix, define this to compute the length of that prefix, including the
|
||||
colon. */
|
||||
#define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0
|
||||
|
||||
/* Define if the backslash character may also serve as a file name component
|
||||
separator. */
|
||||
#define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0
|
||||
|
||||
#if FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX
|
||||
# define FILESYSTEM_PREFIX_LEN(Filename) \
|
||||
((Filename)[0] && (Filename)[1] == ':' ? 2 : 0)
|
||||
#else
|
||||
# define FILESYSTEM_PREFIX_LEN(Filename) 0
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
/* #undef HAVE_ALLOCA_H */
|
||||
|
||||
/* Define to 1 if you have the `bcopy' function. */
|
||||
#define HAVE_BCOPY 1
|
||||
|
||||
/* Define to 1 if you have the `btowc' function. */
|
||||
/* #undef HAVE_BTOWC */
|
||||
|
||||
/* Define to 1 if you have the `bzero' function. */
|
||||
#define HAVE_BZERO 1
|
||||
|
||||
/* Define to 1 if you have the `clock_gettime' function. */
|
||||
#define HAVE_CLOCK_GETTIME 1
|
||||
|
||||
/* Define if backslash-a works in C strings. */
|
||||
#define HAVE_C_BACKSLASH_A 1
|
||||
|
||||
/* Define to 1 if C supports variable-length arrays. */
|
||||
#define HAVE_C_VARARRAYS 1
|
||||
|
||||
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||
*/
|
||||
/* #undef HAVE_DCGETTEXT */
|
||||
|
||||
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_CLEARERR_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_FEOF_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FERROR_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FFLUSH_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FGETS_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FPUTC_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FPUTS_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FREAD_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FWRITE_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_GETCHAR_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_GETC_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
|
||||
*/
|
||||
#define HAVE_DECL_GETENV 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_PUTCHAR_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_PUTC_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strerror', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRERROR_R 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoimax', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRTOIMAX 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtol', and to 0 if you don't.
|
||||
*/
|
||||
#define HAVE_DECL_STRTOL 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoul', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRTOUL 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRTOULL 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoumax', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRTOUMAX 1
|
||||
|
||||
/* Define to 1 if you have the `diraccess' function. */
|
||||
/* #undef HAVE_DIRACCESS */
|
||||
|
||||
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#define HAVE_DIRENT_H 1
|
||||
|
||||
/* Define if the malloc check has been performed. */
|
||||
#define HAVE_DONE_WORKING_MALLOC_CHECK 1
|
||||
|
||||
/* Define if the realloc check has been performed. */
|
||||
#define HAVE_DONE_WORKING_REALLOC_CHECK 1
|
||||
|
||||
/* Define to 1 if you have the `doprnt' function. */
|
||||
/* #undef HAVE_DOPRNT */
|
||||
|
||||
/* Define to 1 if you have the `dup2' function. */
|
||||
#define HAVE_DUP2 1
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define to 1 if your system has a working `fnmatch' function. */
|
||||
/* WIZ: #undef HAVE_FNMATCH */
|
||||
#define HAVE_FNMATCH 1
|
||||
|
||||
/* Define to 1 if you have the `fork' function. */
|
||||
#define HAVE_FORK 1
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
/* #undef HAVE_GETTEXT */
|
||||
|
||||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
#define HAVE_GETTIMEOFDAY 1
|
||||
|
||||
/* Define if you have the iconv() function. */
|
||||
/* #undef HAVE_ICONV */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `isascii' function. */
|
||||
#define HAVE_ISASCII 1
|
||||
|
||||
/* Define to 1 if you have the `iswprint' function. */
|
||||
#define HAVE_ISWPRINT 1
|
||||
|
||||
/* Define to 1 if you have the <libintl.h> header file. */
|
||||
#define HAVE_LIBINTL_H 1
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define to 1 if you have the `localtime_r' function. */
|
||||
#define HAVE_LOCALTIME_R 1
|
||||
|
||||
/* Define if you have the long long type. */
|
||||
#define HAVE_LONG_LONG 1
|
||||
|
||||
/* Define to 1 if you have the `mblen' function. */
|
||||
#define HAVE_MBLEN 1
|
||||
|
||||
/* Define to 1 if you have the `mbrlen' function. */
|
||||
#define HAVE_MBRLEN 1
|
||||
|
||||
/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
|
||||
#define HAVE_MBRTOWC 1
|
||||
|
||||
/* Define to 1 if you have the `memchr' function. */
|
||||
#define HAVE_MEMCHR 1
|
||||
|
||||
/* Define to 1 if you have the `memcpy' function. */
|
||||
#define HAVE_MEMCPY 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mempcpy' function. */
|
||||
/* #undef HAVE_MEMPCPY */
|
||||
|
||||
/* Define to 1 if you have the `memset' function. */
|
||||
#define HAVE_MEMSET 1
|
||||
|
||||
/* Define to 1 if you have the `mkstemp' function. */
|
||||
#define HAVE_MKSTEMP 1
|
||||
|
||||
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||
/* #undef HAVE_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define to 1 if you have the DOS-style `setmode' function. */
|
||||
/* #undef HAVE_SETMODE_DOS */
|
||||
|
||||
/* Define to 1 if you have the `sigaction' function. */
|
||||
#define HAVE_SIGACTION 1
|
||||
|
||||
/* Define to 1 if the system has the type `siginfo_t'. */
|
||||
#define HAVE_SIGINFO_T 1
|
||||
|
||||
/* Define to 1 if you have the `sigprocmask' function. */
|
||||
#define HAVE_SIGPROCMASK 1
|
||||
|
||||
/* Define to 1 if the system has the type `stack_t'. */
|
||||
#define HAVE_STACK_T 1
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
/* #undef HAVE_STDBOOL_H */
|
||||
|
||||
/* Define to 1 if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the `strcasecmp' function. */
|
||||
#define HAVE_STRCASECMP 1
|
||||
|
||||
/* Define to 1 if you have the `strchr' function. */
|
||||
#define HAVE_STRCHR 1
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the `strerror_r' function. */
|
||||
/* #undef HAVE_STRERROR_R */
|
||||
|
||||
/* Define to 1 if you have the `strftime' function. */
|
||||
#define HAVE_STRFTIME 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strtoul' function. */
|
||||
/* #undef HAVE_STRTOUL */
|
||||
|
||||
/* Define to 1 if you have the `strtoull' function. */
|
||||
/* #undef HAVE_STRTOULL */
|
||||
|
||||
/* Define to 1 if you have the `strtoumax' function. */
|
||||
#define HAVE_STRTOUMAX 1
|
||||
|
||||
/* Define to 1 if `st_blksize' is member of `struct stat'. */
|
||||
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
|
||||
|
||||
/* Define to 1 if `st_rdev' is member of `struct stat'. */
|
||||
#define HAVE_STRUCT_STAT_ST_RDEV 1
|
||||
|
||||
/* Define to 1 if `tm_zone' is member of `struct tm'. */
|
||||
#define HAVE_STRUCT_TM_TM_ZONE 1
|
||||
|
||||
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_DIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/file.h> header file. */
|
||||
#define HAVE_SYS_FILE_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#define HAVE_SYS_TIME_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
|
||||
#define HAVE_SYS_WAIT_H 1
|
||||
|
||||
/* Define to 1 if you have the <time.h> header file. */
|
||||
#define HAVE_TIME_H 1
|
||||
|
||||
/* Define to 1 if you have the `tmpnam' function. */
|
||||
#define HAVE_TMPNAM 1
|
||||
|
||||
/* Define if struct tm has the tm_gmtoff member. */
|
||||
#define HAVE_TM_GMTOFF 1
|
||||
|
||||
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
|
||||
`HAVE_STRUCT_TM_TM_ZONE' instead. */
|
||||
#define HAVE_TM_ZONE 1
|
||||
|
||||
/* Define to 1 if you don't have `tm_zone' but do have the external array
|
||||
`tzname'. */
|
||||
/* #undef HAVE_TZNAME */
|
||||
|
||||
/* Define to 1 if you have the `tzset' function. */
|
||||
#define HAVE_TZSET 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define if you have the unsigned long long type. */
|
||||
#define HAVE_UNSIGNED_LONG_LONG 1
|
||||
|
||||
/* Define to 1 if you have the `vfork' function. */
|
||||
#define HAVE_VFORK 1
|
||||
|
||||
/* Define to 1 if you have the <vfork.h> header file. */
|
||||
/* #undef HAVE_VFORK_H */
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#define HAVE_VPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `waitpid' function. */
|
||||
#define HAVE_WAITPID 1
|
||||
|
||||
/* Define to 1 if you have the <wchar.h> header file. */
|
||||
#define HAVE_WCHAR_H 1
|
||||
|
||||
/* Define to 1 if you have the <wctype.h> header file. */
|
||||
#define HAVE_WCTYPE_H 1
|
||||
|
||||
/* Define to 1 if `fork' works. */
|
||||
#define HAVE_WORKING_FORK 1
|
||||
|
||||
/* Define to 1 if `vfork' works. */
|
||||
#define HAVE_WORKING_VFORK 1
|
||||
|
||||
/* Define to 1 if extending the stack slightly past the limit causes a
|
||||
SIGSEGV, and an alternate stack can be established with sigaltstack, and
|
||||
the signal handler is passed a context that specifies the run time stack.
|
||||
This behavior is defined by POSIX 1003.1-2001 with the X/Open System
|
||||
Interface (XSI) option and is a standardized way to implement a SEGV-based
|
||||
stack overflow detection heuristic. */
|
||||
/* #undef HAVE_XSI_STACK_OVERFLOW_HEURISTIC */
|
||||
|
||||
/* Define to 1 if you have the `__secure_getenv' function. */
|
||||
/* #undef HAVE___SECURE_GETENV */
|
||||
|
||||
#if FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
|
||||
# define ISSLASH(C) ((C) == '/' || (C) == '\\')
|
||||
#else
|
||||
# define ISSLASH(C) ((C) == '/')
|
||||
#endif
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "diffutils"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "bug-gnu-utils@gnu.org"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "GNU diffutils"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "GNU diffutils 2.8.1"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "diffutils"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "2.8.1"
|
||||
|
||||
/* Define if compiler has function prototypes */
|
||||
#define PROTOTYPES 1
|
||||
|
||||
/* Name of "pr" program. */
|
||||
#define PR_PROGRAM "/usr/bin/pr"
|
||||
|
||||
/* Define to 1 to avoid alloca in the regular-expression implementation. */
|
||||
#define REGEX_MALLOC 1
|
||||
|
||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||
#define RETSIGTYPE void
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at run-time.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
/* #undef STACK_DIRECTION */
|
||||
|
||||
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
||||
/* #undef STAT_MACROS_BROKEN */
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if strerror_r returns char *. */
|
||||
/* #undef STRERROR_R_CHAR_P */
|
||||
|
||||
/* Define to be the nanoseconds member of struct stat's st_mtim, if it exists.
|
||||
*/
|
||||
/* #undef ST_MTIM_NSEC */
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#define TIME_WITH_SYS_TIME 1
|
||||
|
||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||
/* #undef TM_IN_SYS_TIME */
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.8.1"
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Enable Solaris extensions. */
|
||||
#define __EXTENSIONS__ 1
|
||||
|
||||
/* Define like PROTOTYPES; this can be used by system headers. */
|
||||
#define __PROTOTYPES 1
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
|
||||
if it is not supported. */
|
||||
/* #undef inline */
|
||||
|
||||
/* Define to widest signed type if <inttypes.h> doesn't define. */
|
||||
/* #undef intmax_t */
|
||||
|
||||
/* Define to rpl_malloc if the replacement function should be used. */
|
||||
/* #undef malloc */
|
||||
|
||||
/* Define to a type if <wchar.h> does not define. */
|
||||
/* #undef mbstate_t */
|
||||
|
||||
/* Define to the name of the strftime replacement function. */
|
||||
#define my_strftime nstrftime
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
/* #undef pid_t */
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
/* #undef ptrdiff_t */
|
||||
|
||||
/* Define to rpl_realloc if the replacement function should be used. */
|
||||
/* #undef realloc */
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
/* #undef ssize_t */
|
||||
|
||||
/* Define to widest unsigned type if <inttypes.h> doesn't define. */
|
||||
/* #undef uintmax_t */
|
||||
|
||||
/* Define as `fork' if `vfork' does not work. */
|
||||
/* #undef vfork */
|
|
@ -1,69 +0,0 @@
|
|||
/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
|
||||
|
||||
NOTE: The canonical source of this file is maintained with the GNU C Library.
|
||||
Bugs can be reported to bug-glibc@prep.ai.mit.edu.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by the
|
||||
Free Software Foundation; either version 2, or (at your option) any
|
||||
later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifndef _FNMATCH_H
|
||||
|
||||
#define _FNMATCH_H 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
|
||||
#undef __P
|
||||
#define __P(protos) protos
|
||||
#else /* Not C++ or ANSI C. */
|
||||
#undef __P
|
||||
#define __P(protos) ()
|
||||
/* We can get away without defining `const' here only because in this file
|
||||
it is used only inside the prototype for `fnmatch', which is elided in
|
||||
non-ANSI C where `const' is problematical. */
|
||||
#endif /* C++ or ANSI C. */
|
||||
|
||||
|
||||
/* We #undef these before defining them because some losing systems
|
||||
(HP-UX A.08.07 for example) define these in <unistd.h>. */
|
||||
#undef FNM_PATHNAME
|
||||
#undef FNM_NOESCAPE
|
||||
#undef FNM_PERIOD
|
||||
|
||||
/* Bits set in the FLAGS argument to `fnmatch'. */
|
||||
#define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */
|
||||
#define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */
|
||||
#define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */
|
||||
|
||||
#if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined (_GNU_SOURCE)
|
||||
#define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
|
||||
#define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */
|
||||
#define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */
|
||||
#endif
|
||||
|
||||
/* Value returned by `fnmatch' if STRING does not match PATTERN. */
|
||||
#define FNM_NOMATCH 1
|
||||
|
||||
/* Match STRING against the filename pattern PATTERN,
|
||||
returning zero if it matches, FNM_NOMATCH if not. */
|
||||
extern int fnmatch __P ((const char *__pattern, const char *__string,
|
||||
int __flags));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* fnmatch.h */
|
|
@ -1,46 +0,0 @@
|
|||
#ifndef _REGEX_H
|
||||
#include <posix/regex.h>
|
||||
|
||||
/* Document internal interfaces. */
|
||||
extern reg_syntax_t __re_set_syntax _RE_ARGS ((reg_syntax_t syntax));
|
||||
|
||||
extern const char *__re_compile_pattern
|
||||
_RE_ARGS ((const char *pattern, size_t length,
|
||||
struct re_pattern_buffer *buffer));
|
||||
|
||||
extern int __re_compile_fastmap _RE_ARGS ((struct re_pattern_buffer *buffer));
|
||||
|
||||
extern int __re_search
|
||||
_RE_ARGS ((struct re_pattern_buffer *buffer, const char *string,
|
||||
int length, int start, int range, struct re_registers *regs));
|
||||
|
||||
extern int __re_search_2
|
||||
_RE_ARGS ((struct re_pattern_buffer *buffer, const char *string1,
|
||||
int length1, const char *string2, int length2,
|
||||
int start, int range, struct re_registers *regs, int stop));
|
||||
|
||||
extern int __re_match
|
||||
_RE_ARGS ((struct re_pattern_buffer *buffer, const char *string,
|
||||
int length, int start, struct re_registers *regs));
|
||||
|
||||
extern int __re_match_2
|
||||
_RE_ARGS ((struct re_pattern_buffer *buffer, const char *string1,
|
||||
int length1, const char *string2, int length2,
|
||||
int start, struct re_registers *regs, int stop));
|
||||
|
||||
extern void __re_set_registers
|
||||
_RE_ARGS ((struct re_pattern_buffer *buffer, struct re_registers *regs,
|
||||
unsigned num_regs, regoff_t *starts, regoff_t *ends));
|
||||
|
||||
extern int __regcomp _RE_ARGS ((regex_t *__preg, const char *__pattern,
|
||||
int __cflags));
|
||||
|
||||
extern int __regexec _RE_ARGS ((const regex_t *__preg,
|
||||
const char *__string, size_t __nmatch,
|
||||
regmatch_t __pmatch[], int __eflags));
|
||||
|
||||
extern size_t __regerror _RE_ARGS ((int __errcode, const regex_t *__preg,
|
||||
char *__errbuf, size_t __errbuf_size));
|
||||
|
||||
extern void __regfree _RE_ARGS ((regex_t *__preg));
|
||||
#endif
|
|
@ -1,19 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.4 2011/05/26 12:56:28 joerg Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
LIB= diffutils
|
||||
|
||||
DIST= ${IDIST}/lib
|
||||
.PATH: ${DIST}
|
||||
|
||||
SRCS= basename.c c-stack.c cmpbuf.c error.c exclude.c exitfail.c \
|
||||
freesoft.c \
|
||||
hard-locale.c imaxtostr.c offtostr.c prepargs.c posixver.c quotesys.c \
|
||||
regex.c setmode.c strftime.c umaxtostr.c xmalloc.c xstrtoumax.c
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-unused-value -Wno-tautological-compare
|
||||
|
||||
.include <bsd.lib.mk>
|
|
@ -1,14 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
DIST= ${IDIST}/src
|
||||
.PATH: ${DIST} ${IDIST}/man
|
||||
|
||||
PROG= sdiff
|
||||
SRCS= sdiff.c version.c
|
||||
|
||||
DPADD+= ${LIBDIFFUTILS}
|
||||
LDADD+= ${LIBDIFFUTILS}
|
||||
|
||||
.include <bsd.prog.mk>
|
|
@ -1,13 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.6 2015/06/03 14:42:51 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR= libgrep libnlsut libnlspr info .WAIT \
|
||||
msgattrib msgcat msgcmp msgcomm msgconv msgen msgfilter \
|
||||
msgfmt msginit msgmerge msgunfmt msguniq xgettext
|
||||
|
||||
.if ${MKNLS} != "no"
|
||||
SUBDIR+=locale
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
|
@ -1,12 +0,0 @@
|
|||
# $NetBSD: Makefile.inc,v 1.7 2011/05/26 12:56:28 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
DIST= ${NETBSDSRCDIR}/gnu/dist
|
||||
|
||||
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${.CURDIR}/../include \
|
||||
-I${DIST}/gettext/gettext-tools/lib -DLOCALEDIR=\"/usr/share/locale\"
|
||||
|
||||
BINDIR?= /usr/bin
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-format-security
|
|
@ -1,25 +0,0 @@
|
|||
# $NetBSD: Makefile.inc.prog,v 1.7 2006/06/02 22:16:22 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIBNLSPRDIR!= cd ${.CURDIR}/../libnlspr && ${PRINTOBJDIR}
|
||||
LDADD+= -L${LIBNLSPRDIR} -lnlspr
|
||||
DPADD+= ${LIBNLSPRDIR}/libnlspr.a
|
||||
|
||||
LIBNLSUTDIR!= cd ${.CURDIR}/../libnlsut && ${PRINTOBJDIR}
|
||||
DPADD+= ${LIBNLSUTDIR}/libnlsut.a
|
||||
LDADD+= -L${LIBNLSUTDIR} -lnlsut
|
||||
|
||||
LDADD+= -lintl
|
||||
DPADD+= ${LIBINTL}
|
||||
|
||||
.if defined(PROG) && ${PROG} == "gettext"
|
||||
TOOLTOP=${DIST}/gettext/gettext-runtime/src
|
||||
.else
|
||||
TOOLTOP=${DIST}/gettext/gettext-tools/src
|
||||
.PATH.1: ${DIST}/gettext/gettext-tools/man
|
||||
.endif
|
||||
MAN=${PROG}.1
|
||||
|
||||
.PATH: ${TOOLTOP}
|
||||
CPPFLAGS+= -I${TOOLTOP}
|
|
@ -1,11 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.4 2005/07/05 03:10:11 christos Exp $
|
||||
|
||||
PROG= gettext
|
||||
|
||||
CLEANFILES+=gettext.1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
||||
|
||||
gettext.1: ${DIST}/gettext/gettext-runtime/man/gettext.1.in
|
||||
cp $> $@
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.1 2000/11/02 01:09:02 itojun Exp $
|
||||
|
||||
SCRIPTS= gettextize
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,238 +0,0 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
|
||||
# This file is meant for authors or maintainers which want to
|
||||
# internationalize their package with the help of GNU gettext. For
|
||||
# further information how to use it consult the GNU gettext manual.
|
||||
|
||||
echo=echo
|
||||
progname=$0
|
||||
force=0
|
||||
configstatus=0
|
||||
origdir=`pwd`
|
||||
usage="\
|
||||
Usage: gettextize [OPTION]... [package-dir]
|
||||
--help print this help and exit
|
||||
--version print version information and exit
|
||||
-c, --copy copy files instead of making symlinks
|
||||
-f, --force force writing of new files even if old exist
|
||||
Report bugs to <bug-gnu-utils@prep.ai.mit.edu>."
|
||||
package=gettext
|
||||
version=0.10.35
|
||||
aclocal_version=
|
||||
try_ln_s=:
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-c | --copy | --c* )
|
||||
shift
|
||||
try_ln_s=false ;;
|
||||
-f | --force | --f* )
|
||||
shift
|
||||
force=1 ;;
|
||||
-r | --run | --r* )
|
||||
shift
|
||||
configstatus=1 ;;
|
||||
--help | --h* )
|
||||
$echo "$usage"; exit 0 ;;
|
||||
--version | --v* )
|
||||
echo "$progname (GNU $package) $version"
|
||||
$echo "Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
$echo "Written by" "Ulrich Drepper"
|
||||
exit 0 ;;
|
||||
-- ) # Stop option prcessing
|
||||
shift; break ;;
|
||||
-* )
|
||||
$echo "gettextize: unknown option $1"
|
||||
$echo "Try \`gettextize --help' for more information."; exit 1 ;;
|
||||
* )
|
||||
break ;;
|
||||
esac
|
||||
done
|
||||
|
||||
if test $# -gt 1; then
|
||||
$echo "$usage"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Fill in the command line options value.
|
||||
if test $# -eq 1; then
|
||||
srcdir=$1
|
||||
if cd $srcdir; then
|
||||
srcdir=`pwd`
|
||||
else
|
||||
$echo "Cannot change directory to \`$srcdir'"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
srcdir=$origdir
|
||||
fi
|
||||
|
||||
# Directory where the sources are stored.
|
||||
prefix=/usr/pkg
|
||||
gettext_dir=${prefix}/share/gettext
|
||||
aclocal_dir=${datadir}/aclocal
|
||||
|
||||
test -f configure.in || {
|
||||
$echo "Missing configure.in, please cd to your package first."
|
||||
exit 1
|
||||
}
|
||||
|
||||
if test -d intl && test $force -eq 0; then
|
||||
$echo "\
|
||||
intl/ subdirectory exists: use option -f if you really want to delete it."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -f po/Makefile.in.in && test $force -eq 0; then
|
||||
$echo "\
|
||||
po/Makefile.in.in exists: use option -f if you really want to delete it."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -f NLS && test $force -eq 0; then
|
||||
$echo "NLS exists: use option -f if you really want to delete it."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -fr intl
|
||||
mkdir intl || {
|
||||
$echo "failed to create intl/ subdirectory"
|
||||
exit 1;
|
||||
}
|
||||
|
||||
test -d po || mkdir po || {
|
||||
$echo "failed to create po/ subdirectory"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# For simplicity we changed to the gettext source directory.
|
||||
cd $gettext_dir
|
||||
|
||||
# Now copy all files. Take care for the destination directories.
|
||||
for file in *; do
|
||||
case $file in
|
||||
intl | po | demo)
|
||||
;;
|
||||
*)
|
||||
rm -f $srcdir/$file
|
||||
($try_ln_s && ln -s $gettext_dir/$file $srcdir/$file) 2>/dev/null ||
|
||||
cp $file $srcdir/$file
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Copy files to intl/ subdirectory.
|
||||
cd intl
|
||||
for file in *; do
|
||||
rm -f $srcdir/intl/$file
|
||||
($try_ln_s && ln -s $gettext_dir/intl/$file $srcdir/intl/$file) 2>/dev/null ||
|
||||
cp $file $srcdir/intl/$file
|
||||
done
|
||||
|
||||
# Copy files to po/ subdirectory.
|
||||
cd ../po
|
||||
for file in *; do
|
||||
rm -f $srcdir/po/$file
|
||||
($try_ln_s && ln -s $gettext_dir/po/$file $srcdir/po/$file) 2>/dev/null ||
|
||||
cp $file $srcdir/po/$file
|
||||
done
|
||||
|
||||
|
||||
# Check whether we can run config.status to produce intl/Makefile.in.
|
||||
cd $origdir
|
||||
if test -f ./config.status; then
|
||||
if test $configstatus -eq 0; then
|
||||
echo "Shall I run config.status? (y/N)"
|
||||
read ans
|
||||
case "$ans" in
|
||||
y* | Y* | 1* )
|
||||
configstatus=1 ;;
|
||||
* )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
test $configstatus -ne 0 &&
|
||||
(CONFIG_FILES=intl/Makefile CONFIG_HEADERS= ./config.status)
|
||||
fi
|
||||
|
||||
merge=no
|
||||
OLD_IFS="$IFS"
|
||||
IFS="."
|
||||
cntr=0
|
||||
major=0; minor=0; subminor=0
|
||||
for num in $aclocal_version; do
|
||||
case $cntr in
|
||||
0) major=$num;;
|
||||
1) minor=$num;;
|
||||
2) subminor=$num;;
|
||||
esac
|
||||
cntr=`expr $cntr + 1`
|
||||
done
|
||||
IFS="$OLD_IFS"
|
||||
|
||||
set `sed -e 's/.*Last updated for gettext-\([0-9][0-9]*\)\.\([0-9][0-9]*\)\.\([0-9][0-9]\)*.*/\1 \2 \3/p' -e d aclocal.m4` >/dev/null
|
||||
|
||||
|
||||
if test $# -lt 2 || test $# -gt 3; then
|
||||
merge=yes
|
||||
else
|
||||
here_major=$1; here_minor=$2
|
||||
if test $# -eq 2; then
|
||||
here_subminor=0
|
||||
else
|
||||
here_subminor=$3
|
||||
fi
|
||||
|
||||
if test $major -eq $here_major; then
|
||||
if test $minor -eq $here_minor; then
|
||||
if test $subminor -lt $here_subminor; then
|
||||
merge=gettext
|
||||
elif test $subminor -gt $here_subminor; then
|
||||
merge=yes
|
||||
fi
|
||||
else
|
||||
if test $minor -lt $here_minor; then
|
||||
merge=gettext
|
||||
else
|
||||
merge=yes
|
||||
fi
|
||||
fi
|
||||
else
|
||||
if test $major -lt $here_major; then
|
||||
merge=gettext
|
||||
else
|
||||
merge=yes
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$merge" = "yes"; then
|
||||
$echo "You should update your own \`aclocal.m4' by adding the necessary"
|
||||
$echo "macro packages gettext.m4, lcmessage.m4 and progtest.m4 from"
|
||||
$echo "the directory \`$aclocal_dir'"
|
||||
elif test "$merge" = "gettext"; then
|
||||
$echo "Your \`aclocal.m4' file is newer than the installed gettext"
|
||||
$echo "program. Consider upgrading to a recent GNU gettext version."
|
||||
fi
|
||||
|
||||
exit 0
|
|
@ -1,70 +0,0 @@
|
|||
/* Memory allocation on the stack.
|
||||
Copyright (C) 1995, 1999, 2001-2005 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published
|
||||
by the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public
|
||||
License along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
USA. */
|
||||
|
||||
/* When this file is included, it may be preceded only by preprocessor
|
||||
declarations. Thanks to AIX. Therefore we include it right after
|
||||
"config.h", not later. */
|
||||
|
||||
/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H
|
||||
means there is a real alloca function. */
|
||||
#ifndef _GNULIB_ALLOCA_H
|
||||
#define _GNULIB_ALLOCA_H
|
||||
|
||||
/* alloca(N) returns a pointer (void* or char*) to N bytes of memory
|
||||
allocated on the stack, and which will last until the function returns.
|
||||
Use of alloca should be avoided:
|
||||
- inside arguments of function calls - undefined behaviour,
|
||||
- in inline functions - the allocation may actually last until the
|
||||
calling function returns,
|
||||
- for huge N (say, N >= 65536) - you never know how large (or small)
|
||||
the stack is, and when the stack cannot fulfill the memory allocation
|
||||
request, the program just crashes.
|
||||
*/
|
||||
|
||||
#ifdef __GNUC__
|
||||
# ifndef alloca
|
||||
# define alloca __builtin_alloca
|
||||
# endif
|
||||
#else
|
||||
# ifdef _MSC_VER
|
||||
# include <malloc.h>
|
||||
# define alloca _alloca
|
||||
# else
|
||||
# if HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
# else
|
||||
# ifdef _AIX
|
||||
#pragma alloca
|
||||
# else
|
||||
# ifdef __hpux /* This section must match that of bison generated files. */
|
||||
# ifdef __cplusplus
|
||||
extern "C" void *alloca (unsigned int);
|
||||
# else /* not __cplusplus */
|
||||
extern void *alloca ();
|
||||
# endif /* not __cplusplus */
|
||||
# else /* not __hpux */
|
||||
# ifndef alloca
|
||||
extern char *alloca ();
|
||||
# endif
|
||||
# endif /* __hpux */
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* _GNULIB_ALLOCA_H */
|
|
@ -1,741 +0,0 @@
|
|||
/* config.h. Generated by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
|
||||
/* Default value for alignment of strings in .mo file. */
|
||||
#define DEFAULT_OUTPUT_ALIGNMENT 1
|
||||
|
||||
|
||||
/* Define to 1 if the `closedir' function returns void instead of `int'. */
|
||||
/* #undef CLOSEDIR_VOID */
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
/* #undef CRAY_STACKSEG_END */
|
||||
|
||||
/* Define if mono is the preferred C# implementation. */
|
||||
/* #undef CSHARP_CHOICE_MONO */
|
||||
|
||||
/* Define if pnet is the preferred C# implementation. */
|
||||
/* #undef CSHARP_CHOICE_PNET */
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
/* #undef C_ALLOCA */
|
||||
|
||||
/* Define to 1 if libexpat shall be dynamically loaded via dlopen(). */
|
||||
/* #undef DYNLOAD_LIBEXPAT */
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* Define to 1 if the package shall run at any location in the filesystem. */
|
||||
/* #undef ENABLE_RELOCATABLE */
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
/* #undef HAVE_ALLOCA_H */
|
||||
|
||||
/* Define to 1 if you have the <argz.h> header file. */
|
||||
/* #undef HAVE_ARGZ_H */
|
||||
|
||||
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
||||
#define HAVE_ARPA_INET_H 1
|
||||
|
||||
/* Define to 1 if you have the `asprintf' function. */
|
||||
#define HAVE_ASPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `atexit' function. */
|
||||
#define HAVE_ATEXIT 1
|
||||
|
||||
/* Define to 1 if you have the <bp-sym.h> header file. */
|
||||
/* #undef HAVE_BP_SYM_H */
|
||||
|
||||
/* Define to 1 if you have the `btowc' function. */
|
||||
#define HAVE_BTOWC 1
|
||||
|
||||
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
||||
/* #undef HAVE_CANONICALIZE_FILE_NAME */
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
|
||||
CoreFoundation framework. */
|
||||
/* #undef HAVE_CFLOCALECOPYCURRENT */
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
|
||||
the CoreFoundation framework. */
|
||||
/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
|
||||
|
||||
/* Define to 1 if you have the `chown' function. */
|
||||
#define HAVE_CHOWN 1
|
||||
|
||||
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||
*/
|
||||
/* #undef HAVE_DCGETTEXT */
|
||||
|
||||
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_CLEARERR_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_FEOF_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FERROR_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FFLUSH_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FGETS_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FPUTC_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FPUTS_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FREAD_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FWRITE_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_GETCHAR_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_GETC_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
|
||||
*/
|
||||
/* #undef HAVE_DECL_GETENV */
|
||||
|
||||
/* Define to 1 if you have a declaration of mbswidth() in <wchar.h>, and to 0
|
||||
otherwise. */
|
||||
#define HAVE_DECL_MBSWIDTH_IN_WCHAR_H 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_PUTCHAR_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_PUTC_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't.
|
||||
*/
|
||||
#define HAVE_DECL_STRDUP 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRERROR_R 0
|
||||
|
||||
/* Define to 1 if you have the declaration of wcwidth(), and to 0 otherwise.
|
||||
*/
|
||||
#define HAVE_DECL_WCWIDTH 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL__SNPRINTF 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL__SNWPRINTF 0
|
||||
|
||||
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#define HAVE_DIRENT_H 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||
/* #undef HAVE_DOPRNT */
|
||||
|
||||
/* Define if you have the declaration of environ. */
|
||||
/* #undef HAVE_ENVIRON_DECL */
|
||||
|
||||
/* Define if you have the declaration of errno. */
|
||||
/* #undef HAVE_ERRNO_DECL */
|
||||
|
||||
/* Define to 1 if you have the `fork' function. */
|
||||
#define HAVE_FORK 1
|
||||
|
||||
/* Define to 1 if you have the `fwprintf' function. */
|
||||
/* #undef HAVE_FWPRINTF */
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* Define to 1 if you have the `getdelim' function. */
|
||||
#define HAVE_GETDELIM 1
|
||||
|
||||
/* Define to 1 if you have the `getegid' function. */
|
||||
#define HAVE_GETEGID 1
|
||||
|
||||
/* Define to 1 if you have the `geteuid' function. */
|
||||
#define HAVE_GETEUID 1
|
||||
|
||||
/* Define to 1 if you have the `getgid' function. */
|
||||
#define HAVE_GETGID 1
|
||||
|
||||
/* Define to 1 if you have the `gethostbyname' function. */
|
||||
#define HAVE_GETHOSTBYNAME 1
|
||||
|
||||
/* Define to 1 if you have the `gethostname' function. */
|
||||
#define HAVE_GETHOSTNAME 1
|
||||
|
||||
/* Define to 1 if you have the <getopt.h> header file. */
|
||||
#define HAVE_GETOPT_H 1
|
||||
|
||||
/* Define to 1 if you have the `getopt_long_only' function. */
|
||||
/* #undef HAVE_GETOPT_LONG_ONLY */
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
/* #undef HAVE_GETTEXT */
|
||||
|
||||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
/* #undef HAVE_GETTIMEOFDAY */
|
||||
|
||||
/* Define to 1 if you have the `getuid' function. */
|
||||
#define HAVE_GETUID 1
|
||||
|
||||
/* Define if you have the iconv() function. */
|
||||
#define HAVE_ICONV 1
|
||||
|
||||
/* Define to 1 if you have the `inet_ntop' function. */
|
||||
#define HAVE_INET_NTOP 1
|
||||
|
||||
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
|
||||
#define HAVE_INTMAX_T 1
|
||||
|
||||
/* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
|
||||
declares uintmax_t. */
|
||||
#define HAVE_INTTYPES_H_WITH_UINTMAX 1
|
||||
|
||||
/* Define if <sys/socket.h> defines AF_INET6. */
|
||||
#define HAVE_IPV6 1
|
||||
|
||||
/* Define to 1 if you have the `isascii' function. */
|
||||
#define HAVE_ISASCII 1
|
||||
|
||||
/* Define to 1 if you have the `iswcntrl' function. */
|
||||
#define HAVE_ISWCNTRL 1
|
||||
|
||||
/* Define to 1 if you have the `iswprint' function. */
|
||||
#define HAVE_ISWPRINT 1
|
||||
|
||||
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
||||
#define HAVE_LANGINFO_CODESET 1
|
||||
|
||||
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
||||
#define HAVE_LC_MESSAGES 1
|
||||
|
||||
/* Define if you have the expat library. */
|
||||
/* #undef HAVE_LIBEXPAT */
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the 'long double' type. */
|
||||
#define HAVE_LONG_DOUBLE 1
|
||||
|
||||
/* Define to 1 if you support file names longer than 14 characters. */
|
||||
#define HAVE_LONG_FILE_NAMES 1
|
||||
|
||||
/* Define if you have the 'long long' type. */
|
||||
#define HAVE_LONG_LONG 1
|
||||
|
||||
/* Define to 1 if you have the <malloc.h> header file. */
|
||||
#define HAVE_MALLOC_H 1
|
||||
|
||||
/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
|
||||
#define HAVE_MBRTOWC 1
|
||||
|
||||
/* Define to 1 if you have the `mbsinit' function. */
|
||||
#define HAVE_MBSINIT 1
|
||||
|
||||
/* Define to 1 if you have the `mbsrtowcs' function. */
|
||||
/* #undef HAVE_MBSRTOWCS */
|
||||
|
||||
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
||||
#define HAVE_MBSTATE_T 1
|
||||
|
||||
/* Define to 1 if you have the `memchr' function. */
|
||||
#define HAVE_MEMCHR 1
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mempcpy' function. */
|
||||
/* #undef HAVE_MEMPCPY */
|
||||
|
||||
/* Define to 1 if you have the `memset' function. */
|
||||
#define HAVE_MEMSET 1
|
||||
|
||||
/* Define to 1 if you have the `mkdtemp' function. */
|
||||
#define HAVE_MKDTEMP 1
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
|
||||
/* Define to 1 if you have the `munmap' function. */
|
||||
#define HAVE_MUNMAP 1
|
||||
|
||||
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||
/* #undef HAVE_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the <nl_types.h> header file. */
|
||||
#define HAVE_NL_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `pathconf' function. */
|
||||
#define HAVE_PATHCONF 1
|
||||
|
||||
/* Define if your printf() function supports format strings with positions. */
|
||||
/* #undef HAVE_POSIX_PRINTF */
|
||||
|
||||
/* Define to 1 if you have the sigset_t type and the sigprocmask function. */
|
||||
#define HAVE_POSIX_SIGNALBLOCKING 1
|
||||
|
||||
/* Define to 1 if you have the `posix_spawn' function. */
|
||||
/* #undef HAVE_POSIX_SPAWN */
|
||||
|
||||
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
||||
#define HAVE_PTRDIFF_T 1
|
||||
|
||||
/* Define to 1 if you have the `putenv' function. */
|
||||
#define HAVE_PUTENV 1
|
||||
|
||||
/* Define to 1 if you have the <pwd.h> header file. */
|
||||
#define HAVE_PWD_H 1
|
||||
|
||||
/* Define to 1 if you have the `raise' function. */
|
||||
#define HAVE_RAISE 1
|
||||
|
||||
/* Define to 1 if you have the `readlink' function. */
|
||||
#define HAVE_READLINK 1
|
||||
|
||||
/* Define to 1 if you have the <search.h> header file. */
|
||||
/* #undef HAVE_SEARCH_H */
|
||||
|
||||
/* Define to 1 if you have the `select' function. */
|
||||
#define HAVE_SELECT 1
|
||||
|
||||
/* Define to 1 if you have the `setenv' function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define to 1 if <signal.h> defines the siginfo_t type, and struct sigaction
|
||||
has the sa_sigaction member and the SA_SIGINFO flag. */
|
||||
#define HAVE_SIGINFO 1
|
||||
|
||||
/* Define to 1 if the system has the type `sig_atomic_t'. */
|
||||
#define HAVE_SIG_ATOMIC_T 1
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#define HAVE_SNPRINTF 1
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#if (__GNUC__ >= 3)
|
||||
#define HAVE_STDBOOL_H 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
|
||||
uintmax_t. */
|
||||
#define HAVE_STDINT_H_WITH_UINTMAX 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the `stpcpy' function. */
|
||||
#define HAVE_STPCPY 1
|
||||
|
||||
/* Define if you have the stpncpy() function and it works. */
|
||||
#define HAVE_STPNCPY 1
|
||||
|
||||
/* Define to 1 if you have the `strcasecmp' function. */
|
||||
#define HAVE_STRCASECMP 1
|
||||
|
||||
/* Define to 1 if you have the `strcspn' function. */
|
||||
#define HAVE_STRCSPN 1
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#define HAVE_STRDUP 1
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the `strerror_r' function. */
|
||||
/* #undef HAVE_STRERROR_R */
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strncasecmp' function. */
|
||||
#define HAVE_STRNCASECMP 1
|
||||
|
||||
/* Define to 1 if you have the `strpbrk' function. */
|
||||
#define HAVE_STRPBRK 1
|
||||
|
||||
/* Define to 1 if you have the `strstr' function. */
|
||||
#define HAVE_STRSTR 1
|
||||
|
||||
/* Define to 1 if you have the `strtoul' function. */
|
||||
#define HAVE_STRTOUL 1
|
||||
|
||||
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_DIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#define HAVE_SYS_TIME_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <time.h> header file. */
|
||||
/* #undef HAVE_TIME_H */
|
||||
|
||||
/* Define to 1 if you have the `tsearch' function. */
|
||||
#define HAVE_TSEARCH 1
|
||||
|
||||
/* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
|
||||
#define HAVE_UINTMAX_T 1
|
||||
|
||||
/* Define to 1 if you have the `uname' function. */
|
||||
#define HAVE_UNAME 1
|
||||
|
||||
/* Define if <sys/wait.h> defines the 'union wait' type. */
|
||||
/* #undef HAVE_UNION_WAIT */
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the `unsetenv' function. */
|
||||
#define HAVE_UNSETENV 1
|
||||
|
||||
/* Define if you have the 'unsigned long long' type. */
|
||||
#define HAVE_UNSIGNED_LONG_LONG 1
|
||||
|
||||
/* Define to 1 if you have the `utime' function. */
|
||||
#define HAVE_UTIME 1
|
||||
|
||||
/* Define to 1 if you have the `utimes' function. */
|
||||
#define HAVE_UTIMES 1
|
||||
|
||||
/* Define to 1 if you have the <utime.h> header file. */
|
||||
#define HAVE_UTIME_H 1
|
||||
|
||||
/* Define to 1 if you have the <values.h> header file. */
|
||||
/* #undef HAVE_VALUES_H */
|
||||
|
||||
/* Define to 1 if you have the `vasprintf' function. */
|
||||
#define HAVE_VASPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `vfork' function. */
|
||||
#define HAVE_VFORK 1
|
||||
|
||||
/* Define to 1 if you have the <vfork.h> header file. */
|
||||
/* #undef HAVE_VFORK_H */
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#define HAVE_VPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `waitid' function. */
|
||||
/* #undef HAVE_WAITID */
|
||||
|
||||
/* Define to 1 if you have the `waitpid' function. */
|
||||
#define HAVE_WAITPID 1
|
||||
|
||||
/* Define to 1 if you have the <wchar.h> header file. */
|
||||
#define HAVE_WCHAR_H 1
|
||||
|
||||
/* Define if you have the 'wchar_t' type. */
|
||||
#define HAVE_WCHAR_T 1
|
||||
|
||||
/* Define to 1 if you have the `wcslen' function. */
|
||||
#define HAVE_WCSLEN 1
|
||||
|
||||
/* Define to 1 if you have the <wctype.h> header file. */
|
||||
#define HAVE_WCTYPE_H 1
|
||||
|
||||
/* Define to 1 if you have the `wcwidth' function. */
|
||||
#define HAVE_WCWIDTH 1
|
||||
|
||||
/* Define if you have the 'wint_t' type. */
|
||||
#define HAVE_WINT_T 1
|
||||
|
||||
/* Define to 1 if you have the `wmemchr' function. */
|
||||
/* #undef HAVE_WMEMCHR */
|
||||
|
||||
/* Define to 1 if you have the `wmemcpy' function. */
|
||||
/* #undef HAVE_WMEMCPY */
|
||||
|
||||
/* Define to 1 if you have the `wmempcpy' function. */
|
||||
/* #undef HAVE_WMEMPCPY */
|
||||
|
||||
/* Define to 1 if `fork' works. */
|
||||
#define HAVE_WORKING_FORK 1
|
||||
|
||||
/* Define to 1 if `vfork' works. */
|
||||
#define HAVE_WORKING_VFORK 1
|
||||
|
||||
/* Define to 1 if the system has the type `_Bool'. */
|
||||
#define HAVE__BOOL 1
|
||||
|
||||
/* Define to 1 if you have the `__argz_count' function. */
|
||||
/* #undef HAVE___ARGZ_COUNT */
|
||||
|
||||
/* Define to 1 if you have the `__argz_next' function. */
|
||||
/* #undef HAVE___ARGZ_NEXT */
|
||||
|
||||
/* Define to 1 if you have the `__argz_stringify' function. */
|
||||
/* #undef HAVE___ARGZ_STRINGIFY */
|
||||
|
||||
/* Define to 1 if you have the `__fsetlocking' function. */
|
||||
/* #undef HAVE___FSETLOCKING */
|
||||
|
||||
/* Define to 1 if you have the `__secure_getenv' function. */
|
||||
/* #undef HAVE___SECURE_GETENV */
|
||||
|
||||
/* Define as const if the declaration of iconv() needs const. */
|
||||
#define ICONV_CONST const
|
||||
|
||||
/* Define to the value of ${prefix}, as a string. */
|
||||
#define INSTALLPREFIX "/usr/local"
|
||||
|
||||
/* Define if integer division by zero raises signal SIGFPE. */
|
||||
#define INTDIV0_RAISES_SIGFPE 1
|
||||
|
||||
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
|
||||
#define MALLOC_0_IS_NONNULL 1
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "gettext-tools"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME ""
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING ""
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION ""
|
||||
|
||||
/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
|
||||
/* #undef PRI_MACROS_BROKEN */
|
||||
|
||||
/* Define as const if the declaration of setlocale() needs const. */
|
||||
#define SETLOCALE_CONST const
|
||||
|
||||
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
||||
it. */
|
||||
/* #undef SIZE_MAX */
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at run-time.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
/* #undef STACK_DIRECTION */
|
||||
|
||||
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
||||
/* #undef STAT_MACROS_BROKEN */
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if strerror_r returns char *. */
|
||||
/* #undef STRERROR_R_CHAR_P */
|
||||
|
||||
/* Define to 1 if you want getc etc. to use unlocked I/O if available.
|
||||
Unlocked I/O can improve performance in unithreaded apps, but it is not
|
||||
safe for multithreaded apps. */
|
||||
#define USE_UNLOCKED_IO 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.14.4"
|
||||
|
||||
/* Define if unsetenv() returns void, not int. */
|
||||
/* #undef VOID_UNSETENV */
|
||||
|
||||
/* Define to 1 if on AIX 3.
|
||||
System headers sometimes define this.
|
||||
We just want to avoid a redefinition error message. */
|
||||
#ifndef _ALL_SOURCE
|
||||
/* # undef _ALL_SOURCE */
|
||||
#endif
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
|
||||
/* Enable extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# define __EXTENSIONS__ 1
|
||||
#endif
|
||||
|
||||
/* Define to rpl_ if the getopt replacement functions and variables should be
|
||||
used. */
|
||||
#define __GETOPT_PREFIX rpl_
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define as 'access' if you don't have the eaccess() function. */
|
||||
#define eaccess access
|
||||
|
||||
/* Define to a replacement function name for fnmatch(). */
|
||||
/* #undef fnmatch */
|
||||
|
||||
/* Define to a replacement function name for getline(). */
|
||||
#define getline gnu_getline
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
/* Define to a type if <wchar.h> does not define. */
|
||||
/* #undef mbstate_t */
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
/* #undef mode_t */
|
||||
|
||||
/* Define to `long' if <sys/types.h> does not define. */
|
||||
/* #undef off_t */
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
/* #undef pid_t */
|
||||
|
||||
/* Define as the type of the result of subtracting two pointers, if the system
|
||||
doesn't define it. */
|
||||
/* #undef ptrdiff_t */
|
||||
|
||||
/* Define to a replacement function name for realpath(). */
|
||||
#define realpath rpl_realpath
|
||||
|
||||
/* Define to equivalent of C99 restrict keyword, or to nothing if this is not
|
||||
supported. Do not define if restrict is supported directly. */
|
||||
#define restrict __restrict
|
||||
|
||||
/* Define as an integer type suitable for memory locations that can be
|
||||
accessed atomically even in the presence of asynchnonous signals. */
|
||||
/* #undef sig_atomic_t */
|
||||
|
||||
/* Define to empty if the C compiler doesn't support this keyword. */
|
||||
/* #undef signed */
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
||||
/* Define as a signed type of the same size as size_t. */
|
||||
/* #undef ssize_t */
|
||||
|
||||
/* Define to unsigned long or unsigned long long if <stdint.h> and
|
||||
<inttypes.h> don't define. */
|
||||
/* #undef uintmax_t */
|
||||
|
||||
/* Define as `fork' if `vfork' does not work. */
|
||||
/* #undef vfork */
|
||||
|
||||
|
||||
/* A file name cannot consist of any character possible. INVALID_PATH_CHAR
|
||||
contains the characters not allowed. */
|
||||
#if defined _MSC_VER || defined __MINGW32__
|
||||
/* Woe32. This string is valid for Windows NT/2000. On Windows 95/98/ME some
|
||||
few characters in the range 0x80..0xff are invalid as well, but this doesn't
|
||||
matter much for our purposes. */
|
||||
# define INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\"*/:<>?\\|"
|
||||
#elif defined MSDOS
|
||||
/* Something like this for MSDOG. */
|
||||
# define INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 \177\\:."
|
||||
#else
|
||||
/* Unix. */
|
||||
# define INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 \177/"
|
||||
#endif
|
||||
|
||||
/* This is the page width for the message_print function. It should
|
||||
not be set to more than 79 characters (Emacs users will appreciate
|
||||
it). It is used to wrap the msgid and msgstr strings, and also to
|
||||
wrap the file position (#:) comments. */
|
||||
#define PAGE_WIDTH 79
|
||||
|
||||
/* On Windows, variables that may be in a DLL must be marked specially. */
|
||||
#if defined _MSC_VER && defined _DLL
|
||||
# define DLL_VARIABLE __declspec (dllimport)
|
||||
#else
|
||||
# define DLL_VARIABLE
|
||||
#endif
|
||||
|
||||
/* Extra OS/2 (emx+gcc) defines. */
|
||||
#ifdef __EMX__
|
||||
# include "intl/os2compat.h"
|
||||
#endif
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
#include <libintl.h>
|
||||
|
||||
#define gettext__ gettext
|
||||
#define dgettext__ dgettext
|
||||
#define dcgettext__ dcgettext
|
||||
#define textdomain__ textdomain
|
||||
#define bindtextdomain__ bindtextdomain
|
|
@ -1,383 +0,0 @@
|
|||
/* Message catalogs for internationalization.
|
||||
Copyright (C) 1995-1997, 2000-2004 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU Library General Public License as published
|
||||
by the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
USA. */
|
||||
|
||||
#ifndef _LIBINTL_H
|
||||
#define _LIBINTL_H 1
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
/* The LC_MESSAGES locale category is the category used by the functions
|
||||
gettext() and dgettext(). It is specified in POSIX, but not in ANSI C.
|
||||
On systems that don't define it, use an arbitrary value instead.
|
||||
On Solaris, <locale.h> defines __LOCALE_H (or _LOCALE_H in Solaris 2.5)
|
||||
then includes <libintl.h> (i.e. this file!) and then only defines
|
||||
LC_MESSAGES. To avoid a redefinition warning, don't define LC_MESSAGES
|
||||
in this case. */
|
||||
#if !defined LC_MESSAGES && !(defined __LOCALE_H || (defined _LOCALE_H && defined __sun))
|
||||
# define LC_MESSAGES 1729
|
||||
#endif
|
||||
|
||||
/* We define an additional symbol to signal that we use the GNU
|
||||
implementation of gettext. */
|
||||
#define __USE_GNU_GETTEXT 1
|
||||
|
||||
/* Provide information about the supported file formats. Returns the
|
||||
maximum minor revision number supported for a given major revision. */
|
||||
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) \
|
||||
((major) == 0 || (major) == 1 ? 1 : -1)
|
||||
|
||||
/* Resolve a platform specific conflict on DJGPP. GNU gettext takes
|
||||
precedence over _conio_gettext. */
|
||||
#ifdef __DJGPP__
|
||||
# undef gettext
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/* We redirect the functions to those prefixed with "libintl_". This is
|
||||
necessary, because some systems define gettext/textdomain/... in the C
|
||||
library (namely, Solaris 2.4 and newer, and GNU libc 2.0 and newer).
|
||||
If we used the unprefixed names, there would be cases where the
|
||||
definition in the C library would override the one in the libintl.so
|
||||
shared library. Recall that on ELF systems, the symbols are looked
|
||||
up in the following order:
|
||||
1. in the executable,
|
||||
2. in the shared libraries specified on the link command line, in order,
|
||||
3. in the dependencies of the shared libraries specified on the link
|
||||
command line,
|
||||
4. in the dlopen()ed shared libraries, in the order in which they were
|
||||
dlopen()ed.
|
||||
The definition in the C library would override the one in libintl.so if
|
||||
either
|
||||
* -lc is given on the link command line and -lintl isn't, or
|
||||
* -lc is given on the link command line before -lintl, or
|
||||
* libintl.so is a dependency of a dlopen()ed shared library but not
|
||||
linked to the executable at link time.
|
||||
Since Solaris gettext() behaves differently than GNU gettext(), this
|
||||
would be unacceptable.
|
||||
|
||||
The redirection happens by default through macros in C, so that &gettext
|
||||
is independent of the compilation unit, but through inline functions in
|
||||
C++, in order not to interfere with the name mangling of class fields or
|
||||
class methods called 'gettext'. */
|
||||
|
||||
/* The user can define _INTL_REDIRECT_INLINE or _INTL_REDIRECT_MACROS.
|
||||
If he doesn't, we choose the method. A third possible method is
|
||||
_INTL_REDIRECT_ASM, supported only by GCC. */
|
||||
#if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS)
|
||||
# if __GNUC__ >= 2 && !defined __APPLE_CC__ && !defined __MINGW32__ && !(__GNUC__ == 2 && defined _AIX) && (defined __STDC__ || defined __cplusplus)
|
||||
# define _INTL_REDIRECT_ASM
|
||||
# else
|
||||
# ifdef __cplusplus
|
||||
# define _INTL_REDIRECT_INLINE
|
||||
# else
|
||||
# define _INTL_REDIRECT_MACROS
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
/* Auxiliary macros. */
|
||||
#ifdef _INTL_REDIRECT_ASM
|
||||
# define _INTL_ASM(cname) __asm__ (_INTL_ASMNAME (__USER_LABEL_PREFIX__, #cname))
|
||||
# define _INTL_ASMNAME(prefix,cnamestring) _INTL_STRINGIFY (prefix) cnamestring
|
||||
# define _INTL_STRINGIFY(prefix) #prefix
|
||||
#else
|
||||
# define _INTL_ASM(cname)
|
||||
#endif
|
||||
|
||||
/* Look up MSGID in the current default message catalog for the current
|
||||
LC_MESSAGES locale. If not found, returns MSGID itself (the default
|
||||
text). */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern char *libintl_gettext (const char *__msgid);
|
||||
static inline char *gettext (const char *__msgid)
|
||||
{
|
||||
return libintl_gettext (__msgid);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define gettext libintl_gettext
|
||||
#endif
|
||||
extern char *gettext (const char *__msgid)
|
||||
_INTL_ASM (libintl_gettext);
|
||||
#endif
|
||||
|
||||
/* Look up MSGID in the DOMAINNAME message catalog for the current
|
||||
LC_MESSAGES locale. */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern char *libintl_dgettext (const char *__domainname, const char *__msgid);
|
||||
static inline char *dgettext (const char *__domainname, const char *__msgid)
|
||||
{
|
||||
return libintl_dgettext (__domainname, __msgid);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define dgettext libintl_dgettext
|
||||
#endif
|
||||
extern char *dgettext (const char *__domainname, const char *__msgid)
|
||||
_INTL_ASM (libintl_dgettext);
|
||||
#endif
|
||||
|
||||
/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
|
||||
locale. */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern char *libintl_dcgettext (const char *__domainname, const char *__msgid,
|
||||
int __category);
|
||||
static inline char *dcgettext (const char *__domainname, const char *__msgid,
|
||||
int __category)
|
||||
{
|
||||
return libintl_dcgettext (__domainname, __msgid, __category);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define dcgettext libintl_dcgettext
|
||||
#endif
|
||||
extern char *dcgettext (const char *__domainname, const char *__msgid,
|
||||
int __category)
|
||||
_INTL_ASM (libintl_dcgettext);
|
||||
#endif
|
||||
|
||||
|
||||
/* Similar to `gettext' but select the plural form corresponding to the
|
||||
number N. */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern char *libintl_ngettext (const char *__msgid1, const char *__msgid2,
|
||||
unsigned long int __n);
|
||||
static inline char *ngettext (const char *__msgid1, const char *__msgid2,
|
||||
unsigned long int __n)
|
||||
{
|
||||
return libintl_ngettext (__msgid1, __msgid2, __n);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define ngettext libintl_ngettext
|
||||
#endif
|
||||
extern char *ngettext (const char *__msgid1, const char *__msgid2,
|
||||
unsigned long int __n)
|
||||
_INTL_ASM (libintl_ngettext);
|
||||
#endif
|
||||
|
||||
/* Similar to `dgettext' but select the plural form corresponding to the
|
||||
number N. */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern char *libintl_dngettext (const char *__domainname, const char *__msgid1,
|
||||
const char *__msgid2, unsigned long int __n);
|
||||
static inline char *dngettext (const char *__domainname, const char *__msgid1,
|
||||
const char *__msgid2, unsigned long int __n)
|
||||
{
|
||||
return libintl_dngettext (__domainname, __msgid1, __msgid2, __n);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define dngettext libintl_dngettext
|
||||
#endif
|
||||
extern char *dngettext (const char *__domainname,
|
||||
const char *__msgid1, const char *__msgid2,
|
||||
unsigned long int __n)
|
||||
_INTL_ASM (libintl_dngettext);
|
||||
#endif
|
||||
|
||||
/* Similar to `dcgettext' but select the plural form corresponding to the
|
||||
number N. */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern char *libintl_dcngettext (const char *__domainname,
|
||||
const char *__msgid1, const char *__msgid2,
|
||||
unsigned long int __n, int __category);
|
||||
static inline char *dcngettext (const char *__domainname,
|
||||
const char *__msgid1, const char *__msgid2,
|
||||
unsigned long int __n, int __category)
|
||||
{
|
||||
return libintl_dcngettext (__domainname, __msgid1, __msgid2, __n, __category);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define dcngettext libintl_dcngettext
|
||||
#endif
|
||||
extern char *dcngettext (const char *__domainname,
|
||||
const char *__msgid1, const char *__msgid2,
|
||||
unsigned long int __n, int __category)
|
||||
_INTL_ASM (libintl_dcngettext);
|
||||
#endif
|
||||
|
||||
|
||||
/* Set the current default message catalog to DOMAINNAME.
|
||||
If DOMAINNAME is null, return the current default.
|
||||
If DOMAINNAME is "", reset to the default of "messages". */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern char *libintl_textdomain (const char *__domainname);
|
||||
static inline char *textdomain (const char *__domainname)
|
||||
{
|
||||
return libintl_textdomain (__domainname);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define textdomain libintl_textdomain
|
||||
#endif
|
||||
extern char *textdomain (const char *__domainname)
|
||||
_INTL_ASM (libintl_textdomain);
|
||||
#endif
|
||||
|
||||
/* Specify that the DOMAINNAME message catalog will be found
|
||||
in DIRNAME rather than in the system locale data base. */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern char *libintl_bindtextdomain (const char *__domainname,
|
||||
const char *__dirname);
|
||||
static inline char *bindtextdomain (const char *__domainname,
|
||||
const char *__dirname)
|
||||
{
|
||||
return libintl_bindtextdomain (__domainname, __dirname);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define bindtextdomain libintl_bindtextdomain
|
||||
#endif
|
||||
extern char *bindtextdomain (const char *__domainname, const char *__dirname)
|
||||
_INTL_ASM (libintl_bindtextdomain);
|
||||
#endif
|
||||
|
||||
/* Specify the character encoding in which the messages from the
|
||||
DOMAINNAME message catalog will be returned. */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern char *libintl_bind_textdomain_codeset (const char *__domainname,
|
||||
const char *__codeset);
|
||||
static inline char *bind_textdomain_codeset (const char *__domainname,
|
||||
const char *__codeset)
|
||||
{
|
||||
return libintl_bind_textdomain_codeset (__domainname, __codeset);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define bind_textdomain_codeset libintl_bind_textdomain_codeset
|
||||
#endif
|
||||
extern char *bind_textdomain_codeset (const char *__domainname,
|
||||
const char *__codeset)
|
||||
_INTL_ASM (libintl_bind_textdomain_codeset);
|
||||
#endif
|
||||
|
||||
|
||||
/* Support for format strings with positions in *printf(), following the
|
||||
POSIX/XSI specification.
|
||||
Note: These replacements for the *printf() functions are visible only
|
||||
in source files that #include <libintl.h> or #include "gettext.h".
|
||||
Packages that use *printf() in source files that don't refer to _()
|
||||
or gettext() but for which the format string could be the return value
|
||||
of _() or gettext() need to add this #include. Oh well. */
|
||||
|
||||
#if !0
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
||||
|
||||
/* Get va_list. */
|
||||
#if __STDC__ || defined __cplusplus || defined _MSC_VER
|
||||
# include <stdarg.h>
|
||||
#else
|
||||
# include <varargs.h>
|
||||
#endif
|
||||
|
||||
#undef fprintf
|
||||
#define fprintf libintl_fprintf
|
||||
extern int fprintf (FILE *, const char *, ...);
|
||||
#undef vfprintf
|
||||
#define vfprintf libintl_vfprintf
|
||||
extern int vfprintf (FILE *, const char *, va_list);
|
||||
|
||||
#undef printf
|
||||
#define printf libintl_printf
|
||||
extern int printf (const char *, ...);
|
||||
#undef vprintf
|
||||
#define vprintf libintl_vprintf
|
||||
extern int vprintf (const char *, va_list);
|
||||
|
||||
#undef sprintf
|
||||
#define sprintf libintl_sprintf
|
||||
extern int sprintf (char *, const char *, ...);
|
||||
#undef vsprintf
|
||||
#define vsprintf libintl_vsprintf
|
||||
extern int vsprintf (char *, const char *, va_list);
|
||||
|
||||
#if 1
|
||||
|
||||
#undef snprintf
|
||||
#define snprintf libintl_snprintf
|
||||
extern int snprintf (char *, size_t, const char *, ...);
|
||||
#undef vsnprintf
|
||||
#define vsnprintf libintl_vsnprintf
|
||||
extern int vsnprintf (char *, size_t, const char *, va_list);
|
||||
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
|
||||
#undef asprintf
|
||||
#define asprintf libintl_asprintf
|
||||
extern int asprintf (char **, const char *, ...);
|
||||
#undef vasprintf
|
||||
#define vasprintf libintl_vasprintf
|
||||
extern int vasprintf (char **, const char *, va_list);
|
||||
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
||||
#undef fwprintf
|
||||
#define fwprintf libintl_fwprintf
|
||||
extern int fwprintf (FILE *, const wchar_t *, ...);
|
||||
#undef vfwprintf
|
||||
#define vfwprintf libintl_vfwprintf
|
||||
extern int vfwprintf (FILE *, const wchar_t *, va_list);
|
||||
|
||||
#undef wprintf
|
||||
#define wprintf libintl_wprintf
|
||||
extern int wprintf (const wchar_t *, ...);
|
||||
#undef vwprintf
|
||||
#define vwprintf libintl_vwprintf
|
||||
extern int vwprintf (const wchar_t *, va_list);
|
||||
|
||||
#undef swprintf
|
||||
#define swprintf libintl_swprintf
|
||||
extern int swprintf (wchar_t *, size_t, const wchar_t *, ...);
|
||||
#undef vswprintf
|
||||
#define vswprintf libintl_vswprintf
|
||||
extern int vswprintf (wchar_t *, size_t, const wchar_t *, va_list);
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/* Support for relocatable packages. */
|
||||
|
||||
/* Sets the original and the current installation prefix of the package.
|
||||
Relocation simply replaces a pathname starting with the original prefix
|
||||
by the corresponding pathname with the current prefix instead. Both
|
||||
prefixes should be directory names without trailing slash (i.e. use ""
|
||||
instead of "/"). */
|
||||
#define libintl_set_relocation_prefix libintl_set_relocation_prefix
|
||||
extern void
|
||||
libintl_set_relocation_prefix (const char *orig_prefix,
|
||||
const char *curr_prefix);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* libintl.h */
|
|
@ -1,12 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.3 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
GETTEXTTOP=${NETBSDSRCDIR}/gnu/dist/gettext
|
||||
TEXINFO= gettext.texi
|
||||
INFOFLAGS= -I${GETTEXTTOP}/gettext-tools/doc \
|
||||
-I${GETTEXTTOP}/gettext-runtime/doc
|
||||
|
||||
.include <bsd.info.mk>
|
||||
|
||||
.PATH: ${GETTEXTTOP}/gettext-tools/doc
|
|
@ -1,30 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.7 2011/05/26 12:56:28 joerg Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= grep
|
||||
SRCS= \
|
||||
dfa.c \
|
||||
hard-locale.c \
|
||||
kwset.c \
|
||||
m-common.c \
|
||||
m-fgrep.c \
|
||||
m-regex.c \
|
||||
memchr.c \
|
||||
regex.c \
|
||||
strdup.c
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
.PATH: ${DIST}/gettext/gettext-tools/libgrep
|
||||
CPPFLAGS+= -I${DIST}/gettext/gettext-tools/libgrep
|
||||
|
||||
COPTS.regex.c = -Wno-stack-protector
|
||||
|
||||
WARNS?= 0 # pointer sign issues
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-unused-value
|
||||
|
||||
.include <bsd.lib.mk>
|
|
@ -1,99 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.10 2014/01/20 10:57:38 apb Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= nlspr
|
||||
SRCS= \
|
||||
dir-list.c \
|
||||
file-list.c \
|
||||
format.c \
|
||||
format-awk.c \
|
||||
format-c.c \
|
||||
format-csharp.c \
|
||||
format-elisp.c \
|
||||
format-gcc-internal.c \
|
||||
format-java.c \
|
||||
format-librep.c \
|
||||
format-lisp.c \
|
||||
format-pascal.c \
|
||||
format-perl-brace.c \
|
||||
format-perl.c \
|
||||
format-php.c \
|
||||
format-python.c \
|
||||
format-qt.c \
|
||||
format-scheme.c \
|
||||
format-sh.c \
|
||||
format-tcl.c \
|
||||
format-ycp.c \
|
||||
localcharset.c \
|
||||
message.c \
|
||||
msgl-ascii.c \
|
||||
msgl-cat.c \
|
||||
msgl-charset.c \
|
||||
msgl-english.c \
|
||||
msgl-equal.c \
|
||||
msgl-iconv.c \
|
||||
open-po.c \
|
||||
plural.c \
|
||||
plural-eval.c \
|
||||
plural-count.c \
|
||||
plural-table.c \
|
||||
po-charset.c \
|
||||
po-error.c \
|
||||
po-gram-gen.c \
|
||||
po-lex.c \
|
||||
po-time.c \
|
||||
read-csharp.c \
|
||||
read-java.c \
|
||||
read-mo.c \
|
||||
read-po-abstract.c \
|
||||
read-po.c \
|
||||
read-properties.c \
|
||||
read-resources.c \
|
||||
read-stringtable.c \
|
||||
read-tcl.c \
|
||||
str-list.c \
|
||||
write-csharp.c \
|
||||
write-java.c \
|
||||
write-mo.c \
|
||||
write-po.c \
|
||||
write-properties.c \
|
||||
write-qt.c \
|
||||
write-resources.c \
|
||||
write-stringtable.c \
|
||||
write-tcl.c
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
.PATH: ${DIST}/gettext/gettext-tools/src ${DIST}/gettext/gettext-tools/lib
|
||||
CPPFLAGS+=-I${DIST}/gettext/gettext-runtime/intl
|
||||
CPPFLAGS+=-I${DIST}/gettext/gettext-tools/src
|
||||
CPPFLAGS+=-DLIBDIR=\"/usr/share\"
|
||||
CPPFLAGS+=-DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\"
|
||||
CPPFLAGS+=-DGETTEXTDATADIR=\"/usr/share/gettext\"
|
||||
|
||||
COPTS.format-java.c = -Wno-stack-protector
|
||||
COPTS.msgl-cat.c = -Wno-stack-protector
|
||||
COPTS.msgl-charset.c = -Wno-stack-protector
|
||||
COPTS.msgl-iconv.c = -Wno-stack-protector
|
||||
COPTS.plural.c = -Wno-stack-protector
|
||||
COPTS.po-charset.c = -Wno-stack-protector
|
||||
COPTS.po-gram-gen.c = -Wno-stack-protector
|
||||
COPTS.read-tcl.c = -Wno-stack-protector
|
||||
COPTS.write-csharp.c = -Wno-stack-protector
|
||||
COPTS.write-java.c = -Wno-stack-protector
|
||||
COPTS.write-mo.c = -Wno-stack-protector
|
||||
COPTS.write-po.c = -Wno-stack-protector
|
||||
COPTS.write-tcl.c = -Wno-stack-protector
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-tautological-compare
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
# Override <sys.mk> double suffix rules to prevent *.y being yacced to *.[ch]
|
||||
# (The latter already exist in the ${DIST}/gettext directory.)
|
||||
#
|
||||
.y.c:
|
||||
@${_MKSHECHO} "# skipping yacc ${.CURDIR:T}/${.TARGET:T}"
|
|
@ -1,68 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.10 2013/11/06 23:32:04 tron Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= nlsut
|
||||
SRCS= \
|
||||
addext.c \
|
||||
allocsa.c \
|
||||
argmatch.c \
|
||||
backupfile.c \
|
||||
basename.c \
|
||||
c-ctype.c \
|
||||
c-strcasecmp.c \
|
||||
c-strncasecmp.c \
|
||||
classpath.c \
|
||||
closeout.c \
|
||||
concatpath.c \
|
||||
copy-file.c \
|
||||
csharpcomp.c \
|
||||
csharpexec.c \
|
||||
error-progname.c \
|
||||
error.c \
|
||||
execute.c \
|
||||
exitfail.c \
|
||||
fatal-signal.c \
|
||||
findprog.c \
|
||||
fstrcmp.c \
|
||||
fwriteerror.c \
|
||||
full-write.c \
|
||||
gcd.c \
|
||||
getline.c \
|
||||
getndelim2.c \
|
||||
hash.c \
|
||||
javacomp.c \
|
||||
javaexec.c \
|
||||
linebreak.c \
|
||||
mbswidth.c \
|
||||
obstack.c \
|
||||
pipe.c \
|
||||
progname.c \
|
||||
quote.c \
|
||||
quotearg.c \
|
||||
safe-read.c \
|
||||
safe-write.c \
|
||||
sh-quote.c \
|
||||
tmpdir.c \
|
||||
wait-process.c \
|
||||
xallocsa.c \
|
||||
xerror.c \
|
||||
xgetcwd.c \
|
||||
xmalloc.c \
|
||||
xsetenv.c \
|
||||
xstrdup.c
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
.PATH: ${DIST}/gettext/gettext-tools/lib
|
||||
|
||||
CPPFLAGS+=-DEXEEXT=\"\"
|
||||
|
||||
COPTS.csharpcomp.c = -Wno-stack-protector
|
||||
COPTS.csharpexec.c = -Wno-stack-protector
|
||||
COPTS.javacomp.c = -Wno-stack-protector
|
||||
COPTS.javaexec.c = -Wno-stack-protector
|
||||
|
||||
.include <bsd.lib.mk>
|
|
@ -1,18 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
GMOFILES= be.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo en@boldquot.gmo \
|
||||
en@quot.gmo es.gmo et.gmo fi.gmo fr.gmo gl.gmo id.gmo it.gmo \
|
||||
ja.gmo ko.gmo nl.gmo nn.gmo no.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo \
|
||||
ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo zh_CN.gmo zh_TW.gmo
|
||||
|
||||
.for F in ${GMOFILES}
|
||||
FILES+= ${F}
|
||||
FILESDIR_${F}= /usr/share/locale/${F:.gmo=}/LC_MESSAGES
|
||||
FILESNAME_${F}= gettext-tools.mo
|
||||
.endfor
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${DIST}/gettext/gettext-tools/po
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msgattrib
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msgcat
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msgcmp
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msgcomm
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msgconv
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msgen
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msgexec
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msgexec
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,10 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.4 2012/05/09 07:59:23 joerg Exp $
|
||||
|
||||
PROG= msgfmt
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
||||
|
||||
CPPFLAGS+=-I${DIST}/gettext/gettext-runtime/intl
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-format-extra-args
|
|
@ -1,12 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msggrep
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
||||
|
||||
LIBGREPDIR!= cd ${.CURDIR}/../libgrep && ${PRINTOBJDIR}
|
||||
DPADD+= ${LIBGREPDIR}/libgrep.a
|
||||
LDADD+= -L${LIBGREPDIR} -lgrep
|
||||
|
||||
CPPFLAGS+=-I${DIST}/gettext/gettext-tools/libgrep
|
|
@ -1,19 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.4 2014/01/20 10:57:38 apb Exp $
|
||||
|
||||
PROG= msginit
|
||||
SRCS+= msginit.c \
|
||||
localealias.c \
|
||||
localename.c
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
||||
|
||||
CPPFLAGS+=-I${DIST}/gettext/gettext-runtime/intl
|
||||
CPPFLAGS+=-DLIBDIR=\"/usr/share\" \
|
||||
-DPROJECTSDIR=\"/usr/share\" \
|
||||
-DLOCALE_ALIAS_PATH=\"/usr/share/locale\"
|
||||
|
||||
COPTS.msginit.c = -Wno-stack-protector
|
||||
COPTS.localealias.c = -Wno-stack-protector
|
||||
|
||||
.PATH: ${DIST}/gettext/gettext-runtime/intl
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.3 2005/04/29 15:05:01 christos Exp $
|
||||
|
||||
PROG= msgmerge
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,8 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.3 2005/04/29 15:05:02 christos Exp $
|
||||
|
||||
PROG= msgunfmt
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
||||
|
||||
CPPFLAGS+= -I${DIST}/gettext/gettext-tools/intl
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:02 christos Exp $
|
||||
|
||||
PROG= msguniq
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
|
@ -1,35 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.5 2011/05/26 12:56:28 joerg Exp $
|
||||
|
||||
PROG= xgettext
|
||||
SRCS= \
|
||||
po-time.c \
|
||||
uniname.c \
|
||||
xgettext.c \
|
||||
x-awk.c \
|
||||
x-c.c \
|
||||
x-csharp.c \
|
||||
x-elisp.c \
|
||||
x-glade.c \
|
||||
x-java.c \
|
||||
x-librep.c \
|
||||
x-lisp.c \
|
||||
x-perl.c \
|
||||
x-php.c \
|
||||
x-po.c \
|
||||
x-python.c \
|
||||
x-rst.c \
|
||||
x-scheme.c \
|
||||
x-sh.c \
|
||||
x-smalltalk.c \
|
||||
x-tcl.c \
|
||||
x-ycp.c
|
||||
|
||||
COPTS.xgettext.c = -Wno-stack-protector
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-empty-body
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
||||
|
||||
.PATH: ${DIST}/gettext/gettext-tools/libuniname
|
||||
CPPFLAGS+= -I${DIST}/gettext/gettext-tools/libuniname
|
Loading…
Reference in New Issue