Imported Upstream version 2.4.3
[platform/upstream/gpg2.git] / config.h.in
index 455f465..cd12740 100644 (file)
 /* Defined if GPGSM is to be build */
 #undef BUILD_WITH_GPGSM
 
+/* Defined if KEYBOXD is to be build */
+#undef BUILD_WITH_KEYBOXD
+
 /* Defined if SCDAEMON is to be build */
 #undef BUILD_WITH_SCDAEMON
 
+/* Defined if TPM2D to be build */
+#undef BUILD_WITH_TPM2D
+
 /* Use as default system trust store file */
 #undef DEFAULT_TRUST_STORE_FILE
 
@@ -65,6 +71,9 @@
 /* This is only used with "make distcheck" */
 #undef ENABLE_GNUPG_BUILDDIR_ENVVAR
 
+/* Defined to use log_clock timestamps */
+#undef ENABLE_LOG_CLOCK
+
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
 #undef ENABLE_NLS
 /* Defined if ttyname does not work properly */
 #undef HAVE_BROKEN_TTYNAME
 
-/* Defined if a `byte' is typedef'd */
-#undef HAVE_BYTE_TYPEDEF
+/* Define to 1 if the system has the type `byte'. */
+#undef HAVE_BYTE
 
 /* Defined if the bz2 compression library is available */
 #undef HAVE_BZIP2
 /* Define to 1 if you have the `canonicalize_file_name' function. */
 #undef HAVE_CANONICALIZE_FILE_NAME
 
-/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
-   CoreFoundation framework. */
-#undef HAVE_CFLOCALECOPYCURRENT
+/* Define to 1 if you have the Mac OS X function
+   CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
+#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES
 
 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
    the CoreFoundation framework. */
    don't. */
 #undef HAVE_DECL_SYS_SIGLIST
 
-/* Define to 1 if you have the <direct.h> header file. */
-#undef HAVE_DIRECT_H
-
 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
 #undef HAVE_DOPRNT
 
 /* Define to 1 if you have the `getenv' function. */
 #undef HAVE_GETENV
 
-/* Define to 1 if you have the <getopt.h> header file. */
-#undef HAVE_GETOPT_H
-
 /* Define to 1 if you have the `getpagesize' function. */
 #undef HAVE_GETPAGESIZE
 
 /* Define to 1 if you have the `inotify_init' function. */
 #undef HAVE_INOTIFY_INIT
 
+/* Defined if we have the Intel TSS */
+#undef HAVE_INTEL_TSS
+
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
 /* Define to 1 if you have a fully functional readline library. */
 #undef HAVE_LIBREADLINE
 
-/* defined if libusb is available */
-#undef HAVE_LIBUSB
+/* Defined if we have TPM2 support library */
+#undef HAVE_LIBTSS
 
-/* defined if libutil is available */
-#undef HAVE_LIBUTIL
+/* Define to 1 if you have the `tss2-esys' library (-ltss2-esys). */
+#undef HAVE_LIBTSS2_ESYS
 
-/* Define to 1 if you have the <libutil.h> header file. */
-#undef HAVE_LIBUTIL_H
+/* defined if libusb is available */
+#undef HAVE_LIBUSB
 
 /* Define to 1 if you have the <locale.h> header file. */
 #undef HAVE_LOCALE_H
    instead. */
 #undef HAVE_PSELECT_NO_EINTR
 
-/* Define to 1 if you have the <pty.h> header file. */
-#undef HAVE_PTY_H
-
 /* Define to 1 if you have the <pwd.h> header file. */
 #undef HAVE_PWD_H
 
 /* Define to 1 if you have the `sigaction' function. */
 #undef HAVE_SIGACTION
 
+/* Define to 1 if you have the `sigdescr_np' function. */
+#undef HAVE_SIGDESCR_NP
+
 /* Define to 1 if you have the <signal.h> header file. */
 #undef HAVE_SIGNAL_H
 
 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
 #undef HAVE_SYS_SYSMACROS_H
 
+/* Define to 1 if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
+
 /* Define to 1 if you have the <sys/types.h> header file. */
 #undef HAVE_SYS_TYPES_H
 
 /* Define to 1 if you have the `ttyname' function. */
 #undef HAVE_TTYNAME
 
-/* Defined if a `u16' is typedef'd */
-#undef HAVE_U16_TYPEDEF
+/* Define to 1 if the system has the type `u16'. */
+#undef HAVE_U16
 
-/* Defined if a `u32' is typedef'd */
-#undef HAVE_U32_TYPEDEF
+/* Define to 1 if the system has the type `u32'. */
+#undef HAVE_U32
 
 /* Define to 1 if you have the <ucred.h> header file. */
 #undef HAVE_UCRED_H
 
-/* Defined if a `ulong' is typedef'd */
-#undef HAVE_ULONG_TYPEDEF
+/* Define to 1 if the system has the type `ulong'. */
+#undef HAVE_ULONG
 
 /* Define to 1 if you have the <unistd.h> header file. */
 #undef HAVE_UNISTD_H
 /* Defined if time_t is an unsigned type */
 #undef HAVE_UNSIGNED_TIME_T
 
