1 /* 2 * wpa_supplicant/hostapd - Build time configuration defines 3 * Copyright (c) 2005-2006, Jouni Malinen <j (at) w1.fi> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * 9 * Alternatively, this software may be distributed under the terms of BSD 10 * license. 11 * 12 * See README and COPYING for more details. 13 * 14 * This header file can be used to define configuration defines that were 15 * originally defined in Makefile. This is mainly meant for IDE use or for 16 * systems that do not have suitable 'make' tool. In these cases, it may be 17 * easier to have a single place for defining all the needed C pre-processor 18 * defines. 19 */ 20 21 #ifndef BUILD_CONFIG_H 22 #define BUILD_CONFIG_H 23 24 /* Insert configuration defines, e.g., #define EAP_MD5, here, if needed. */ 25 26 #ifdef CONFIG_WIN32_DEFAULTS 27 #define CONFIG_NATIVE_WINDOWS 28 #define CONFIG_ANSI_C_EXTRA 29 #define CONFIG_WINPCAP 30 #define IEEE8021X_EAPOL 31 #define PKCS12_FUNCS 32 #define PCSC_FUNCS 33 #define CONFIG_CTRL_IFACE 34 #define CONFIG_CTRL_IFACE_NAMED_PIPE 35 #define CONFIG_DRIVER_NDIS 36 #define CONFIG_NDIS_EVENTS_INTEGRATED 37 #define CONFIG_DEBUG_FILE 38 #define EAP_MD5 39 #define EAP_TLS 40 #define EAP_MSCHAPv2 41 #define EAP_PEAP 42 #define EAP_TTLS 43 #define EAP_GTC 44 #define EAP_OTP 45 #define EAP_LEAP 46 #define EAP_TNC 47 #define _CRT_SECURE_NO_DEPRECATE 48 49 #ifdef USE_INTERNAL_CRYPTO 50 #define CONFIG_TLS_INTERNAL_CLIENT 51 #define CONFIG_INTERNAL_LIBTOMMATH 52 #define CONFIG_CRYPTO_INTERNAL 53 #endif /* USE_INTERNAL_CRYPTO */ 54 #endif /* CONFIG_WIN32_DEFAULTS */ 55 56 #ifdef __SYMBIAN32__ 57 #define OS_NO_C_LIB_DEFINES 58 #define CONFIG_ANSI_C_EXTRA 59 #define CONFIG_NO_WPA_MSG 60 #define CONFIG_NO_HOSTAPD_LOGGER 61 #define CONFIG_NO_STDOUT_DEBUG 62 #define CONFIG_BACKEND_FILE 63 #define CONFIG_INTERNAL_LIBTOMMATH 64 #define CONFIG_CRYPTO_INTERNAL 65 #define IEEE8021X_EAPOL 66 #define PKCS12_FUNCS 67 #define EAP_MD5 68 #define EAP_TLS 69 #define EAP_MSCHAPv2 70 #define EAP_PEAP 71 #define EAP_TTLS 72 #define EAP_GTC 73 #define EAP_OTP 74 #define EAP_LEAP 75 #define EAP_FAST 76 #endif /* __SYMBIAN32__ */ 77 78 #ifdef CONFIG_XCODE_DEFAULTS 79 #define CONFIG_DRIVER_OSX 80 #define CONFIG_BACKEND_FILE 81 #define IEEE8021X_EAPOL 82 #define PKCS12_FUNCS 83 #define CONFIG_CTRL_IFACE 84 #define CONFIG_CTRL_IFACE_UNIX 85 #define CONFIG_DEBUG_FILE 86 #define EAP_MD5 87 #define EAP_TLS 88 #define EAP_MSCHAPv2 89 #define EAP_PEAP 90 #define EAP_TTLS 91 #define EAP_GTC 92 #define EAP_OTP 93 #define EAP_LEAP 94 #define EAP_TNC 95 #define CONFIG_WPS 96 #define EAP_WSC 97 98 #ifdef USE_INTERNAL_CRYPTO 99 #define CONFIG_TLS_INTERNAL_CLIENT 100 #define CONFIG_INTERNAL_LIBTOMMATH 101 #define CONFIG_CRYPTO_INTERNAL 102 #endif /* USE_INTERNAL_CRYPTO */ 103 #endif /* CONFIG_XCODE_DEFAULTS */ 104 105 #endif /* BUILD_CONFIG_H */ 106