1
#ifndef NCBI_CONFIG_REGEXP__H
2
#define NCBI_CONFIG_REGEXP__H
4
/* $Id: pcre_config.h,v 1.1 2002/05/08 15:10:56 ivanov Exp $
5
* ===========================================================================
8
* National Center for Biotechnology Information
10
* This software/database is a "United States Government Work" under the
11
* terms of the United States Copyright Act. It was written as part of
12
* the author's official duties as a United States Government employee and
13
* thus cannot be copyrighted. This software/database is freely available
14
* to the public for use. The National Library of Medicine and the U.S.
15
* Government have not placed any restriction on its use or reproduction.
17
* Although all reasonable efforts have been taken to ensure the accuracy
18
* and reliability of the software and data, the NLM and the U.S.
19
* Government do not and cannot warrant the performance or results that
20
* may be obtained by using this software or data. The NLM and the U.S.
21
* Government disclaim all warranties, express or implied, including
22
* warranties of performance, merchantability or fitness for any particular
25
* Please cite the author in any work or product based on this material.
27
* ===========================================================================
29
* Author: Vladimir Ivanov
32
* Configuration wrapper for PCRE REGEXP library in NCBI C Toolkit
34
* Based on "config.h" generated the PCRE's autuconfigure.
36
* ===========================================================================
45
# define NCBI_OS_UNIX 1
46
#elif defined(OS_MSWIN)
47
# define NCBI_OS_MSWIN 1
49
# define NCBI_OS_MAC 1
52
/* PCRE is written in Standard C, but there are a few non-standard things it
53
can cope with, allowing it to run on SunOS4 and other "close to standard"
56
You should normally change the definitions of HAVE_STRERROR and
57
HAVE_MEMMOVE to 1. If your system has bcopy() and not memmove(), change
58
the definition of HAVE_BCOPY instead of HAVE_MEMMOVE. If your system
59
has neither bcopy() nor memmove(), leave them both as 0; an emulation
60
function will be used. */
62
/* Define to empty if the keyword does not work. */
65
/* Define to `unsigned' if <stddef.h> doesn't define size_t. */
68
/* The following two definitions are mainly for the benefit of SunOS4, which
69
doesn't have the strerror() or memmove() functions that should be present in
70
all Standard C libraries. The macros HAVE_STRERROR and HAVE_MEMMOVE should
71
normally be defined with the value 1 for other systems, but unfortunately we
72
can't make this the default because "configure" files generated by autoconf
73
will only change 0 to 1; they won't change 1 to 0 if the functions are not
76
#define HAVE_STRERROR 1
77
#define HAVE_MEMMOVE 1
79
/* There are some non-Unix systems that don't even have bcopy(). If this macro
80
is false, an emulation is used. If HAVE_MEMMOVE is set to 1, the value of
81
HAVE_BCOPY is not relevant. */
85
/* The value of NEWLINE determines the newline character. The default is to
86
leave it up to the compiler, but some sites want to force a particular
87
value. On Unix systems, "configure" can be used to override this default. */
93
/* Disable support UTF-8 by default */
95
#define SUPPORT_UTF8 0
100
#endif /* NCBI_CONFIG_REGEXP__H */