-/* Defined if a `ushort' is typedef'd */
-#undef HAVE_USHORT_TYPEDEF
-
-/* Define to 1 if you have the <util.h> header file. */
-#undef HAVE_UTIL_H
-
-/* Define to 1 if you have the <utmp.h> header file. */
-#undef HAVE_UTMP_H
+/* Define to 1 if the system has the type `ushort'. */
+#undef HAVE_USHORT
 
 /* Define to 1 if you have the `vfork' function. */
 #undef HAVE_VFORK
 /* Define to 1 if you have the `vprintf' function. */
 #undef HAVE_VPRINTF
 
-/* Defined if we run on WindowsCE */
-#undef HAVE_W32CE_SYSTEM
-
 /* Defined if we run on a W32 API based system */
 #undef HAVE_W32_SYSTEM
 
 /* Defined if this is not a regular release */
 #undef IS_DEVELOPMENT_VERSION
 
+/* The displayed name of keyboxd */
+#undef KEYBOXD_DISP_NAME
+
+/* The name of the keyboxd */
+#undef KEYBOXD_NAME
+
+/* The name of the keyboxd socket */
+#undef KEYBOXD_SOCK_NAME
+
 /* Defined if the host has little endian byte ordering */
 #undef LITTLE_ENDIAN_HOST
 
 /* Defined if this build is in maintainer mode */
 #undef MAINTAINER_MODE
 
-/* Defined if mkdir() does not take permission flags */
-#undef MKDIR_TAKES_ONE_ARG
-
 /* Tool with sendmail -t interface */
 #undef NAME_OF_SENDMAIL
 
 /* A human readable text with the name of the OS */
 #undef PRINTABLE_OS_NAME
 
-/* Define as the return type of signal handlers (`int' or `void'). */
-#undef RETSIGTYPE
-
 /* Defined if "make check" shall run all tests */
 #undef RUN_ALL_TESTS
 
 /* Size of secure memory buffer */
 #undef SECMEM_BUFFER_SIZE
 
-/* defines the filename of the shred program */
-#undef SHRED
+/* The size of `size_t', as computed by sizeof. */
+#undef SIZEOF_SIZE_T
 
 /* The size of `time_t', as computed by sizeof. */
 #undef SIZEOF_TIME_T
 /* Define to 1 if you have the ANSI C header files. */
 #undef STDC_HEADERS
 
-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
-#undef TIME_WITH_SYS_TIME
+/* The displayed name of TPM2 daemon */
+#undef TPM2DAEMON_DISP_NAME
+
+/* The name of the TPM2 daemon */
+#undef TPM2DAEMON_NAME
+
+/* The name of the TPM2 daemon socket */
+#undef TPM2DAEMON_SOCK_NAME
+
+/* ibmtss include location */
+#undef TSS_INCLUDE
 
 /* Define to enable auto starting of the dirmngr */
 #undef USE_DIRMNGR_AUTO_START
 #define EXEEXT_S ""
 #endif
 
-/* This is the same as VERSION, but should be overridden if the
-   platform cannot handle things like dots '.' in filenames. Set
-   SAFE_VERSION_DOT and SAFE_VERSION_DASH to whatever SAFE_VERSION
-   uses for dots and dashes. */
-#define SAFE_VERSION VERSION
-#define SAFE_VERSION_DOT  '.'
-#define SAFE_VERSION_DASH '-'
-
 /* Some global constants.
  * Note that the homedir must not end in a slash.  */
 #ifdef HAVE_DOSISH_SYSTEM
 #define GNUPG_DEFAULT_HOMEDIR "~/.gnupg"
 #endif
 #define GNUPG_PRIVATE_KEYS_DIR  "private-keys-v1.d"
+#define GNUPG_PUBLIC_KEYS_DIR   "public-keys.d"
 #define GNUPG_OPENPGP_REVOC_DIR "openpgp-revocs.d"
+#define GNUPG_CACHE_DIR         "cache.d"
 
-/* GnuPG has always been a part of the GNU project and thus we have
- * shown the FSF as holder of the copyright.  We continue to do so for
- * the reason that without the FSF the free software used all over the
- * world would not have come into existence.  However, under Windows
- * we print a different copyright string with --version because the
- * copyright assignments of g10 Code and Werner Koch were terminated
- * many years ago, g10 Code is still the major contributor to the
- * code, and Windows is not an FSF endorsed platform.  Note that the
- * actual list of copyright holders can be found in the AUTHORS file.  */
-#ifdef HAVE_W32_SYSTEM
-#define GNUPG_DEF_COPYRIGHT_LINE "Copyright (C) 2021 g10 Code GmbH"
-#else
-#define GNUPG_DEF_COPYRIGHT_LINE "Copyright (C) 2021 Free Software Foundation, Inc."
-#endif
-
+#define GNUPG_DEF_COPYRIGHT_LINE "Copyright (C) 2023 g10 Code GmbH"
 
 /* For some systems (DOS currently), we hardcode the path here.  For
    POSIX systems the values are constructed by the Makefiles, so that
 # endif
 #endif
 
-/* Provide the es_ macro for estream.  */
+/* Enable the es_ macros from gpgrt.  */
 #define GPGRT_ENABLE_ES_MACROS 1
 
+/* Enable the log_ macros from gpgrt.  */
+#define GPGRT_ENABLE_LOG_MACROS 1
+
 /* We want the argparse macros from gpgrt.  */
 #define GPGRT_ENABLE_ARGPARSE_MACROS 1