From 6a1ba8a4f7e31d5f33633b2bd2480bb08ed612a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Brisseau?= Date: Wed, 16 Nov 2022 15:31:16 +0000 Subject: [PATCH] Fix: Add config for mac/arm64 --- deps/lcb/gyp_config/mac/arm/config.h | 246 +++++++++++++++++++++++++++ 1 file changed, 246 insertions(+) create mode 100644 deps/lcb/gyp_config/mac/arm/config.h diff --git a/deps/lcb/gyp_config/mac/arm/config.h b/deps/lcb/gyp_config/mac/arm/config.h new file mode 100644 index 00000000..aeff271f --- /dev/null +++ b/deps/lcb/gyp_config/mac/arm/config.h @@ -0,0 +1,246 @@ +/* src/config.h. Generated from config.h.in by configure. */ +/* src/config.h.in. Generated from configure.ac by autoheader. */ + + +#if defined(_WIN32) && !defined(HAVE_CONFIG_H) + /* skip config.h contents on a non-autotools win32 build */ + #include "win32/config.h" + #define CONFIG_H +#endif + +#ifndef CONFIG_H +#define CONFIG_H +/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + * Copyright 2010, 2011 Couchbase, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * This file is generated by running configure. Any changes you make to this + * file will be overwritten the next time you run configure. If you want to + * make permanent changes to the file you should edit configure.ac instead. + * All platform-specific includes should be placed inside config_static.h + * to keep the config.h as small as possible. That allows us for easily + * use another build systems with a poor support for automake (like Windows) + * + * @author Trond Norbye + */ + + +#define HAVE_ARPA_NAMESER_H 1 +#define HAVE_RES_SEARCH 1 + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Build plugins */ +/* #undef BUILD_PLUGINS */ + +/* gcov enabled */ +/* #undef ENABLE_GCOV */ + +/* tcov enabled */ +/* #undef ENABLE_TCOV */ + +/* Define to 1 if you have the `alarm' function. */ +#define HAVE_ALARM 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_INET_H 1 + +/* Define to 1 if you have the `clock_gettime' function. */ +/* #undef HAVE_CLOCK_GETTIME */ + +/* We have CouchbaseMock.jar */ +/* #undef HAVE_COUCHBASEMOCK */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Enables SystemTap / DTrace Support */ +/* #undef HAVE_DTRACE */ + +/* Define to 1 if you have the header file. */ +#define HAVE_EVENT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_EV_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the `gethrtime' function. */ +/* #undef HAVE_GETHRTIME */ + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Have ntohll */ +//#include +//#define HAVE_HTONLL + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* I will build libcouchbase_debug.so */ +/* #undef HAVE_LIBCOUCHBASE_DEBUG */ + +/* We have libev3 */ +/* #undef HAVE_LIBEV3 */ + +/* We have libev4 */ +/* #undef HAVE_LIBEV4 */ + +/* We have libevent */ +/* #undef HAVE_LIBEVENT */ + +/* We have libevent2 */ +/* #undef HAVE_LIBEVENT2 */ + +/* Have non-standard place for libev header */ +/* #undef HAVE_LIBEV_EV_H */ + +/* We have libuv */ +/* #undef HAVE_LIBUV */ + +/* Define to 1 if you have the `xnet' library (-lxnet). */ +/* #undef HAVE_LIBXNET */ + +/* We have libyajl2 */ +/* #undef HAVE_LIBYAJL2 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MACH_MACH_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_IN_H 1 + +/* Define to 1 if you have the `QueryPerformanceCounter' function. */ +/* #undef HAVE_QUERYPERFORMANCECOUNTER */ + +/* Define to 1 if you have the `setitimer' function. */ +#define HAVE_SETITIMER 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Use system internal sasl */ +/* #undef HAVE_SYSTEM_LIBSASL */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SDT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_UIO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_WINSOCK2_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_WS2TCPIP_H */ + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Defined for systems where EAGAIN != EWOULDBLOCK */ +/* #undef USE_EAGAIN */ + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#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 */ + + +#include "config_static.h" +#endif +