config.h.in 3.21 KB
Newer Older
1 2 3 4
/* Generated from config.h.in during build configuration using CMake. */

// Note: This header file is only used internally. It is not part of public interface!

5
// ---------------------------------------------------------------------------
6 7
// System checks

8 9 10
// Define if you build this library for a MS Windows OS.
#cmakedefine OS_WINDOWS

11
// Define if you have the <stdint.h> header file.
12
#cmakedefine HAVE_STDINT_H
13 14

// Define if you have the <sys/types.h> header file.
15
#cmakedefine HAVE_SYS_TYPES_H
16 17

// Define if you have the <inttypes.h> header file.
18
#cmakedefine HAVE_INTTYPES_H
19 20

// Define if you have the <sys/stat.h> header file.
21
#cmakedefine HAVE_SYS_STAT_H
22 23

// Define if you have the <unistd.h> header file.
24
#cmakedefine HAVE_UNISTD_H
25 26

// Define if you have the <fnmatch.h> header file.
27
#cmakedefine HAVE_FNMATCH_H
28 29

// Define if you have the <shlwapi.h> header file (Windows 2000/XP).
30
#cmakedefine HAVE_SHLWAPI_H
31 32

// Define if you have the strtoll function.
33
#cmakedefine HAVE_STRTOLL
34 35

// Define if you have the strtoq function.
36
#cmakedefine HAVE_STRTOQ
37 38

// Define if you have the <pthread.h> header file.
39
#cmakedefine HAVE_PTHREAD
40 41

// Define if your pthread library defines the type pthread_rwlock_t
42
#cmakedefine HAVE_RWLOCK
43 44

// gcc requires this to get PRId64, etc.
45
#if defined(HAVE_INTTYPES_H) && !defined(__STDC_FORMAT_MACROS)
46 47 48 49 50
#  define __STDC_FORMAT_MACROS 1
#endif

// ---------------------------------------------------------------------------
// Package information
51

52 53
// Name of package.
#define PACKAGE @PROJECT_NAME@
54

55 56
// Define to the full name of this package.
#define PACKAGE_NAME @PACKAGE_NAME@
57

58 59
// Define to the full name and version of this package.
#define PACKAGE_STRING @PACKAGE_STRING@
60

61 62
// Define to the one symbol short name of this package.
#define PACKAGE_TARNAME @PACKAGE_TARNAME@
63

64 65
// Define to the version of this package.
#define PACKAGE_VERSION @PACKAGE_VERSION@
66

67 68
// Version number of package.
#define VERSION PACKAGE_VERSION
69

70 71
// Define to the address where bug reports for this package should be sent.
#define PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
72

73 74
// ---------------------------------------------------------------------------
// Path separator
75
#ifndef PATH_SEPARATOR
76
#  ifdef OS_WINDOWS
77 78 79 80 81
#    define PATH_SEPARATOR  '\\'
#  else
#    define PATH_SEPARATOR  '/'
#  endif
#endif
Craig Silverstein's avatar
Craig Silverstein committed
82

83
// ---------------------------------------------------------------------------
84 85
// Windows

86 87 88 89
// Whether gflags library is a DLL.
#ifndef GFLAGS_IS_A_DLL
#  define GFLAGS_IS_A_DLL 0
#endif
90

91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
// Always export symbols when compiling a shared library as this file is only
// included by internal modules when building the gflags library itself.
// The gflags_declare.h header file will set it to import these symbols otherwise.
#ifndef GFLAGS_DLL_DECL
#  if GFLAGS_IS_A_DLL && defined(_MSC_VER)
#    define GFLAGS_DLL_DECL __declspec(dllexport)
#  else
#    define GFLAGS_DLL_DECL
#  endif
#endif
// Flags defined by the gflags library itself must be exported
#ifndef GFLAGS_DLL_DEFINE_FLAG
#  define GFLAGS_DLL_DEFINE_FLAG GFLAGS_DLL_DECL
#endif

106
#ifdef OS_WINDOWS
107 108 109 110
// The unittests import the symbols of the shared gflags library
#  if GFLAGS_IS_A_DLL && defined(_MSC_VER)
#    define GFLAGS_DLL_DECL_FOR_UNITTESTS __declspec(dllimport)
#  endif
111
#  include "windows_port.h"
Craig Silverstein's avatar
Craig Silverstein committed
112
#endif