Howard Chen | a8830dc | 2017-02-16 14:28:08 +0800 | [diff] [blame] | 1 | /* config.h. Generated from config.h.in by configure. */ |
| 2 | /* config.h.in. Generated from configure.ac by autoheader. */ |
| 3 | |
| 4 | /* Debug messages. */ |
| 5 | /* #undef ENABLE_DEBUG */ |
| 6 | |
| 7 | /* Experimental features. */ |
| 8 | /* #undef ENABLE_EXPERIMENTAL */ |
| 9 | |
| 10 | /* System logging. */ |
| 11 | #define ENABLE_LOGGING 1 |
| 12 | |
| 13 | /* Enable Xz for modules. */ |
| 14 | /* #undef ENABLE_XZ */ |
| 15 | |
| 16 | /* Enable zlib for modules. */ |
| 17 | /* #undef ENABLE_ZLIB */ |
| 18 | |
| 19 | /* Define to 1 if you have the declaration of `be32toh', and to 0 if you |
| 20 | don't. */ |
| 21 | #define HAVE_DECL_BE32TOH 1 |
| 22 | |
| 23 | /* Define to 1 if you have the declaration of `strndupa', and to 0 if you |
| 24 | don't. */ |
| 25 | #define HAVE_DECL_STRNDUPA 1 |
| 26 | |
| 27 | /* Define to 1 if you have the <dlfcn.h> header file. */ |
| 28 | #define HAVE_DLFCN_H 1 |
| 29 | |
| 30 | /* Define to 1 if you have the `finit_module' function. */ |
| 31 | /* #undef HAVE_FINIT_MODULE */ |
| 32 | |
| 33 | /* Define to 1 if you have the <inttypes.h> header file. */ |
| 34 | #define HAVE_INTTYPES_H 1 |
| 35 | |
| 36 | /* Define to 1 if you have the <linux/module.h> header file. */ |
| 37 | /* #undef HAVE_LINUX_MODULE_H */ |
| 38 | |
| 39 | /* Define to 1 if you have the <memory.h> header file. */ |
| 40 | #define HAVE_MEMORY_H 1 |
| 41 | |
| 42 | /* Define if _Noreturn is available */ |
| 43 | #define HAVE_NORETURN 1 |
| 44 | |
| 45 | /* Define to 1 if you have the `secure_getenv' function. */ |
| 46 | #define HAVE_SECURE_GETENV 1 |
| 47 | |
| 48 | /* Define if _Static_assert() is available */ |
| 49 | #define HAVE_STATIC_ASSERT 1 |
| 50 | |
| 51 | /* Define to 1 if you have the <stdint.h> header file. */ |
| 52 | #define HAVE_STDINT_H 1 |
| 53 | |
| 54 | /* Define to 1 if you have the <stdlib.h> header file. */ |
| 55 | #define HAVE_STDLIB_H 1 |
| 56 | |
| 57 | /* Define to 1 if you have the <strings.h> header file. */ |
| 58 | #define HAVE_STRINGS_H 1 |
| 59 | |
| 60 | /* Define to 1 if you have the <string.h> header file. */ |
| 61 | #define HAVE_STRING_H 1 |
| 62 | |
| 63 | /* Define to 1 if `st_mtim' is a member of `struct stat'. */ |
| 64 | /*#define HAVE_STRUCT_STAT_ST_MTIM 1*/ |
| 65 | |
| 66 | /* Define to 1 if you have the <sys/stat.h> header file. */ |
| 67 | #define HAVE_SYS_STAT_H 1 |
| 68 | |
| 69 | /* Define to 1 if you have the <sys/types.h> header file. */ |
| 70 | #define HAVE_SYS_TYPES_H 1 |
| 71 | |
| 72 | /* Define to 1 if you have the <unistd.h> header file. */ |
| 73 | #define HAVE_UNISTD_H 1 |
| 74 | |
| 75 | /* Define to 1 if compiler has __builtin_clz() builtin function */ |
| 76 | #define HAVE___BUILTIN_CLZ 1 |
| 77 | |
| 78 | /* Define to 1 if compiler has __builtin_types_compatible_p() builtin function |
| 79 | */ |
| 80 | #define HAVE___BUILTIN_TYPES_COMPATIBLE_P 1 |
| 81 | |
| 82 | /* Define to 1 if compiler has __builtin_uaddll_overflow() builtin function */ |
| 83 | #define HAVE___BUILTIN_UADDLL_OVERFLOW 0 |
| 84 | |
| 85 | /* Define to 1 if compiler has __builtin_uaddl_overflow() builtin function */ |
| 86 | #define HAVE___BUILTIN_UADDL_OVERFLOW 0 |
| 87 | |
| 88 | /* Define to 1 if you have the `__secure_getenv' function. */ |
| 89 | /* #undef HAVE___SECURE_GETENV */ |
| 90 | |
| 91 | /* Define to 1 if you have the `__xstat' function. */ |
| 92 | #define HAVE___XSTAT 1 |
| 93 | |
| 94 | /* Features in this build */ |
| 95 | #define KMOD_FEATURES "-XZ -ZLIB -EXPERIMENTAL" |
| 96 | |
| 97 | /* Define to the sub-directory in which libtool stores uninstalled libraries. |
| 98 | */ |
| 99 | #define LT_OBJDIR ".libs/" |
| 100 | |
| 101 | /* Name of package */ |
| 102 | #define PACKAGE "kmod" |
| 103 | |
| 104 | /* Define to the address where bug reports for this package should be sent. */ |
| 105 | #define PACKAGE_BUGREPORT "linux-modules@vger.kernel.org" |
| 106 | |
| 107 | /* Define to the full name of this package. */ |
| 108 | #define PACKAGE_NAME "kmod" |
| 109 | |
| 110 | /* Define to the full name and version of this package. */ |
| 111 | #define PACKAGE_STRING "kmod 23" |
| 112 | |
| 113 | /* Define to the one symbol short name of this package. */ |
| 114 | #define PACKAGE_TARNAME "kmod" |
| 115 | |
| 116 | /* Define to the home page for this package. */ |
| 117 | #define PACKAGE_URL "http://git.kernel.org/?p=utils/kernel/kmod/kmod.git" |
| 118 | |
| 119 | /* Define to the version of this package. */ |
| 120 | #define PACKAGE_VERSION "23" |
| 121 | |
| 122 | /* Define to 1 if you have the ANSI C header files. */ |
| 123 | #define STDC_HEADERS 1 |
| 124 | |
| 125 | /* Enable extensions on AIX 3, Interix. */ |
| 126 | #ifndef _ALL_SOURCE |
| 127 | # define _ALL_SOURCE 1 |
| 128 | #endif |
| 129 | /* Enable GNU extensions on systems that have them. */ |
| 130 | #ifndef _GNU_SOURCE |
| 131 | # define _GNU_SOURCE 1 |
| 132 | #endif |
| 133 | /* Enable threading extensions on Solaris. */ |
| 134 | #ifndef _POSIX_PTHREAD_SEMANTICS |
| 135 | # define _POSIX_PTHREAD_SEMANTICS 1 |
| 136 | #endif |
| 137 | /* Enable extensions on HP NonStop. */ |
| 138 | #ifndef _TANDEM_SOURCE |
| 139 | # define _TANDEM_SOURCE 1 |
| 140 | #endif |
| 141 | /* Enable general extensions on Solaris. */ |
| 142 | #ifndef __EXTENSIONS__ |
| 143 | # define __EXTENSIONS__ 1 |
| 144 | #endif |
| 145 | |
| 146 | |
| 147 | /* Version number of package */ |
| 148 | #define VERSION "23" |
| 149 | |
| 150 | /* Enable large inode numbers on Mac OS X 10.5. */ |
| 151 | #ifndef _DARWIN_USE_64_BIT_INODE |
| 152 | # define _DARWIN_USE_64_BIT_INODE 1 |
| 153 | #endif |
| 154 | |
| 155 | /* Number of bits in a file offset, on hosts where this is settable. */ |
| 156 | /* #undef _FILE_OFFSET_BITS */ |
| 157 | |
| 158 | /* Define for large files, on AIX-style hosts. */ |
| 159 | /* #undef _LARGE_FILES */ |
| 160 | |
| 161 | /* Define to 1 if on MINIX. */ |
| 162 | /* #undef _MINIX */ |
| 163 | |
| 164 | /* Define to 2 if the system does not provide POSIX.1 features except with |
| 165 | this defined. */ |
| 166 | /* #undef _POSIX_1_SOURCE */ |
| 167 | |
| 168 | /* Define to 1 if you need to in order for `stat' and other things to work. */ |
| 169 | /* #undef _POSIX_SOURCE */ |
| 170 | |
| 171 | #if defined(__APPLE__) |
| 172 | |
| 173 | #define get_current_dir_name() getwd(malloc(128)) |
| 174 | #define strndupa(_s,_l) strdup(_s) |
| 175 | char* basename(const char*); |
| 176 | #define init_module darwin_init_module |
| 177 | #define delete_module darwin_delete_module |
| 178 | #define program_invocation_short_name "depmod" |
| 179 | #include <endian-darwin.h> |
| 180 | #else |
| 181 | #include <endian.h> |
| 182 | |
| 183 | #endif |