comparison Resources/CMake/LibCurlConfiguration.cmake @ 2460:292bd85d4532

fix openbsd
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Jan 2018 18:37:41 +0100
parents ade8b4ddd8a6
children 0c2a8d5e0097
comparison
equal deleted inserted replaced
2459:98a04e75f15e 2460:292bd85d4532
92 PROPERTY COMPILE_DEFINITIONS "HAVE_CONFIG_H=1;OS=\"${TMP_OS}\"" 92 PROPERTY COMPILE_DEFINITIONS "HAVE_CONFIG_H=1;OS=\"${TMP_OS}\""
93 ) 93 )
94 94
95 include(${CURL_SOURCES_DIR}/CMake/Macros.cmake) 95 include(${CURL_SOURCES_DIR}/CMake/Macros.cmake)
96 96
97 check_include_file_concat("alloca.h" HAVE_ALLOCA_H) 97 # WARNING: Do *not* reorder the "check_include_file_concat()" below!
98 check_include_file_concat("arpa/inet.h" HAVE_ARPA_INET_H) 98 check_include_file_concat("stdio.h" HAVE_STDIO_H)
99 check_include_file_concat("arpa/tftp.h" HAVE_ARPA_TFTP_H)
100 check_include_file_concat("assert.h" HAVE_ASSERT_H)
101 check_include_file_concat("crypto.h" HAVE_CRYPTO_H)
102 check_include_file_concat("des.h" HAVE_DES_H)
103 check_include_file_concat("dlfcn.h" HAVE_DLFCN_H)
104 check_include_file_concat("err.h" HAVE_ERR_H)
105 check_include_file_concat("errno.h" HAVE_ERRNO_H)
106 check_include_file_concat("fcntl.h" HAVE_FCNTL_H)
107 check_include_file_concat("idn2.h" HAVE_IDN2_H)
108 check_include_file_concat("ifaddrs.h" HAVE_IFADDRS_H)
109 check_include_file_concat("inttypes.h" HAVE_INTTYPES_H) 99 check_include_file_concat("inttypes.h" HAVE_INTTYPES_H)
110 check_include_file_concat("io.h" HAVE_IO_H)
111 check_include_file_concat("krb.h" HAVE_KRB_H)
112 check_include_file_concat("libgen.h" HAVE_LIBGEN_H)
113 check_include_file_concat("limits.h" HAVE_LIMITS_H)
114 check_include_file_concat("locale.h" HAVE_LOCALE_H)
115 check_include_file_concat("malloc.h" HAVE_MALLOC_H)
116 check_include_file_concat("memory.h" HAVE_MEMORY_H)
117 check_include_file_concat("net/if.h" HAVE_NET_IF_H)
118 check_include_file_concat("netdb.h" HAVE_NETDB_H)
119 check_include_file_concat("netinet/if_ether.h" HAVE_NETINET_IF_ETHER_H)
120 check_include_file_concat("netinet/in.h" HAVE_NETINET_IN_H)
121 check_include_file_concat("netinet/tcp.h" HAVE_NETINET_TCP_H)
122 check_include_file_concat("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H)
123 check_include_file_concat("openssl/engine.h" HAVE_OPENSSL_ENGINE_H)
124 check_include_file_concat("openssl/err.h" HAVE_OPENSSL_ERR_H)
125 check_include_file_concat("openssl/pem.h" HAVE_OPENSSL_PEM_H)
126 check_include_file_concat("openssl/rand.h" HAVE_OPENSSL_RAND_H)
127 check_include_file_concat("openssl/rsa.h" HAVE_OPENSSL_RSA_H)
128 check_include_file_concat("openssl/ssl.h" HAVE_OPENSSL_SSL_H)
129 check_include_file_concat("openssl/x509.h" HAVE_OPENSSL_X509_H)
130 check_include_file_concat("pem.h" HAVE_PEM_H)
131 check_include_file_concat("poll.h" HAVE_POLL_H)
132 check_include_file_concat("process.h" HAVE_PROCESS_H)
133 check_include_file_concat("pwd.h" HAVE_PWD_H)
134 check_include_file_concat("rsa.h" HAVE_RSA_H)
135 check_include_file_concat("setjmp.h" HAVE_SETJMP_H)
136 check_include_file_concat("sgtty.h" HAVE_SGTTY_H)
137 check_include_file_concat("signal.h" HAVE_SIGNAL_H)
138 check_include_file_concat("sockio.h" HAVE_SOCKIO_H)
139 check_include_file_concat("ssl.h" HAVE_SSL_H)
140 check_include_file_concat("stdbool.h" HAVE_STDBOOL_H)
141 check_include_file_concat("stddef.h" HAVE_STDDEF_H)
142 check_include_file_concat("stdint.h" HAVE_STDINT_H)
143 check_include_file_concat("stdint.h" HAVE_STDINT_H)
144 check_include_file_concat("stdio.h" HAVE_STDIO_H)
145 check_include_file_concat("stdio.h" HAVE_STDIO_H)
146 check_include_file_concat("stdlib.h" HAVE_STDLIB_H)
147 check_include_file_concat("string.h" HAVE_STRING_H)
148 check_include_file_concat("strings.h" HAVE_STRINGS_H)
149 check_include_file_concat("stropts.h" HAVE_STROPTS_H)
150 check_include_file_concat("sys/filio.h" HAVE_SYS_FILIO_H) 100 check_include_file_concat("sys/filio.h" HAVE_SYS_FILIO_H)
151 check_include_file_concat("sys/ioctl.h" HAVE_SYS_IOCTL_H) 101 check_include_file_concat("sys/ioctl.h" HAVE_SYS_IOCTL_H)
152 check_include_file_concat("sys/param.h" HAVE_SYS_PARAM_H) 102 check_include_file_concat("sys/param.h" HAVE_SYS_PARAM_H)
153 check_include_file_concat("sys/poll.h" HAVE_SYS_POLL_H) 103 check_include_file_concat("sys/poll.h" HAVE_SYS_POLL_H)
154 check_include_file_concat("sys/resource.h" HAVE_SYS_RESOURCE_H) 104 check_include_file_concat("sys/resource.h" HAVE_SYS_RESOURCE_H)
159 check_include_file_concat("sys/time.h" HAVE_SYS_TIME_H) 109 check_include_file_concat("sys/time.h" HAVE_SYS_TIME_H)
160 check_include_file_concat("sys/types.h" HAVE_SYS_TYPES_H) 110 check_include_file_concat("sys/types.h" HAVE_SYS_TYPES_H)
161 check_include_file_concat("sys/uio.h" HAVE_SYS_UIO_H) 111 check_include_file_concat("sys/uio.h" HAVE_SYS_UIO_H)
162 check_include_file_concat("sys/un.h" HAVE_SYS_UN_H) 112 check_include_file_concat("sys/un.h" HAVE_SYS_UN_H)
163 check_include_file_concat("sys/utime.h" HAVE_SYS_UTIME_H) 113 check_include_file_concat("sys/utime.h" HAVE_SYS_UTIME_H)
164 check_include_file_concat("sys/utsname.h" HAVE_SYS_UTSNAME_H)
165 check_include_file_concat("sys/xattr.h" HAVE_SYS_XATTR_H) 114 check_include_file_concat("sys/xattr.h" HAVE_SYS_XATTR_H)
115 check_include_file_concat("alloca.h" HAVE_ALLOCA_H)
116 check_include_file_concat("arpa/inet.h" HAVE_ARPA_INET_H)
117 check_include_file_concat("arpa/tftp.h" HAVE_ARPA_TFTP_H)
118 check_include_file_concat("assert.h" HAVE_ASSERT_H)
119 check_include_file_concat("crypto.h" HAVE_CRYPTO_H)
120 check_include_file_concat("des.h" HAVE_DES_H)
121 check_include_file_concat("err.h" HAVE_ERR_H)
122 check_include_file_concat("errno.h" HAVE_ERRNO_H)
123 check_include_file_concat("fcntl.h" HAVE_FCNTL_H)
124 check_include_file_concat("idn2.h" HAVE_IDN2_H)
125 check_include_file_concat("ifaddrs.h" HAVE_IFADDRS_H)
126 check_include_file_concat("io.h" HAVE_IO_H)
127 check_include_file_concat("krb.h" HAVE_KRB_H)
128 check_include_file_concat("libgen.h" HAVE_LIBGEN_H)
129 check_include_file_concat("limits.h" HAVE_LIMITS_H)
130 check_include_file_concat("locale.h" HAVE_LOCALE_H)
131 check_include_file_concat("net/if.h" HAVE_NET_IF_H)
132 check_include_file_concat("netdb.h" HAVE_NETDB_H)
133 check_include_file_concat("netinet/in.h" HAVE_NETINET_IN_H)
134 check_include_file_concat("netinet/tcp.h" HAVE_NETINET_TCP_H)
135
136 check_include_file_concat("pem.h" HAVE_PEM_H)
137 check_include_file_concat("poll.h" HAVE_POLL_H)
138 check_include_file_concat("pwd.h" HAVE_PWD_H)
139 check_include_file_concat("rsa.h" HAVE_RSA_H)
140 check_include_file_concat("setjmp.h" HAVE_SETJMP_H)
141 check_include_file_concat("sgtty.h" HAVE_SGTTY_H)
142 check_include_file_concat("signal.h" HAVE_SIGNAL_H)
143 check_include_file_concat("ssl.h" HAVE_SSL_H)
144 check_include_file_concat("stdbool.h" HAVE_STDBOOL_H)
145 check_include_file_concat("stdint.h" HAVE_STDINT_H)
146 check_include_file_concat("stdio.h" HAVE_STDIO_H)
147 check_include_file_concat("stdlib.h" HAVE_STDLIB_H)
148 check_include_file_concat("string.h" HAVE_STRING_H)
149 check_include_file_concat("strings.h" HAVE_STRINGS_H)
150 check_include_file_concat("stropts.h" HAVE_STROPTS_H)
166 check_include_file_concat("termio.h" HAVE_TERMIO_H) 151 check_include_file_concat("termio.h" HAVE_TERMIO_H)
167 check_include_file_concat("termios.h" HAVE_TERMIOS_H) 152 check_include_file_concat("termios.h" HAVE_TERMIOS_H)
168 check_include_file_concat("time.h" HAVE_TIME_H) 153 check_include_file_concat("time.h" HAVE_TIME_H)
169 check_include_file_concat("unistd.h" HAVE_UNISTD_H) 154 check_include_file_concat("unistd.h" HAVE_UNISTD_H)
170 check_include_file_concat("utime.h" HAVE_UTIME_H) 155 check_include_file_concat("utime.h" HAVE_UTIME_H)
171 check_include_file_concat("x509.h" HAVE_X509_H) 156 check_include_file_concat("x509.h" HAVE_X509_H)
157
158 check_include_file_concat("process.h" HAVE_PROCESS_H)
159 check_include_file_concat("stddef.h" HAVE_STDDEF_H)
160 check_include_file_concat("dlfcn.h" HAVE_DLFCN_H)
161 check_include_file_concat("malloc.h" HAVE_MALLOC_H)
162 check_include_file_concat("memory.h" HAVE_MEMORY_H)
163 check_include_file_concat("netinet/if_ether.h" HAVE_NETINET_IF_ETHER_H)
164 check_include_file_concat("stdint.h" HAVE_STDINT_H)
165 check_include_file_concat("sockio.h" HAVE_SOCKIO_H)
166 check_include_file_concat("sys/utsname.h" HAVE_SYS_UTSNAME_H)
172 167
173 check_type_size("size_t" SIZEOF_SIZE_T) 168 check_type_size("size_t" SIZEOF_SIZE_T)
174 check_type_size("ssize_t" SIZEOF_SSIZE_T) 169 check_type_size("ssize_t" SIZEOF_SSIZE_T)
175 check_type_size("long long" SIZEOF_LONG_LONG) 170 check_type_size("long long" SIZEOF_LONG_LONG)
176 check_type_size("long" SIZEOF_LONG) 171 check_type_size("long" SIZEOF_LONG)