From 1e53fa691949998dfa711878ecb7863814f085ee Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 18 Jul 2019 16:56:35 +0300 Subject: Upgrade to 1.6.3 --- libpkgconf/libpkgconf/config.h.in | 53 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 libpkgconf/libpkgconf/config.h.in (limited to 'libpkgconf/libpkgconf/config.h.in') diff --git a/libpkgconf/libpkgconf/config.h.in b/libpkgconf/libpkgconf/config.h.in new file mode 100644 index 0000000..ac5b1fa --- /dev/null +++ b/libpkgconf/libpkgconf/config.h.in @@ -0,0 +1,53 @@ +/* file : libpkgconf/config.h.in -*- C -*- + * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd + * license : ISC; see accompanying COPYING file + */ +#ifndef LIBPKGCONF_CONFIG_H +#define LIBPKGCONF_CONFIG_H + +/* + * For the semantics of the following macros refer to config.h.meson.orig + * and upstream's meson.build. + * + * Note that we will explicitly undefine macros that are present in the + * libpkgconf source code but should not be defined. While this is not + * technically required, it simplifies the change tracking (see README-DEV). + * As a bonus we also make sure that they are not get eventually defined by + * some system headers. + */ + +#define PACKAGE_VERSION "$PACKAGE_VERSION$" + +/* + * strndup() is not present on Windows, for gcc and clang if compile with + * -std=C99, except for FreeBSD and MacOS. + * + * strl*() are only present on FreeBSD and MacOS. + */ +#if defined(__FreeBSD__) || defined(__APPLE__) +# define HAVE_STRNDUP 1 +# define HAVE_STRLCPY 1 +# define HAVE_STRLCAT 1 +#endif + +/* + * Let's assume cygwin_conv_path() is always available if compile with MSYS + * gcc. + */ +#if defined(__MSYS__) +# define HAVE_CYGWIN_CONV_PATH 1 +#endif + +/* + * We don't consider such an outdated environments. + */ +#define HAVE_SYS_STAT_H 1 + +#define PACKAGE_BUGREPORT "https://todo.sr.ht/~kaniini/pkgconf" + +#define PKG_DEFAULT_PATH "$PKG_DEFAULT_PATH$" +#define PERSONALITY_PATH "$PERSONALITY_PATH$" +#define SYSTEM_INCLUDEDIR "$SYSTEM_INCLUDEDIR$" +#define SYSTEM_LIBDIR "$SYSTEM_LIBDIR$" + +#endif /* LIBPKGCONF_CONFIG_H */ -- cgit v1.1