Guest User

Untitled

a guest
Jun 3rd, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 634.37 KB | None | 0 0
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3.  
  4. It was created by configure, which was
  5. generated by GNU Autoconf 2.69. Invocation command line was
  6.  
  7. $ ./configure --prefix=/home/medir/.rvm/rubies/ruby-1.9.3-p551 --disable-install-doc --enable-shared
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = T1000U
  14. uname -m = x86_64
  15. uname -r = 4.4.0-98-generic
  16. uname -s = Linux
  17. uname -v = #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017
  18.  
  19. /usr/bin/uname -p = unknown
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = unknown
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = unknown
  26. /bin/machine = unknown
  27. /usr/bin/oslevel = unknown
  28. /bin/universe = unknown
  29.  
  30. PATH: /home/medir/.rvm/usr/bin
  31. PATH: /home/medir/.rvm/gems/ruby-2.1.0@englishsummer/bin
  32. PATH: /home/medir/.rvm/gems/ruby-2.1.0@global/bin
  33. PATH: /home/medir/.rvm/rubies/ruby-2.1.0/bin
  34. PATH: /home/medir/.rvm/bin
  35. PATH: /home/medir/bin
  36. PATH: /home/medir/.local/bin
  37. PATH: /home/medir/bin
  38. PATH: /home/medir/.local/bin
  39. PATH: /usr/local/sbin
  40. PATH: /usr/local/bin
  41. PATH: /usr/sbin
  42. PATH: /usr/bin
  43. PATH: /sbin
  44. PATH: /bin
  45. PATH: /usr/games
  46. PATH: /usr/local/games
  47. PATH: /snap/bin
  48.  
  49.  
  50. ## ----------- ##
  51. ## Core tests. ##
  52. ## ----------- ##
  53.  
  54. configure:2800: checking build system type
  55. configure:2814: result: x86_64-pc-linux-gnu
  56. configure:2882: checking host system type
  57. configure:2895: result: x86_64-pc-linux-gnu
  58. configure:2915: checking target system type
  59. configure:2928: result: x86_64-pc-linux-gnu
  60. configure:3153: checking for gcc
  61. configure:3169: found /usr/bin/gcc
  62. configure:3180: result: gcc
  63. configure:3409: checking for C compiler version
  64. configure:3418: gcc --version >&5
  65. gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
  66. Copyright (C) 2015 Free Software Foundation, Inc.
  67. This is free software; see the source for copying conditions. There is NO
  68. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  69.  
  70. configure:3429: $? = 0
  71. configure:3418: gcc -v >&5
  72. Using built-in specs.
  73. COLLECT_GCC=gcc
  74. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
  75. Target: x86_64-linux-gnu
  76. Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.5' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  77. Thread model: posix
  78. gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
  79. configure:3429: $? = 0
  80. configure:3418: gcc -V >&5
  81. gcc: error: unrecognized command line option '-V'
  82. gcc: fatal error: no input files
  83. compilation terminated.
  84. configure:3429: $? = 1
  85. configure:3418: gcc -qversion >&5
  86. gcc: error: unrecognized command line option '-qversion'
  87. gcc: fatal error: no input files
  88. compilation terminated.
  89. configure:3429: $? = 1
  90. configure:3449: checking whether the C compiler works
  91. configure:3471: gcc conftest.c >&5
  92. configure:3475: $? = 0
  93. configure:3523: result: yes
  94. configure:3526: checking for C compiler default output file name
  95. configure:3528: result: a.out
  96. configure:3534: checking for suffix of executables
  97. configure:3541: gcc -o conftest conftest.c >&5
  98. configure:3545: $? = 0
  99. configure:3567: result:
  100. configure:3589: checking whether we are cross compiling
  101. configure:3597: gcc -o conftest conftest.c >&5
  102. configure:3601: $? = 0
  103. configure:3608: ./conftest
  104. configure:3612: $? = 0
  105. configure:3627: result: no
  106. configure:3632: checking for suffix of object files
  107. configure:3654: gcc -c conftest.c >&5
  108. configure:3658: $? = 0
  109. configure:3679: result: o
  110. configure:3683: checking whether we are using the GNU C compiler
  111. configure:3702: gcc -c conftest.c >&5
  112. configure:3702: $? = 0
  113. configure:3711: result: yes
  114. configure:3720: checking whether gcc accepts -g
  115. configure:3740: gcc -c -g conftest.c >&5
  116. configure:3740: $? = 0
  117. configure:3781: result: yes
  118. configure:3798: checking for gcc option to accept ISO C89
  119. configure:3861: gcc -c -g -O2 conftest.c >&5
  120. configure:3861: $? = 0
  121. configure:3874: result: none needed
  122. configure:3952: checking for g++
  123. configure:3968: found /usr/bin/g++
  124. configure:3979: result: g++
  125. configure:4006: checking for C++ compiler version
  126. configure:4015: g++ --version >&5
  127. g++ (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
  128. Copyright (C) 2015 Free Software Foundation, Inc.
  129. This is free software; see the source for copying conditions. There is NO
  130. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  131.  
  132. configure:4026: $? = 0
  133. configure:4015: g++ -v >&5
  134. Using built-in specs.
  135. COLLECT_GCC=g++
  136. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
  137. Target: x86_64-linux-gnu
  138. Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.5' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  139. Thread model: posix
  140. gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
  141. configure:4026: $? = 0
  142. configure:4015: g++ -V >&5
  143. g++: error: unrecognized command line option '-V'
  144. g++: fatal error: no input files
  145. compilation terminated.
  146. configure:4026: $? = 1
  147. configure:4015: g++ -qversion >&5
  148. g++: error: unrecognized command line option '-qversion'
  149. g++: fatal error: no input files
  150. compilation terminated.
  151. configure:4026: $? = 1
  152. configure:4030: checking whether we are using the GNU C++ compiler
  153. configure:4049: g++ -c conftest.cpp >&5
  154. configure:4049: $? = 0
  155. configure:4058: result: yes
  156. configure:4067: checking whether g++ accepts -g
  157. configure:4087: g++ -c -g conftest.cpp >&5
  158. configure:4087: $? = 0
  159. configure:4128: result: yes
  160. configure:4157: checking how to run the C preprocessor
  161. configure:4188: gcc -E conftest.c
  162. configure:4188: $? = 0
  163. configure:4202: gcc -E conftest.c
  164. conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
  165. compilation terminated.
  166. configure:4202: $? = 1
  167. configure: failed program was:
  168. | /* confdefs.h */
  169. | #define PACKAGE_NAME ""
  170. | #define PACKAGE_TARNAME ""
  171. | #define PACKAGE_VERSION ""
  172. | #define PACKAGE_STRING ""
  173. | #define PACKAGE_BUGREPORT ""
  174. | #define PACKAGE_URL ""
  175. | #define CANONICALIZATION_FOR_MATHN 1
  176. | /* end confdefs.h. */
  177. | #include <ac_nonexistent.h>
  178. configure:4227: result: gcc -E
  179. configure:4247: gcc -E conftest.c
  180. configure:4247: $? = 0
  181. configure:4261: gcc -E conftest.c
  182. conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
  183. compilation terminated.
  184. configure:4261: $? = 1
  185. configure: failed program was:
  186. | /* confdefs.h */
  187. | #define PACKAGE_NAME ""
  188. | #define PACKAGE_TARNAME ""
  189. | #define PACKAGE_VERSION ""
  190. | #define PACKAGE_STRING ""
  191. | #define PACKAGE_BUGREPORT ""
  192. | #define PACKAGE_URL ""
  193. | #define CANONICALIZATION_FOR_MATHN 1
  194. | /* end confdefs.h. */
  195. | #include <ac_nonexistent.h>
  196. configure:4290: checking for grep that handles long lines and -e
  197. configure:4348: result: /bin/grep
  198. configure:4353: checking for egrep
  199. configure:4415: result: /bin/grep -E
  200. configure:4421: checking whether gcc needs -traditional
  201. configure:4455: result: no
  202. configure:4480: checking whether the linker is GNU ld
  203. configure:4492: result: yes
  204. configure:4496: checking whether gcc -E accepts -o
  205. configure:4507: gcc -E -o conftest.i conftest.c
  206. configure:4507: $? = 0
  207. configure:4516: result: yes
  208. configure:4843: checking for ranlib
  209. configure:4859: found /usr/bin/ranlib
  210. configure:4870: result: ranlib
  211. configure:4935: checking for ar
  212. configure:4951: found /usr/bin/ar
  213. configure:4962: result: ar
  214. configure:5073: checking for as
  215. configure:5089: found /usr/bin/as
  216. configure:5100: result: as
  217. configure:5182: checking for objdump
  218. configure:5198: found /usr/bin/objdump
  219. configure:5209: result: objdump
  220. configure:5282: checking for objcopy
  221. configure:5298: found /usr/bin/objcopy
  222. configure:5309: result: objcopy
  223. configure:5720: checking for nm
  224. configure:5736: found /usr/bin/nm
  225. configure:5747: result: nm
  226. configure:5770: checking whether ln -s works
  227. configure:5774: result: yes
  228. configure:5781: checking whether make sets $(MAKE)
  229. configure:5803: result: yes
  230. configure:5826: checking for a BSD-compatible install
  231. configure:5894: result: /usr/bin/install -c
  232. configure:5905: checking for a thread-safe mkdir -p
  233. configure:5944: result: /bin/mkdir -p
  234. configure:5962: checking for dot
  235. configure:5978: found /usr/bin/dot
  236. configure:5989: result: dot
  237. configure:6004: checking for doxygen
  238. configure:6034: result: no
  239. configure:6045: checking for pkg-config
  240. configure:6066: found /usr/bin/pkg-config
  241. configure:6089: result: pkg-config
  242. configure:6099: checking for ANSI C header files
  243. configure:6119: gcc -c -g -O2 conftest.c >&5
  244. configure:6119: $? = 0
  245. configure:6192: gcc -o conftest -g -O2 conftest.c >&5
  246. configure:6192: $? = 0
  247. configure:6192: ./conftest
  248. configure:6192: $? = 0
  249. configure:6203: result: yes
  250. configure:6216: checking for sys/types.h
  251. configure:6216: gcc -c -g -O2 conftest.c >&5
  252. configure:6216: $? = 0
  253. configure:6216: result: yes
  254. configure:6216: checking for sys/stat.h
  255. configure:6216: gcc -c -g -O2 conftest.c >&5
  256. configure:6216: $? = 0
  257. configure:6216: result: yes
  258. configure:6216: checking for stdlib.h
  259. configure:6216: gcc -c -g -O2 conftest.c >&5
  260. configure:6216: $? = 0
  261. configure:6216: result: yes
  262. configure:6216: checking for string.h
  263. configure:6216: gcc -c -g -O2 conftest.c >&5
  264. configure:6216: $? = 0
  265. configure:6216: result: yes
  266. configure:6216: checking for memory.h
  267. configure:6216: gcc -c -g -O2 conftest.c >&5
  268. configure:6216: $? = 0
  269. configure:6216: result: yes
  270. configure:6216: checking for strings.h
  271. configure:6216: gcc -c -g -O2 conftest.c >&5
  272. configure:6216: $? = 0
  273. configure:6216: result: yes
  274. configure:6216: checking for inttypes.h
  275. configure:6216: gcc -c -g -O2 conftest.c >&5
  276. configure:6216: $? = 0
  277. configure:6216: result: yes
  278. configure:6216: checking for stdint.h
  279. configure:6216: gcc -c -g -O2 conftest.c >&5
  280. configure:6216: $? = 0
  281. configure:6216: result: yes
  282. configure:6216: checking for unistd.h
  283. configure:6216: gcc -c -g -O2 conftest.c >&5
  284. configure:6216: $? = 0
  285. configure:6216: result: yes
  286. configure:6229: checking minix/config.h usability
  287. configure:6229: gcc -c -g -O2 conftest.c >&5
  288. conftest.c:53:26: fatal error: minix/config.h: No such file or directory
  289. compilation terminated.
  290. configure:6229: $? = 1
  291. configure: failed program was:
  292. | /* confdefs.h */
  293. | #define PACKAGE_NAME ""
  294. | #define PACKAGE_TARNAME ""
  295. | #define PACKAGE_VERSION ""
  296. | #define PACKAGE_STRING ""
  297. | #define PACKAGE_BUGREPORT ""
  298. | #define PACKAGE_URL ""
  299. | #define CANONICALIZATION_FOR_MATHN 1
  300. | #define STDC_HEADERS 1
  301. | #define HAVE_SYS_TYPES_H 1
  302. | #define HAVE_SYS_STAT_H 1
  303. | #define HAVE_STDLIB_H 1
  304. | #define HAVE_STRING_H 1
  305. | #define HAVE_MEMORY_H 1
  306. | #define HAVE_STRINGS_H 1
  307. | #define HAVE_INTTYPES_H 1
  308. | #define HAVE_STDINT_H 1
  309. | #define HAVE_UNISTD_H 1
  310. | /* end confdefs.h. */
  311. | #include <stdio.h>
  312. | #ifdef HAVE_SYS_TYPES_H
  313. | # include <sys/types.h>
  314. | #endif
  315. | #ifdef HAVE_SYS_STAT_H
  316. | # include <sys/stat.h>
  317. | #endif
  318. | #ifdef STDC_HEADERS
  319. | # include <stdlib.h>
  320. | # include <stddef.h>
  321. | #else
  322. | # ifdef HAVE_STDLIB_H
  323. | # include <stdlib.h>
  324. | # endif
  325. | #endif
  326. | #ifdef HAVE_STRING_H
  327. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  328. | # include <memory.h>
  329. | # endif
  330. | # include <string.h>
  331. | #endif
  332. | #ifdef HAVE_STRINGS_H
  333. | # include <strings.h>
  334. | #endif
  335. | #ifdef HAVE_INTTYPES_H
  336. | # include <inttypes.h>
  337. | #endif
  338. | #ifdef HAVE_STDINT_H
  339. | # include <stdint.h>
  340. | #endif
  341. | #ifdef HAVE_UNISTD_H
  342. | # include <unistd.h>
  343. | #endif
  344. | #include <minix/config.h>
  345. configure:6229: result: no
  346. configure:6229: checking minix/config.h presence
  347. configure:6229: gcc -E conftest.c
  348. conftest.c:20:26: fatal error: minix/config.h: No such file or directory
  349. compilation terminated.
  350. configure:6229: $? = 1
  351. configure: failed program was:
  352. | /* confdefs.h */
  353. | #define PACKAGE_NAME ""
  354. | #define PACKAGE_TARNAME ""
  355. | #define PACKAGE_VERSION ""
  356. | #define PACKAGE_STRING ""
  357. | #define PACKAGE_BUGREPORT ""
  358. | #define PACKAGE_URL ""
  359. | #define CANONICALIZATION_FOR_MATHN 1
  360. | #define STDC_HEADERS 1
  361. | #define HAVE_SYS_TYPES_H 1
  362. | #define HAVE_SYS_STAT_H 1
  363. | #define HAVE_STDLIB_H 1
  364. | #define HAVE_STRING_H 1
  365. | #define HAVE_MEMORY_H 1
  366. | #define HAVE_STRINGS_H 1
  367. | #define HAVE_INTTYPES_H 1
  368. | #define HAVE_STDINT_H 1
  369. | #define HAVE_UNISTD_H 1
  370. | /* end confdefs.h. */
  371. | #include <minix/config.h>
  372. configure:6229: result: no
  373. configure:6229: checking for minix/config.h
  374. configure:6229: result: no
  375. configure:6250: checking whether it is safe to define __EXTENSIONS__
  376. configure:6268: gcc -c -g -O2 conftest.c >&5
  377. configure:6268: $? = 0
  378. configure:6275: result: yes
  379. configure:6307: checking for cd using physical directory
  380. configure:6322: result: cd -P
  381. configure:6360: checking whether -Wno-unused-parameter is accepted
  382. configure:6383: gcc -c -g -O2 -Wno-unused-parameter conftest.c >&5
  383. configure:6383: $? = 0
  384. configure:6385: result: yes
  385. configure:6360: checking whether -Wno-parentheses is accepted
  386. configure:6383: gcc -c -g -O2 -Wno-parentheses conftest.c >&5
  387. configure:6383: $? = 0
  388. configure:6385: result: yes
  389. configure:6360: checking whether -Wno-long-long is accepted
  390. configure:6383: gcc -c -g -O2 -Wno-long-long conftest.c >&5
  391. configure:6383: $? = 0
  392. configure:6385: result: yes
  393. configure:6360: checking whether -Wno-missing-field-initializers is accepted
  394. configure:6383: gcc -c -g -O2 -Wno-missing-field-initializers conftest.c >&5
  395. configure:6383: $? = 0
  396. configure:6385: result: yes
  397. configure:6360: checking whether -Wpointer-arith is accepted
  398. configure:6383: gcc -c -g -O2 -Wpointer-arith conftest.c >&5
  399. configure:6383: $? = 0
  400. configure:6385: result: yes
  401. configure:6360: checking whether -Wwrite-strings is accepted
  402. configure:6383: gcc -c -g -O2 -Wwrite-strings conftest.c >&5
  403. configure:6383: $? = 0
  404. configure:6385: result: yes
  405. configure:6360: checking whether -Wdeclaration-after-statement is accepted
  406. configure:6383: gcc -c -g -O2 -Wdeclaration-after-statement conftest.c >&5
  407. configure:6383: $? = 0
  408. configure:6385: result: yes
  409. configure:6360: checking whether -Wshorten-64-to-32 is accepted
  410. configure:6383: gcc -c -g -O2 -Wshorten-64-to-32 conftest.c >&5
  411. gcc: error: unrecognized command line option '-Wshorten-64-to-32'
  412. configure:6383: $? = 1
  413. configure: failed program was:
  414. | /* confdefs.h */
  415. | #define PACKAGE_NAME ""
  416. | #define PACKAGE_TARNAME ""
  417. | #define PACKAGE_VERSION ""
  418. | #define PACKAGE_STRING ""
  419. | #define PACKAGE_BUGREPORT ""
  420. | #define PACKAGE_URL ""
  421. | #define CANONICALIZATION_FOR_MATHN 1
  422. | #define STDC_HEADERS 1
  423. | #define HAVE_SYS_TYPES_H 1
  424. | #define HAVE_SYS_STAT_H 1
  425. | #define HAVE_STDLIB_H 1
  426. | #define HAVE_STRING_H 1
  427. | #define HAVE_MEMORY_H 1
  428. | #define HAVE_STRINGS_H 1
  429. | #define HAVE_INTTYPES_H 1
  430. | #define HAVE_STDINT_H 1
  431. | #define HAVE_UNISTD_H 1
  432. | #define __EXTENSIONS__ 1
  433. | #define _ALL_SOURCE 1
  434. | #define _GNU_SOURCE 1
  435. | #define _POSIX_PTHREAD_SEMANTICS 1
  436. | #define _TANDEM_SOURCE 1
  437. | /* end confdefs.h. */
  438. |
  439. | int
  440. | main ()
  441. | {
  442. |
  443. | ;
  444. | return 0;
  445. | }
  446. configure:6389: result: no
  447. configure:6360: checking whether -Wimplicit-function-declaration is accepted
  448. configure:6383: gcc -c -g -O2 -Wimplicit-function-declaration conftest.c >&5
  449. configure:6383: $? = 0
  450. configure:6385: result: yes
  451. configure:6464: checking whether -Wall -Wextra is accepted
  452. configure:6487: gcc -c -g -O2 -Wall -Wextra conftest.c >&5
  453. configure:6487: $? = 0
  454. configure:6489: result: yes
  455. configure:6512: checking whether -ggdb is accepted
  456. configure:6535: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -ggdb conftest.c >&5
  457. configure:6535: $? = 0
  458. configure:6537: result: yes
  459. configure:6624: gcc -c -g -O2 conftest.c >&5
  460. configure:6624: $? = 0
  461. configure:6632: checking whether -fvisibility=hidden is accepted
  462. configure:6655: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fvisibility=hidden conftest.c >&5
  463. configure:6655: $? = 0
  464. configure:6657: result: yes
  465. configure:6804: checking for special C compiler options needed for large files
  466. configure:6849: result: no
  467. configure:6855: checking for _FILE_OFFSET_BITS value needed for large files
  468. configure:6880: gcc -c -O3 -ggdb conftest.c >&5
  469. configure:6880: $? = 0
  470. configure:6912: result: no
  471. configure:7008: checking whether byte ordering is bigendian
  472. configure:7023: gcc -c -O3 -ggdb conftest.c >&5
  473. conftest.c:26:9: error: unknown type name 'not'
  474. not a universal capable compiler
  475. ^
  476. conftest.c:26:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
  477. not a universal capable compiler
  478. ^
  479. conftest.c:26:15: error: unknown type name 'universal'
  480. configure:7023: $? = 1
  481. configure: failed program was:
  482. | /* confdefs.h */
  483. | #define PACKAGE_NAME ""
  484. | #define PACKAGE_TARNAME ""
  485. | #define PACKAGE_VERSION ""
  486. | #define PACKAGE_STRING ""
  487. | #define PACKAGE_BUGREPORT ""
  488. | #define PACKAGE_URL ""
  489. | #define CANONICALIZATION_FOR_MATHN 1
  490. | #define STDC_HEADERS 1
  491. | #define HAVE_SYS_TYPES_H 1
  492. | #define HAVE_SYS_STAT_H 1
  493. | #define HAVE_STDLIB_H 1
  494. | #define HAVE_STRING_H 1
  495. | #define HAVE_MEMORY_H 1
  496. | #define HAVE_STRINGS_H 1
  497. | #define HAVE_INTTYPES_H 1
  498. | #define HAVE_STDINT_H 1
  499. | #define HAVE_UNISTD_H 1
  500. | #define __EXTENSIONS__ 1
  501. | #define _ALL_SOURCE 1
  502. | #define _GNU_SOURCE 1
  503. | #define _POSIX_PTHREAD_SEMANTICS 1
  504. | #define _TANDEM_SOURCE 1
  505. | /* end confdefs.h. */
  506. | #ifndef __APPLE_CC__
  507. | not a universal capable compiler
  508. | #endif
  509. | typedef int dummy;
  510. |
  511. configure:7068: gcc -c -O3 -ggdb conftest.c >&5
  512. configure:7068: $? = 0
  513. configure:7086: gcc -c -O3 -ggdb conftest.c >&5
  514. conftest.c: In function 'main':
  515. conftest.c:32:4: error: unknown type name 'not'
  516. not big endian
  517. ^
  518. conftest.c:32:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
  519. not big endian
  520. ^
  521. configure:7086: $? = 1
  522. configure: failed program was:
  523. | /* confdefs.h */
  524. | #define PACKAGE_NAME ""
  525. | #define PACKAGE_TARNAME ""
  526. | #define PACKAGE_VERSION ""
  527. | #define PACKAGE_STRING ""
  528. | #define PACKAGE_BUGREPORT ""
  529. | #define PACKAGE_URL ""
  530. | #define CANONICALIZATION_FOR_MATHN 1
  531. | #define STDC_HEADERS 1
  532. | #define HAVE_SYS_TYPES_H 1
  533. | #define HAVE_SYS_STAT_H 1
  534. | #define HAVE_STDLIB_H 1
  535. | #define HAVE_STRING_H 1
  536. | #define HAVE_MEMORY_H 1
  537. | #define HAVE_STRINGS_H 1
  538. | #define HAVE_INTTYPES_H 1
  539. | #define HAVE_STDINT_H 1
  540. | #define HAVE_UNISTD_H 1
  541. | #define __EXTENSIONS__ 1
  542. | #define _ALL_SOURCE 1
  543. | #define _GNU_SOURCE 1
  544. | #define _POSIX_PTHREAD_SEMANTICS 1
  545. | #define _TANDEM_SOURCE 1
  546. | /* end confdefs.h. */
  547. | #include <sys/types.h>
  548. | #include <sys/param.h>
  549. |
  550. | int
  551. | main ()
  552. | {
  553. | #if BYTE_ORDER != BIG_ENDIAN
  554. | not big endian
  555. | #endif
  556. |
  557. | ;
  558. | return 0;
  559. | }
  560. configure:7214: result: no
  561. configure:7232: checking for an ANSI C-conforming const
  562. configure:7298: gcc -c -O3 -ggdb conftest.c >&5
  563. configure:7298: $? = 0
  564. configure:7305: result: yes
  565. configure:7313: checking whether char is unsigned
  566. configure:7332: gcc -c -O3 -ggdb conftest.c >&5
  567. configure:7332: $? = 0
  568. configure:7339: result: no
  569. configure:7346: checking for inline
  570. configure:7362: gcc -c -O3 -ggdb conftest.c >&5
  571. configure:7362: $? = 0
  572. configure:7370: result: inline
  573. configure:7388: checking for working volatile
  574. configure:7407: gcc -c -O3 -ggdb conftest.c >&5
  575. configure:7407: $? = 0
  576. configure:7414: result: yes
  577. configure:7430: checking for long long
  578. configure:7430: gcc -c -O3 -ggdb conftest.c >&5
  579. configure:7430: $? = 0
  580. configure:7430: gcc -c -O3 -ggdb conftest.c >&5
  581. conftest.c: In function 'main':
  582. conftest.c:61:24: error: expected expression before ')' token
  583. if (sizeof ((long long)))
  584. ^
  585. configure:7430: $? = 1
  586. configure: failed program was:
  587. | /* confdefs.h */
  588. | #define PACKAGE_NAME ""
  589. | #define PACKAGE_TARNAME ""
  590. | #define PACKAGE_VERSION ""
  591. | #define PACKAGE_STRING ""
  592. | #define PACKAGE_BUGREPORT ""
  593. | #define PACKAGE_URL ""
  594. | #define CANONICALIZATION_FOR_MATHN 1
  595. | #define STDC_HEADERS 1
  596. | #define HAVE_SYS_TYPES_H 1
  597. | #define HAVE_SYS_STAT_H 1
  598. | #define HAVE_STDLIB_H 1
  599. | #define HAVE_STRING_H 1
  600. | #define HAVE_MEMORY_H 1
  601. | #define HAVE_STRINGS_H 1
  602. | #define HAVE_INTTYPES_H 1
  603. | #define HAVE_STDINT_H 1
  604. | #define HAVE_UNISTD_H 1
  605. | #define __EXTENSIONS__ 1
  606. | #define _ALL_SOURCE 1
  607. | #define _GNU_SOURCE 1
  608. | #define _POSIX_PTHREAD_SEMANTICS 1
  609. | #define _TANDEM_SOURCE 1
  610. | /* end confdefs.h. */
  611. | #include <stdio.h>
  612. | #ifdef HAVE_SYS_TYPES_H
  613. | # include <sys/types.h>
  614. | #endif
  615. | #ifdef HAVE_SYS_STAT_H
  616. | # include <sys/stat.h>
  617. | #endif
  618. | #ifdef STDC_HEADERS
  619. | # include <stdlib.h>
  620. | # include <stddef.h>
  621. | #else
  622. | # ifdef HAVE_STDLIB_H
  623. | # include <stdlib.h>
  624. | # endif
  625. | #endif
  626. | #ifdef HAVE_STRING_H
  627. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  628. | # include <memory.h>
  629. | # endif
  630. | # include <string.h>
  631. | #endif
  632. | #ifdef HAVE_STRINGS_H
  633. | # include <strings.h>
  634. | #endif
  635. | #ifdef HAVE_INTTYPES_H
  636. | # include <inttypes.h>
  637. | #endif
  638. | #ifdef HAVE_STDINT_H
  639. | # include <stdint.h>
  640. | #endif
  641. | #ifdef HAVE_UNISTD_H
  642. | # include <unistd.h>
  643. | #endif
  644. | int
  645. | main ()
  646. | {
  647. | if (sizeof ((long long)))
  648. | return 0;
  649. | ;
  650. | return 0;
  651. | }
  652. configure:7430: result: yes
  653. configure:7439: checking for off_t
  654. configure:7439: gcc -c -O3 -ggdb conftest.c >&5
  655. configure:7439: $? = 0
  656. configure:7439: gcc -c -O3 -ggdb conftest.c >&5
  657. conftest.c: In function 'main':
  658. conftest.c:62:20: error: expected expression before ')' token
  659. if (sizeof ((off_t)))
  660. ^
  661. configure:7439: $? = 1
  662. configure: failed program was:
  663. | /* confdefs.h */
  664. | #define PACKAGE_NAME ""
  665. | #define PACKAGE_TARNAME ""
  666. | #define PACKAGE_VERSION ""
  667. | #define PACKAGE_STRING ""
  668. | #define PACKAGE_BUGREPORT ""
  669. | #define PACKAGE_URL ""
  670. | #define CANONICALIZATION_FOR_MATHN 1
  671. | #define STDC_HEADERS 1
  672. | #define HAVE_SYS_TYPES_H 1
  673. | #define HAVE_SYS_STAT_H 1
  674. | #define HAVE_STDLIB_H 1
  675. | #define HAVE_STRING_H 1
  676. | #define HAVE_MEMORY_H 1
  677. | #define HAVE_STRINGS_H 1
  678. | #define HAVE_INTTYPES_H 1
  679. | #define HAVE_STDINT_H 1
  680. | #define HAVE_UNISTD_H 1
  681. | #define __EXTENSIONS__ 1
  682. | #define _ALL_SOURCE 1
  683. | #define _GNU_SOURCE 1
  684. | #define _POSIX_PTHREAD_SEMANTICS 1
  685. | #define _TANDEM_SOURCE 1
  686. | #define HAVE_LONG_LONG 1
  687. | /* end confdefs.h. */
  688. | #include <stdio.h>
  689. | #ifdef HAVE_SYS_TYPES_H
  690. | # include <sys/types.h>
  691. | #endif
  692. | #ifdef HAVE_SYS_STAT_H
  693. | # include <sys/stat.h>
  694. | #endif
  695. | #ifdef STDC_HEADERS
  696. | # include <stdlib.h>
  697. | # include <stddef.h>
  698. | #else
  699. | # ifdef HAVE_STDLIB_H
  700. | # include <stdlib.h>
  701. | # endif
  702. | #endif
  703. | #ifdef HAVE_STRING_H
  704. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  705. | # include <memory.h>
  706. | # endif
  707. | # include <string.h>
  708. | #endif
  709. | #ifdef HAVE_STRINGS_H
  710. | # include <strings.h>
  711. | #endif
  712. | #ifdef HAVE_INTTYPES_H
  713. | # include <inttypes.h>
  714. | #endif
  715. | #ifdef HAVE_STDINT_H
  716. | # include <stdint.h>
  717. | #endif
  718. | #ifdef HAVE_UNISTD_H
  719. | # include <unistd.h>
  720. | #endif
  721. | int
  722. | main ()
  723. | {
  724. | if (sizeof ((off_t)))
  725. | return 0;
  726. | ;
  727. | return 0;
  728. | }
  729. configure:7439: result: yes
  730. configure:7450: checking char bit
  731. configure:7456: gcc -o conftest -O3 -ggdb conftest.c >&5
  732. configure:7456: $? = 0
  733. configure:7456: ./conftest
  734. configure:7456: $? = 0
  735. configure:7465: result: 8
  736. configure:7592: checking size of int
  737. configure:7597: gcc -o conftest -O3 -ggdb conftest.c >&5
  738. configure:7597: $? = 0
  739. configure:7597: ./conftest
  740. configure:7597: $? = 0
  741. configure:7611: result: 4
  742. configure:7690: checking size of short
  743. configure:7695: gcc -o conftest -O3 -ggdb conftest.c >&5
  744. configure:7695: $? = 0
  745. configure:7695: ./conftest
  746. configure:7695: $? = 0
  747. configure:7709: result: 2
  748. configure:7868: checking size of long
  749. configure:7873: gcc -o conftest -O3 -ggdb conftest.c >&5
  750. configure:7873: $? = 0
  751. configure:7873: ./conftest
  752. configure:7873: $? = 0
  753. configure:7887: result: 8
  754. configure:7966: checking size of long long
  755. configure:7971: gcc -o conftest -O3 -ggdb conftest.c >&5
  756. configure:7971: $? = 0
  757. configure:7971: ./conftest
  758. configure:7971: $? = 0
  759. configure:7985: result: 8
  760. configure:8064: checking size of __int64
  761. configure:8069: gcc -o conftest -O3 -ggdb conftest.c >&5
  762. conftest.c: In function 'longval':
  763. conftest.c:64:57: error: '__int64' undeclared (first use in this function)
  764. static long int longval () { return (long int) (sizeof (__int64)); }
  765. ^
  766. conftest.c:64:57: note: each undeclared identifier is reported only once for each function it appears in
  767. conftest.c: In function 'ulongval':
  768. conftest.c:65:67: error: '__int64' undeclared (first use in this function)
  769. static unsigned long int ulongval () { return (long int) (sizeof (__int64)); }
  770. ^
  771. conftest.c: In function 'main':
  772. conftest.c:75:28: error: '__int64' undeclared (first use in this function)
  773. if (((long int) (sizeof (__int64))) < 0)
  774. ^
  775. configure:8069: $? = 1
  776. configure: program exited with status 1
  777. configure: failed program was:
  778. | /* confdefs.h */
  779. | #define PACKAGE_NAME ""
  780. | #define PACKAGE_TARNAME ""
  781. | #define PACKAGE_VERSION ""
  782. | #define PACKAGE_STRING ""
  783. | #define PACKAGE_BUGREPORT ""
  784. | #define PACKAGE_URL ""
  785. | #define CANONICALIZATION_FOR_MATHN 1
  786. | #define STDC_HEADERS 1
  787. | #define HAVE_SYS_TYPES_H 1
  788. | #define HAVE_SYS_STAT_H 1
  789. | #define HAVE_STDLIB_H 1
  790. | #define HAVE_STRING_H 1
  791. | #define HAVE_MEMORY_H 1
  792. | #define HAVE_STRINGS_H 1
  793. | #define HAVE_INTTYPES_H 1
  794. | #define HAVE_STDINT_H 1
  795. | #define HAVE_UNISTD_H 1
  796. | #define __EXTENSIONS__ 1
  797. | #define _ALL_SOURCE 1
  798. | #define _GNU_SOURCE 1
  799. | #define _POSIX_PTHREAD_SEMANTICS 1
  800. | #define _TANDEM_SOURCE 1
  801. | #define HAVE_LONG_LONG 1
  802. | #define HAVE_OFF_T 1
  803. | #define SIZEOF_INT 4
  804. | #define SIZEOF_SHORT 2
  805. | #define SIZEOF_LONG 8
  806. | #define SIZEOF_LONG_LONG 8
  807. | /* end confdefs.h. */
  808. | #include <stdio.h>
  809. | #ifdef HAVE_SYS_TYPES_H
  810. | # include <sys/types.h>
  811. | #endif
  812. | #ifdef HAVE_SYS_STAT_H
  813. | # include <sys/stat.h>
  814. | #endif
  815. | #ifdef STDC_HEADERS
  816. | # include <stdlib.h>
  817. | # include <stddef.h>
  818. | #else
  819. | # ifdef HAVE_STDLIB_H
  820. | # include <stdlib.h>
  821. | # endif
  822. | #endif
  823. | #ifdef HAVE_STRING_H
  824. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  825. | # include <memory.h>
  826. | # endif
  827. | # include <string.h>
  828. | #endif
  829. | #ifdef HAVE_STRINGS_H
  830. | # include <strings.h>
  831. | #endif
  832. | #ifdef HAVE_INTTYPES_H
  833. | # include <inttypes.h>
  834. | #endif
  835. | #ifdef HAVE_STDINT_H
  836. | # include <stdint.h>
  837. | #endif
  838. | #ifdef HAVE_UNISTD_H
  839. | # include <unistd.h>
  840. | #endif
  841. | static long int longval () { return (long int) (sizeof (__int64)); }
  842. | static unsigned long int ulongval () { return (long int) (sizeof (__int64)); }
  843. | #include <stdio.h>
  844. | #include <stdlib.h>
  845. | int
  846. | main ()
  847. | {
  848. |
  849. | FILE *f = fopen ("conftest.val", "w");
  850. | if (! f)
  851. | return 1;
  852. | if (((long int) (sizeof (__int64))) < 0)
  853. | {
  854. | long int i = longval ();
  855. | if (i != ((long int) (sizeof (__int64))))
  856. | return 1;
  857. | fprintf (f, "%ld", i);
  858. | }
  859. | else
  860. | {
  861. | unsigned long int i = ulongval ();
  862. | if (i != ((long int) (sizeof (__int64))))
  863. | return 1;
  864. | fprintf (f, "%lu", i);
  865. | }
  866. | /* Do not output a trailing newline, as this causes \r\n confusion
  867. | on some platforms. */
  868. | return ferror (f) || fclose (f) != 0;
  869. |
  870. | ;
  871. | return 0;
  872. | }
  873. configure:8083: result: 0
  874. configure:8162: checking size of off_t
  875. configure:8167: gcc -o conftest -O3 -ggdb conftest.c >&5
  876. configure:8167: $? = 0
  877. configure:8167: ./conftest
  878. configure:8167: $? = 0
  879. configure:8181: result: 8
  880. configure:8340: checking size of void*
  881. configure:8345: gcc -o conftest -O3 -ggdb conftest.c >&5
  882. configure:8345: $? = 0
  883. configure:8345: ./conftest
  884. configure:8345: $? = 0
  885. configure:8359: result: 8
  886. configure:8438: checking size of float
  887. configure:8443: gcc -o conftest -O3 -ggdb conftest.c >&5
  888. configure:8443: $? = 0
  889. configure:8443: ./conftest
  890. configure:8443: $? = 0
  891. configure:8457: result: 4
  892. configure:8536: checking size of double
  893. configure:8541: gcc -o conftest -O3 -ggdb conftest.c >&5
  894. configure:8541: $? = 0
  895. configure:8541: ./conftest
  896. configure:8541: $? = 0
  897. configure:8555: result: 8
  898. configure:8664: checking size of time_t
  899. configure:8669: gcc -o conftest -O3 -ggdb conftest.c >&5
  900. configure:8669: $? = 0
  901. configure:8669: ./conftest
  902. configure:8669: $? = 0
  903. configure:8684: result: 8
  904. configure:8701: checking for printf prefix for long long
  905. configure:8737: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  906. configure:8737: $? = 0
  907. configure:8750: result: ll
  908. configure:8822: checking for pid_t
  909. configure:8822: gcc -c -O3 -ggdb conftest.c >&5
  910. configure:8822: $? = 0
  911. configure:8822: gcc -c -O3 -ggdb conftest.c >&5
  912. conftest.c: In function 'main':
  913. conftest.c:74:20: error: expected expression before ')' token
  914. if (sizeof ((pid_t)))
  915. ^
  916. configure:8822: $? = 1
  917. configure: failed program was:
  918. | /* confdefs.h */
  919. | #define PACKAGE_NAME ""
  920. | #define PACKAGE_TARNAME ""
  921. | #define PACKAGE_VERSION ""
  922. | #define PACKAGE_STRING ""
  923. | #define PACKAGE_BUGREPORT ""
  924. | #define PACKAGE_URL ""
  925. | #define CANONICALIZATION_FOR_MATHN 1
  926. | #define STDC_HEADERS 1
  927. | #define HAVE_SYS_TYPES_H 1
  928. | #define HAVE_SYS_STAT_H 1
  929. | #define HAVE_STDLIB_H 1
  930. | #define HAVE_STRING_H 1
  931. | #define HAVE_MEMORY_H 1
  932. | #define HAVE_STRINGS_H 1
  933. | #define HAVE_INTTYPES_H 1
  934. | #define HAVE_STDINT_H 1
  935. | #define HAVE_UNISTD_H 1
  936. | #define __EXTENSIONS__ 1
  937. | #define _ALL_SOURCE 1
  938. | #define _GNU_SOURCE 1
  939. | #define _POSIX_PTHREAD_SEMANTICS 1
  940. | #define _TANDEM_SOURCE 1
  941. | #define HAVE_LONG_LONG 1
  942. | #define HAVE_OFF_T 1
  943. | #define SIZEOF_INT 4
  944. | #define SIZEOF_SHORT 2
  945. | #define SIZEOF_LONG 8
  946. | #define SIZEOF_LONG_LONG 8
  947. | #define SIZEOF___INT64 0
  948. | #define SIZEOF_OFF_T 8
  949. | #define SIZEOF_VOIDP 8
  950. | #define SIZEOF_FLOAT 4
  951. | #define SIZEOF_DOUBLE 8
  952. | #define SIZEOF_TIME_T 8
  953. | #define PRI_LL_PREFIX "ll"
  954. | /* end confdefs.h. */
  955. | #include <stdio.h>
  956. | #ifdef HAVE_SYS_TYPES_H
  957. | # include <sys/types.h>
  958. | #endif
  959. | #ifdef HAVE_SYS_STAT_H
  960. | # include <sys/stat.h>
  961. | #endif
  962. | #ifdef STDC_HEADERS
  963. | # include <stdlib.h>
  964. | # include <stddef.h>
  965. | #else
  966. | # ifdef HAVE_STDLIB_H
  967. | # include <stdlib.h>
  968. | # endif
  969. | #endif
  970. | #ifdef HAVE_STRING_H
  971. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  972. | # include <memory.h>
  973. | # endif
  974. | # include <string.h>
  975. | #endif
  976. | #ifdef HAVE_STRINGS_H
  977. | # include <strings.h>
  978. | #endif
  979. | #ifdef HAVE_INTTYPES_H
  980. | # include <inttypes.h>
  981. | #endif
  982. | #ifdef HAVE_STDINT_H
  983. | # include <stdint.h>
  984. | #endif
  985. | #ifdef HAVE_UNISTD_H
  986. | # include <unistd.h>
  987. | #endif
  988. | int
  989. | main ()
  990. | {
  991. | if (sizeof ((pid_t)))
  992. | return 0;
  993. | ;
  994. | return 0;
  995. | }
  996. configure:8822: result: yes
  997. configure:8829: checking for convertible type of pid_t
  998. configure:8858: gcc -c -O3 -ggdb conftest.c >&5
  999. conftest.c: In function 'main':
  1000. conftest.c:74:12: error: size of array 'test_array' is negative
  1001. static int test_array [1 - 2 * !((pid_t)-1 > 0)];
  1002. ^
  1003. configure:8858: $? = 1
  1004. configure: failed program was:
  1005. | /* confdefs.h */
  1006. | #define PACKAGE_NAME ""
  1007. | #define PACKAGE_TARNAME ""
  1008. | #define PACKAGE_VERSION ""
  1009. | #define PACKAGE_STRING ""
  1010. | #define PACKAGE_BUGREPORT ""
  1011. | #define PACKAGE_URL ""
  1012. | #define CANONICALIZATION_FOR_MATHN 1
  1013. | #define STDC_HEADERS 1
  1014. | #define HAVE_SYS_TYPES_H 1
  1015. | #define HAVE_SYS_STAT_H 1
  1016. | #define HAVE_STDLIB_H 1
  1017. | #define HAVE_STRING_H 1
  1018. | #define HAVE_MEMORY_H 1
  1019. | #define HAVE_STRINGS_H 1
  1020. | #define HAVE_INTTYPES_H 1
  1021. | #define HAVE_STDINT_H 1
  1022. | #define HAVE_UNISTD_H 1
  1023. | #define __EXTENSIONS__ 1
  1024. | #define _ALL_SOURCE 1
  1025. | #define _GNU_SOURCE 1
  1026. | #define _POSIX_PTHREAD_SEMANTICS 1
  1027. | #define _TANDEM_SOURCE 1
  1028. | #define HAVE_LONG_LONG 1
  1029. | #define HAVE_OFF_T 1
  1030. | #define SIZEOF_INT 4
  1031. | #define SIZEOF_SHORT 2
  1032. | #define SIZEOF_LONG 8
  1033. | #define SIZEOF_LONG_LONG 8
  1034. | #define SIZEOF___INT64 0
  1035. | #define SIZEOF_OFF_T 8
  1036. | #define SIZEOF_VOIDP 8
  1037. | #define SIZEOF_FLOAT 4
  1038. | #define SIZEOF_DOUBLE 8
  1039. | #define SIZEOF_TIME_T 8
  1040. | #define PRI_LL_PREFIX "ll"
  1041. | /* end confdefs.h. */
  1042. | #include <stdio.h>
  1043. | #ifdef HAVE_SYS_TYPES_H
  1044. | # include <sys/types.h>
  1045. | #endif
  1046. | #ifdef HAVE_SYS_STAT_H
  1047. | # include <sys/stat.h>
  1048. | #endif
  1049. | #ifdef STDC_HEADERS
  1050. | # include <stdlib.h>
  1051. | # include <stddef.h>
  1052. | #else
  1053. | # ifdef HAVE_STDLIB_H
  1054. | # include <stdlib.h>
  1055. | # endif
  1056. | #endif
  1057. | #ifdef HAVE_STRING_H
  1058. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1059. | # include <memory.h>
  1060. | # endif
  1061. | # include <string.h>
  1062. | #endif
  1063. | #ifdef HAVE_STRINGS_H
  1064. | # include <strings.h>
  1065. | #endif
  1066. | #ifdef HAVE_INTTYPES_H
  1067. | # include <inttypes.h>
  1068. | #endif
  1069. | #ifdef HAVE_STDINT_H
  1070. | # include <stdint.h>
  1071. | #endif
  1072. | #ifdef HAVE_UNISTD_H
  1073. | # include <unistd.h>
  1074. | #endif
  1075. | int
  1076. | main ()
  1077. | {
  1078. | static int test_array [1 - 2 * !((pid_t)-1 > 0)];
  1079. | test_array [0] = 0;
  1080. | return test_array [0];
  1081. |
  1082. | ;
  1083. | return 0;
  1084. | }
  1085. configure:8887: gcc -c -O3 -ggdb conftest.c >&5
  1086. conftest.c:74:38: error: conflicting types for 'rbcv_conftest_var'
  1087. extern rbcv_conftest_replace_type rbcv_conftest_var;
  1088. ^
  1089. conftest.c:73:37: note: previous declaration of 'rbcv_conftest_var' was here
  1090. extern rbcv_conftest_target_type rbcv_conftest_var;
  1091. ^
  1092. conftest.c:76:38: error: conflicting types for 'rbcv_conftest_func'
  1093. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1094. ^
  1095. conftest.c:75:37: note: previous declaration of 'rbcv_conftest_func' was here
  1096. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1097. ^
  1098. conftest.c: In function 'main':
  1099. conftest.c:81:12: error: size of array 'test_array' is negative
  1100. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1101. ^
  1102. configure:8887: $? = 1
  1103. configure: failed program was:
  1104. | /* confdefs.h */
  1105. | #define PACKAGE_NAME ""
  1106. | #define PACKAGE_TARNAME ""
  1107. | #define PACKAGE_VERSION ""
  1108. | #define PACKAGE_STRING ""
  1109. | #define PACKAGE_BUGREPORT ""
  1110. | #define PACKAGE_URL ""
  1111. | #define CANONICALIZATION_FOR_MATHN 1
  1112. | #define STDC_HEADERS 1
  1113. | #define HAVE_SYS_TYPES_H 1
  1114. | #define HAVE_SYS_STAT_H 1
  1115. | #define HAVE_STDLIB_H 1
  1116. | #define HAVE_STRING_H 1
  1117. | #define HAVE_MEMORY_H 1
  1118. | #define HAVE_STRINGS_H 1
  1119. | #define HAVE_INTTYPES_H 1
  1120. | #define HAVE_STDINT_H 1
  1121. | #define HAVE_UNISTD_H 1
  1122. | #define __EXTENSIONS__ 1
  1123. | #define _ALL_SOURCE 1
  1124. | #define _GNU_SOURCE 1
  1125. | #define _POSIX_PTHREAD_SEMANTICS 1
  1126. | #define _TANDEM_SOURCE 1
  1127. | #define HAVE_LONG_LONG 1
  1128. | #define HAVE_OFF_T 1
  1129. | #define SIZEOF_INT 4
  1130. | #define SIZEOF_SHORT 2
  1131. | #define SIZEOF_LONG 8
  1132. | #define SIZEOF_LONG_LONG 8
  1133. | #define SIZEOF___INT64 0
  1134. | #define SIZEOF_OFF_T 8
  1135. | #define SIZEOF_VOIDP 8
  1136. | #define SIZEOF_FLOAT 4
  1137. | #define SIZEOF_DOUBLE 8
  1138. | #define SIZEOF_TIME_T 8
  1139. | #define PRI_LL_PREFIX "ll"
  1140. | /* end confdefs.h. */
  1141. | #include <stdio.h>
  1142. | #ifdef HAVE_SYS_TYPES_H
  1143. | # include <sys/types.h>
  1144. | #endif
  1145. | #ifdef HAVE_SYS_STAT_H
  1146. | # include <sys/stat.h>
  1147. | #endif
  1148. | #ifdef STDC_HEADERS
  1149. | # include <stdlib.h>
  1150. | # include <stddef.h>
  1151. | #else
  1152. | # ifdef HAVE_STDLIB_H
  1153. | # include <stdlib.h>
  1154. | # endif
  1155. | #endif
  1156. | #ifdef HAVE_STRING_H
  1157. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1158. | # include <memory.h>
  1159. | # endif
  1160. | # include <string.h>
  1161. | #endif
  1162. | #ifdef HAVE_STRINGS_H
  1163. | # include <strings.h>
  1164. | #endif
  1165. | #ifdef HAVE_INTTYPES_H
  1166. | # include <inttypes.h>
  1167. | #endif
  1168. | #ifdef HAVE_STDINT_H
  1169. | # include <stdint.h>
  1170. | #endif
  1171. | #ifdef HAVE_UNISTD_H
  1172. | # include <unistd.h>
  1173. | #endif
  1174. | typedef pid_t rbcv_conftest_target_type;
  1175. | typedef long long rbcv_conftest_replace_type;
  1176. | extern rbcv_conftest_target_type rbcv_conftest_var;
  1177. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  1178. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1179. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1180. |
  1181. | int
  1182. | main ()
  1183. | {
  1184. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1185. | test_array [0] = 0;
  1186. | return test_array [0];
  1187. |
  1188. | ;
  1189. | return 0;
  1190. | }
  1191. configure:8887: gcc -c -O3 -ggdb conftest.c >&5
  1192. conftest.c:74:38: error: conflicting types for 'rbcv_conftest_var'
  1193. extern rbcv_conftest_replace_type rbcv_conftest_var;
  1194. ^
  1195. conftest.c:73:37: note: previous declaration of 'rbcv_conftest_var' was here
  1196. extern rbcv_conftest_target_type rbcv_conftest_var;
  1197. ^
  1198. conftest.c:76:38: error: conflicting types for 'rbcv_conftest_func'
  1199. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1200. ^
  1201. conftest.c:75:37: note: previous declaration of 'rbcv_conftest_func' was here
  1202. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1203. ^
  1204. conftest.c: In function 'main':
  1205. conftest.c:81:12: error: size of array 'test_array' is negative
  1206. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1207. ^
  1208. configure:8887: $? = 1
  1209. configure: failed program was:
  1210. | /* confdefs.h */
  1211. | #define PACKAGE_NAME ""
  1212. | #define PACKAGE_TARNAME ""
  1213. | #define PACKAGE_VERSION ""
  1214. | #define PACKAGE_STRING ""
  1215. | #define PACKAGE_BUGREPORT ""
  1216. | #define PACKAGE_URL ""
  1217. | #define CANONICALIZATION_FOR_MATHN 1
  1218. | #define STDC_HEADERS 1
  1219. | #define HAVE_SYS_TYPES_H 1
  1220. | #define HAVE_SYS_STAT_H 1
  1221. | #define HAVE_STDLIB_H 1
  1222. | #define HAVE_STRING_H 1
  1223. | #define HAVE_MEMORY_H 1
  1224. | #define HAVE_STRINGS_H 1
  1225. | #define HAVE_INTTYPES_H 1
  1226. | #define HAVE_STDINT_H 1
  1227. | #define HAVE_UNISTD_H 1
  1228. | #define __EXTENSIONS__ 1
  1229. | #define _ALL_SOURCE 1
  1230. | #define _GNU_SOURCE 1
  1231. | #define _POSIX_PTHREAD_SEMANTICS 1
  1232. | #define _TANDEM_SOURCE 1
  1233. | #define HAVE_LONG_LONG 1
  1234. | #define HAVE_OFF_T 1
  1235. | #define SIZEOF_INT 4
  1236. | #define SIZEOF_SHORT 2
  1237. | #define SIZEOF_LONG 8
  1238. | #define SIZEOF_LONG_LONG 8
  1239. | #define SIZEOF___INT64 0
  1240. | #define SIZEOF_OFF_T 8
  1241. | #define SIZEOF_VOIDP 8
  1242. | #define SIZEOF_FLOAT 4
  1243. | #define SIZEOF_DOUBLE 8
  1244. | #define SIZEOF_TIME_T 8
  1245. | #define PRI_LL_PREFIX "ll"
  1246. | /* end confdefs.h. */
  1247. | #include <stdio.h>
  1248. | #ifdef HAVE_SYS_TYPES_H
  1249. | # include <sys/types.h>
  1250. | #endif
  1251. | #ifdef HAVE_SYS_STAT_H
  1252. | # include <sys/stat.h>
  1253. | #endif
  1254. | #ifdef STDC_HEADERS
  1255. | # include <stdlib.h>
  1256. | # include <stddef.h>
  1257. | #else
  1258. | # ifdef HAVE_STDLIB_H
  1259. | # include <stdlib.h>
  1260. | # endif
  1261. | #endif
  1262. | #ifdef HAVE_STRING_H
  1263. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1264. | # include <memory.h>
  1265. | # endif
  1266. | # include <string.h>
  1267. | #endif
  1268. | #ifdef HAVE_STRINGS_H
  1269. | # include <strings.h>
  1270. | #endif
  1271. | #ifdef HAVE_INTTYPES_H
  1272. | # include <inttypes.h>
  1273. | #endif
  1274. | #ifdef HAVE_STDINT_H
  1275. | # include <stdint.h>
  1276. | #endif
  1277. | #ifdef HAVE_UNISTD_H
  1278. | # include <unistd.h>
  1279. | #endif
  1280. | typedef pid_t rbcv_conftest_target_type;
  1281. | typedef long rbcv_conftest_replace_type;
  1282. | extern rbcv_conftest_target_type rbcv_conftest_var;
  1283. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  1284. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1285. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1286. |
  1287. | int
  1288. | main ()
  1289. | {
  1290. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1291. | test_array [0] = 0;
  1292. | return test_array [0];
  1293. |
  1294. | ;
  1295. | return 0;
  1296. | }
  1297. configure:8887: gcc -c -O3 -ggdb conftest.c >&5
  1298. configure:8887: $? = 0
  1299. configure:8906: result: INT
  1300. configure:8926: checking for uid_t
  1301. configure:8926: gcc -c -O3 -ggdb conftest.c >&5
  1302. configure:8926: $? = 0
  1303. configure:8926: gcc -c -O3 -ggdb conftest.c >&5
  1304. conftest.c: In function 'main':
  1305. conftest.c:78:20: error: expected expression before ')' token
  1306. if (sizeof ((uid_t)))
  1307. ^
  1308. configure:8926: $? = 1
  1309. configure: failed program was:
  1310. | /* confdefs.h */
  1311. | #define PACKAGE_NAME ""
  1312. | #define PACKAGE_TARNAME ""
  1313. | #define PACKAGE_VERSION ""
  1314. | #define PACKAGE_STRING ""
  1315. | #define PACKAGE_BUGREPORT ""
  1316. | #define PACKAGE_URL ""
  1317. | #define CANONICALIZATION_FOR_MATHN 1
  1318. | #define STDC_HEADERS 1
  1319. | #define HAVE_SYS_TYPES_H 1
  1320. | #define HAVE_SYS_STAT_H 1
  1321. | #define HAVE_STDLIB_H 1
  1322. | #define HAVE_STRING_H 1
  1323. | #define HAVE_MEMORY_H 1
  1324. | #define HAVE_STRINGS_H 1
  1325. | #define HAVE_INTTYPES_H 1
  1326. | #define HAVE_STDINT_H 1
  1327. | #define HAVE_UNISTD_H 1
  1328. | #define __EXTENSIONS__ 1
  1329. | #define _ALL_SOURCE 1
  1330. | #define _GNU_SOURCE 1
  1331. | #define _POSIX_PTHREAD_SEMANTICS 1
  1332. | #define _TANDEM_SOURCE 1
  1333. | #define HAVE_LONG_LONG 1
  1334. | #define HAVE_OFF_T 1
  1335. | #define SIZEOF_INT 4
  1336. | #define SIZEOF_SHORT 2
  1337. | #define SIZEOF_LONG 8
  1338. | #define SIZEOF_LONG_LONG 8
  1339. | #define SIZEOF___INT64 0
  1340. | #define SIZEOF_OFF_T 8
  1341. | #define SIZEOF_VOIDP 8
  1342. | #define SIZEOF_FLOAT 4
  1343. | #define SIZEOF_DOUBLE 8
  1344. | #define SIZEOF_TIME_T 8
  1345. | #define PRI_LL_PREFIX "ll"
  1346. | #define rb_pid_t pid_t
  1347. | #define PIDT2NUM(v) INT2NUM(v)
  1348. | #define NUM2PIDT(v) NUM2INT(v)
  1349. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  1350. | /* end confdefs.h. */
  1351. | #include <stdio.h>
  1352. | #ifdef HAVE_SYS_TYPES_H
  1353. | # include <sys/types.h>
  1354. | #endif
  1355. | #ifdef HAVE_SYS_STAT_H
  1356. | # include <sys/stat.h>
  1357. | #endif
  1358. | #ifdef STDC_HEADERS
  1359. | # include <stdlib.h>
  1360. | # include <stddef.h>
  1361. | #else
  1362. | # ifdef HAVE_STDLIB_H
  1363. | # include <stdlib.h>
  1364. | # endif
  1365. | #endif
  1366. | #ifdef HAVE_STRING_H
  1367. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1368. | # include <memory.h>
  1369. | # endif
  1370. | # include <string.h>
  1371. | #endif
  1372. | #ifdef HAVE_STRINGS_H
  1373. | # include <strings.h>
  1374. | #endif
  1375. | #ifdef HAVE_INTTYPES_H
  1376. | # include <inttypes.h>
  1377. | #endif
  1378. | #ifdef HAVE_STDINT_H
  1379. | # include <stdint.h>
  1380. | #endif
  1381. | #ifdef HAVE_UNISTD_H
  1382. | # include <unistd.h>
  1383. | #endif
  1384. | int
  1385. | main ()
  1386. | {
  1387. | if (sizeof ((uid_t)))
  1388. | return 0;
  1389. | ;
  1390. | return 0;
  1391. | }
  1392. configure:8926: result: yes
  1393. configure:8933: checking for convertible type of uid_t
  1394. configure:8962: gcc -c -O3 -ggdb conftest.c >&5
  1395. configure:8962: $? = 0
  1396. configure:8991: gcc -c -O3 -ggdb conftest.c >&5
  1397. conftest.c:78:38: error: conflicting types for 'rbcv_conftest_var'
  1398. extern rbcv_conftest_replace_type rbcv_conftest_var;
  1399. ^
  1400. conftest.c:77:37: note: previous declaration of 'rbcv_conftest_var' was here
  1401. extern rbcv_conftest_target_type rbcv_conftest_var;
  1402. ^
  1403. conftest.c:80:38: error: conflicting types for 'rbcv_conftest_func'
  1404. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1405. ^
  1406. conftest.c:79:37: note: previous declaration of 'rbcv_conftest_func' was here
  1407. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1408. ^
  1409. conftest.c: In function 'main':
  1410. conftest.c:85:12: error: size of array 'test_array' is negative
  1411. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1412. ^
  1413. configure:8991: $? = 1
  1414. configure: failed program was:
  1415. | /* confdefs.h */
  1416. | #define PACKAGE_NAME ""
  1417. | #define PACKAGE_TARNAME ""
  1418. | #define PACKAGE_VERSION ""
  1419. | #define PACKAGE_STRING ""
  1420. | #define PACKAGE_BUGREPORT ""
  1421. | #define PACKAGE_URL ""
  1422. | #define CANONICALIZATION_FOR_MATHN 1
  1423. | #define STDC_HEADERS 1
  1424. | #define HAVE_SYS_TYPES_H 1
  1425. | #define HAVE_SYS_STAT_H 1
  1426. | #define HAVE_STDLIB_H 1
  1427. | #define HAVE_STRING_H 1
  1428. | #define HAVE_MEMORY_H 1
  1429. | #define HAVE_STRINGS_H 1
  1430. | #define HAVE_INTTYPES_H 1
  1431. | #define HAVE_STDINT_H 1
  1432. | #define HAVE_UNISTD_H 1
  1433. | #define __EXTENSIONS__ 1
  1434. | #define _ALL_SOURCE 1
  1435. | #define _GNU_SOURCE 1
  1436. | #define _POSIX_PTHREAD_SEMANTICS 1
  1437. | #define _TANDEM_SOURCE 1
  1438. | #define HAVE_LONG_LONG 1
  1439. | #define HAVE_OFF_T 1
  1440. | #define SIZEOF_INT 4
  1441. | #define SIZEOF_SHORT 2
  1442. | #define SIZEOF_LONG 8
  1443. | #define SIZEOF_LONG_LONG 8
  1444. | #define SIZEOF___INT64 0
  1445. | #define SIZEOF_OFF_T 8
  1446. | #define SIZEOF_VOIDP 8
  1447. | #define SIZEOF_FLOAT 4
  1448. | #define SIZEOF_DOUBLE 8
  1449. | #define SIZEOF_TIME_T 8
  1450. | #define PRI_LL_PREFIX "ll"
  1451. | #define rb_pid_t pid_t
  1452. | #define PIDT2NUM(v) INT2NUM(v)
  1453. | #define NUM2PIDT(v) NUM2INT(v)
  1454. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  1455. | /* end confdefs.h. */
  1456. | #include <stdio.h>
  1457. | #ifdef HAVE_SYS_TYPES_H
  1458. | # include <sys/types.h>
  1459. | #endif
  1460. | #ifdef HAVE_SYS_STAT_H
  1461. | # include <sys/stat.h>
  1462. | #endif
  1463. | #ifdef STDC_HEADERS
  1464. | # include <stdlib.h>
  1465. | # include <stddef.h>
  1466. | #else
  1467. | # ifdef HAVE_STDLIB_H
  1468. | # include <stdlib.h>
  1469. | # endif
  1470. | #endif
  1471. | #ifdef HAVE_STRING_H
  1472. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1473. | # include <memory.h>
  1474. | # endif
  1475. | # include <string.h>
  1476. | #endif
  1477. | #ifdef HAVE_STRINGS_H
  1478. | # include <strings.h>
  1479. | #endif
  1480. | #ifdef HAVE_INTTYPES_H
  1481. | # include <inttypes.h>
  1482. | #endif
  1483. | #ifdef HAVE_STDINT_H
  1484. | # include <stdint.h>
  1485. | #endif
  1486. | #ifdef HAVE_UNISTD_H
  1487. | # include <unistd.h>
  1488. | #endif
  1489. | typedef uid_t rbcv_conftest_target_type;
  1490. | typedef unsigned long long rbcv_conftest_replace_type;
  1491. | extern rbcv_conftest_target_type rbcv_conftest_var;
  1492. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  1493. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1494. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1495. |
  1496. | int
  1497. | main ()
  1498. | {
  1499. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1500. | test_array [0] = 0;
  1501. | return test_array [0];
  1502. |
  1503. | ;
  1504. | return 0;
  1505. | }
  1506. configure:8991: gcc -c -O3 -ggdb conftest.c >&5
  1507. conftest.c:78:38: error: conflicting types for 'rbcv_conftest_var'
  1508. extern rbcv_conftest_replace_type rbcv_conftest_var;
  1509. ^
  1510. conftest.c:77:37: note: previous declaration of 'rbcv_conftest_var' was here
  1511. extern rbcv_conftest_target_type rbcv_conftest_var;
  1512. ^
  1513. conftest.c:80:38: error: conflicting types for 'rbcv_conftest_func'
  1514. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1515. ^
  1516. conftest.c:79:37: note: previous declaration of 'rbcv_conftest_func' was here
  1517. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1518. ^
  1519. conftest.c: In function 'main':
  1520. conftest.c:85:12: error: size of array 'test_array' is negative
  1521. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1522. ^
  1523. configure:8991: $? = 1
  1524. configure: failed program was:
  1525. | /* confdefs.h */
  1526. | #define PACKAGE_NAME ""
  1527. | #define PACKAGE_TARNAME ""
  1528. | #define PACKAGE_VERSION ""
  1529. | #define PACKAGE_STRING ""
  1530. | #define PACKAGE_BUGREPORT ""
  1531. | #define PACKAGE_URL ""
  1532. | #define CANONICALIZATION_FOR_MATHN 1
  1533. | #define STDC_HEADERS 1
  1534. | #define HAVE_SYS_TYPES_H 1
  1535. | #define HAVE_SYS_STAT_H 1
  1536. | #define HAVE_STDLIB_H 1
  1537. | #define HAVE_STRING_H 1
  1538. | #define HAVE_MEMORY_H 1
  1539. | #define HAVE_STRINGS_H 1
  1540. | #define HAVE_INTTYPES_H 1
  1541. | #define HAVE_STDINT_H 1
  1542. | #define HAVE_UNISTD_H 1
  1543. | #define __EXTENSIONS__ 1
  1544. | #define _ALL_SOURCE 1
  1545. | #define _GNU_SOURCE 1
  1546. | #define _POSIX_PTHREAD_SEMANTICS 1
  1547. | #define _TANDEM_SOURCE 1
  1548. | #define HAVE_LONG_LONG 1
  1549. | #define HAVE_OFF_T 1
  1550. | #define SIZEOF_INT 4
  1551. | #define SIZEOF_SHORT 2
  1552. | #define SIZEOF_LONG 8
  1553. | #define SIZEOF_LONG_LONG 8
  1554. | #define SIZEOF___INT64 0
  1555. | #define SIZEOF_OFF_T 8
  1556. | #define SIZEOF_VOIDP 8
  1557. | #define SIZEOF_FLOAT 4
  1558. | #define SIZEOF_DOUBLE 8
  1559. | #define SIZEOF_TIME_T 8
  1560. | #define PRI_LL_PREFIX "ll"
  1561. | #define rb_pid_t pid_t
  1562. | #define PIDT2NUM(v) INT2NUM(v)
  1563. | #define NUM2PIDT(v) NUM2INT(v)
  1564. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  1565. | /* end confdefs.h. */
  1566. | #include <stdio.h>
  1567. | #ifdef HAVE_SYS_TYPES_H
  1568. | # include <sys/types.h>
  1569. | #endif
  1570. | #ifdef HAVE_SYS_STAT_H
  1571. | # include <sys/stat.h>
  1572. | #endif
  1573. | #ifdef STDC_HEADERS
  1574. | # include <stdlib.h>
  1575. | # include <stddef.h>
  1576. | #else
  1577. | # ifdef HAVE_STDLIB_H
  1578. | # include <stdlib.h>
  1579. | # endif
  1580. | #endif
  1581. | #ifdef HAVE_STRING_H
  1582. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1583. | # include <memory.h>
  1584. | # endif
  1585. | # include <string.h>
  1586. | #endif
  1587. | #ifdef HAVE_STRINGS_H
  1588. | # include <strings.h>
  1589. | #endif
  1590. | #ifdef HAVE_INTTYPES_H
  1591. | # include <inttypes.h>
  1592. | #endif
  1593. | #ifdef HAVE_STDINT_H
  1594. | # include <stdint.h>
  1595. | #endif
  1596. | #ifdef HAVE_UNISTD_H
  1597. | # include <unistd.h>
  1598. | #endif
  1599. | typedef uid_t rbcv_conftest_target_type;
  1600. | typedef unsigned long rbcv_conftest_replace_type;
  1601. | extern rbcv_conftest_target_type rbcv_conftest_var;
  1602. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  1603. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1604. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1605. |
  1606. | int
  1607. | main ()
  1608. | {
  1609. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1610. | test_array [0] = 0;
  1611. | return test_array [0];
  1612. |
  1613. | ;
  1614. | return 0;
  1615. | }
  1616. configure:8991: gcc -c -O3 -ggdb conftest.c >&5
  1617. configure:8991: $? = 0
  1618. configure:9010: result: UINT
  1619. configure:9030: checking for gid_t
  1620. configure:9030: gcc -c -O3 -ggdb conftest.c >&5
  1621. configure:9030: $? = 0
  1622. configure:9030: gcc -c -O3 -ggdb conftest.c >&5
  1623. conftest.c: In function 'main':
  1624. conftest.c:82:20: error: expected expression before ')' token
  1625. if (sizeof ((gid_t)))
  1626. ^
  1627. configure:9030: $? = 1
  1628. configure: failed program was:
  1629. | /* confdefs.h */
  1630. | #define PACKAGE_NAME ""
  1631. | #define PACKAGE_TARNAME ""
  1632. | #define PACKAGE_VERSION ""
  1633. | #define PACKAGE_STRING ""
  1634. | #define PACKAGE_BUGREPORT ""
  1635. | #define PACKAGE_URL ""
  1636. | #define CANONICALIZATION_FOR_MATHN 1
  1637. | #define STDC_HEADERS 1
  1638. | #define HAVE_SYS_TYPES_H 1
  1639. | #define HAVE_SYS_STAT_H 1
  1640. | #define HAVE_STDLIB_H 1
  1641. | #define HAVE_STRING_H 1
  1642. | #define HAVE_MEMORY_H 1
  1643. | #define HAVE_STRINGS_H 1
  1644. | #define HAVE_INTTYPES_H 1
  1645. | #define HAVE_STDINT_H 1
  1646. | #define HAVE_UNISTD_H 1
  1647. | #define __EXTENSIONS__ 1
  1648. | #define _ALL_SOURCE 1
  1649. | #define _GNU_SOURCE 1
  1650. | #define _POSIX_PTHREAD_SEMANTICS 1
  1651. | #define _TANDEM_SOURCE 1
  1652. | #define HAVE_LONG_LONG 1
  1653. | #define HAVE_OFF_T 1
  1654. | #define SIZEOF_INT 4
  1655. | #define SIZEOF_SHORT 2
  1656. | #define SIZEOF_LONG 8
  1657. | #define SIZEOF_LONG_LONG 8
  1658. | #define SIZEOF___INT64 0
  1659. | #define SIZEOF_OFF_T 8
  1660. | #define SIZEOF_VOIDP 8
  1661. | #define SIZEOF_FLOAT 4
  1662. | #define SIZEOF_DOUBLE 8
  1663. | #define SIZEOF_TIME_T 8
  1664. | #define PRI_LL_PREFIX "ll"
  1665. | #define rb_pid_t pid_t
  1666. | #define PIDT2NUM(v) INT2NUM(v)
  1667. | #define NUM2PIDT(v) NUM2INT(v)
  1668. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  1669. | #define rb_uid_t uid_t
  1670. | #define UIDT2NUM(v) UINT2NUM(v)
  1671. | #define NUM2UIDT(v) NUM2UINT(v)
  1672. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  1673. | /* end confdefs.h. */
  1674. | #include <stdio.h>
  1675. | #ifdef HAVE_SYS_TYPES_H
  1676. | # include <sys/types.h>
  1677. | #endif
  1678. | #ifdef HAVE_SYS_STAT_H
  1679. | # include <sys/stat.h>
  1680. | #endif
  1681. | #ifdef STDC_HEADERS
  1682. | # include <stdlib.h>
  1683. | # include <stddef.h>
  1684. | #else
  1685. | # ifdef HAVE_STDLIB_H
  1686. | # include <stdlib.h>
  1687. | # endif
  1688. | #endif
  1689. | #ifdef HAVE_STRING_H
  1690. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1691. | # include <memory.h>
  1692. | # endif
  1693. | # include <string.h>
  1694. | #endif
  1695. | #ifdef HAVE_STRINGS_H
  1696. | # include <strings.h>
  1697. | #endif
  1698. | #ifdef HAVE_INTTYPES_H
  1699. | # include <inttypes.h>
  1700. | #endif
  1701. | #ifdef HAVE_STDINT_H
  1702. | # include <stdint.h>
  1703. | #endif
  1704. | #ifdef HAVE_UNISTD_H
  1705. | # include <unistd.h>
  1706. | #endif
  1707. | int
  1708. | main ()
  1709. | {
  1710. | if (sizeof ((gid_t)))
  1711. | return 0;
  1712. | ;
  1713. | return 0;
  1714. | }
  1715. configure:9030: result: yes
  1716. configure:9037: checking for convertible type of gid_t
  1717. configure:9066: gcc -c -O3 -ggdb conftest.c >&5
  1718. configure:9066: $? = 0
  1719. configure:9095: gcc -c -O3 -ggdb conftest.c >&5
  1720. conftest.c:82:38: error: conflicting types for 'rbcv_conftest_var'
  1721. extern rbcv_conftest_replace_type rbcv_conftest_var;
  1722. ^
  1723. conftest.c:81:37: note: previous declaration of 'rbcv_conftest_var' was here
  1724. extern rbcv_conftest_target_type rbcv_conftest_var;
  1725. ^
  1726. conftest.c:84:38: error: conflicting types for 'rbcv_conftest_func'
  1727. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1728. ^
  1729. conftest.c:83:37: note: previous declaration of 'rbcv_conftest_func' was here
  1730. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1731. ^
  1732. conftest.c: In function 'main':
  1733. conftest.c:89:12: error: size of array 'test_array' is negative
  1734. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1735. ^
  1736. configure:9095: $? = 1
  1737. configure: failed program was:
  1738. | /* confdefs.h */
  1739. | #define PACKAGE_NAME ""
  1740. | #define PACKAGE_TARNAME ""
  1741. | #define PACKAGE_VERSION ""
  1742. | #define PACKAGE_STRING ""
  1743. | #define PACKAGE_BUGREPORT ""
  1744. | #define PACKAGE_URL ""
  1745. | #define CANONICALIZATION_FOR_MATHN 1
  1746. | #define STDC_HEADERS 1
  1747. | #define HAVE_SYS_TYPES_H 1
  1748. | #define HAVE_SYS_STAT_H 1
  1749. | #define HAVE_STDLIB_H 1
  1750. | #define HAVE_STRING_H 1
  1751. | #define HAVE_MEMORY_H 1
  1752. | #define HAVE_STRINGS_H 1
  1753. | #define HAVE_INTTYPES_H 1
  1754. | #define HAVE_STDINT_H 1
  1755. | #define HAVE_UNISTD_H 1
  1756. | #define __EXTENSIONS__ 1
  1757. | #define _ALL_SOURCE 1
  1758. | #define _GNU_SOURCE 1
  1759. | #define _POSIX_PTHREAD_SEMANTICS 1
  1760. | #define _TANDEM_SOURCE 1
  1761. | #define HAVE_LONG_LONG 1
  1762. | #define HAVE_OFF_T 1
  1763. | #define SIZEOF_INT 4
  1764. | #define SIZEOF_SHORT 2
  1765. | #define SIZEOF_LONG 8
  1766. | #define SIZEOF_LONG_LONG 8
  1767. | #define SIZEOF___INT64 0
  1768. | #define SIZEOF_OFF_T 8
  1769. | #define SIZEOF_VOIDP 8
  1770. | #define SIZEOF_FLOAT 4
  1771. | #define SIZEOF_DOUBLE 8
  1772. | #define SIZEOF_TIME_T 8
  1773. | #define PRI_LL_PREFIX "ll"
  1774. | #define rb_pid_t pid_t
  1775. | #define PIDT2NUM(v) INT2NUM(v)
  1776. | #define NUM2PIDT(v) NUM2INT(v)
  1777. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  1778. | #define rb_uid_t uid_t
  1779. | #define UIDT2NUM(v) UINT2NUM(v)
  1780. | #define NUM2UIDT(v) NUM2UINT(v)
  1781. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  1782. | /* end confdefs.h. */
  1783. | #include <stdio.h>
  1784. | #ifdef HAVE_SYS_TYPES_H
  1785. | # include <sys/types.h>
  1786. | #endif
  1787. | #ifdef HAVE_SYS_STAT_H
  1788. | # include <sys/stat.h>
  1789. | #endif
  1790. | #ifdef STDC_HEADERS
  1791. | # include <stdlib.h>
  1792. | # include <stddef.h>
  1793. | #else
  1794. | # ifdef HAVE_STDLIB_H
  1795. | # include <stdlib.h>
  1796. | # endif
  1797. | #endif
  1798. | #ifdef HAVE_STRING_H
  1799. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1800. | # include <memory.h>
  1801. | # endif
  1802. | # include <string.h>
  1803. | #endif
  1804. | #ifdef HAVE_STRINGS_H
  1805. | # include <strings.h>
  1806. | #endif
  1807. | #ifdef HAVE_INTTYPES_H
  1808. | # include <inttypes.h>
  1809. | #endif
  1810. | #ifdef HAVE_STDINT_H
  1811. | # include <stdint.h>
  1812. | #endif
  1813. | #ifdef HAVE_UNISTD_H
  1814. | # include <unistd.h>
  1815. | #endif
  1816. | typedef gid_t rbcv_conftest_target_type;
  1817. | typedef unsigned long long rbcv_conftest_replace_type;
  1818. | extern rbcv_conftest_target_type rbcv_conftest_var;
  1819. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  1820. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1821. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1822. |
  1823. | int
  1824. | main ()
  1825. | {
  1826. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1827. | test_array [0] = 0;
  1828. | return test_array [0];
  1829. |
  1830. | ;
  1831. | return 0;
  1832. | }
  1833. configure:9095: gcc -c -O3 -ggdb conftest.c >&5
  1834. conftest.c:82:38: error: conflicting types for 'rbcv_conftest_var'
  1835. extern rbcv_conftest_replace_type rbcv_conftest_var;
  1836. ^
  1837. conftest.c:81:37: note: previous declaration of 'rbcv_conftest_var' was here
  1838. extern rbcv_conftest_target_type rbcv_conftest_var;
  1839. ^
  1840. conftest.c:84:38: error: conflicting types for 'rbcv_conftest_func'
  1841. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1842. ^
  1843. conftest.c:83:37: note: previous declaration of 'rbcv_conftest_func' was here
  1844. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1845. ^
  1846. conftest.c: In function 'main':
  1847. conftest.c:89:12: error: size of array 'test_array' is negative
  1848. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1849. ^
  1850. configure:9095: $? = 1
  1851. configure: failed program was:
  1852. | /* confdefs.h */
  1853. | #define PACKAGE_NAME ""
  1854. | #define PACKAGE_TARNAME ""
  1855. | #define PACKAGE_VERSION ""
  1856. | #define PACKAGE_STRING ""
  1857. | #define PACKAGE_BUGREPORT ""
  1858. | #define PACKAGE_URL ""
  1859. | #define CANONICALIZATION_FOR_MATHN 1
  1860. | #define STDC_HEADERS 1
  1861. | #define HAVE_SYS_TYPES_H 1
  1862. | #define HAVE_SYS_STAT_H 1
  1863. | #define HAVE_STDLIB_H 1
  1864. | #define HAVE_STRING_H 1
  1865. | #define HAVE_MEMORY_H 1
  1866. | #define HAVE_STRINGS_H 1
  1867. | #define HAVE_INTTYPES_H 1
  1868. | #define HAVE_STDINT_H 1
  1869. | #define HAVE_UNISTD_H 1
  1870. | #define __EXTENSIONS__ 1
  1871. | #define _ALL_SOURCE 1
  1872. | #define _GNU_SOURCE 1
  1873. | #define _POSIX_PTHREAD_SEMANTICS 1
  1874. | #define _TANDEM_SOURCE 1
  1875. | #define HAVE_LONG_LONG 1
  1876. | #define HAVE_OFF_T 1
  1877. | #define SIZEOF_INT 4
  1878. | #define SIZEOF_SHORT 2
  1879. | #define SIZEOF_LONG 8
  1880. | #define SIZEOF_LONG_LONG 8
  1881. | #define SIZEOF___INT64 0
  1882. | #define SIZEOF_OFF_T 8
  1883. | #define SIZEOF_VOIDP 8
  1884. | #define SIZEOF_FLOAT 4
  1885. | #define SIZEOF_DOUBLE 8
  1886. | #define SIZEOF_TIME_T 8
  1887. | #define PRI_LL_PREFIX "ll"
  1888. | #define rb_pid_t pid_t
  1889. | #define PIDT2NUM(v) INT2NUM(v)
  1890. | #define NUM2PIDT(v) NUM2INT(v)
  1891. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  1892. | #define rb_uid_t uid_t
  1893. | #define UIDT2NUM(v) UINT2NUM(v)
  1894. | #define NUM2UIDT(v) NUM2UINT(v)
  1895. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  1896. | /* end confdefs.h. */
  1897. | #include <stdio.h>
  1898. | #ifdef HAVE_SYS_TYPES_H
  1899. | # include <sys/types.h>
  1900. | #endif
  1901. | #ifdef HAVE_SYS_STAT_H
  1902. | # include <sys/stat.h>
  1903. | #endif
  1904. | #ifdef STDC_HEADERS
  1905. | # include <stdlib.h>
  1906. | # include <stddef.h>
  1907. | #else
  1908. | # ifdef HAVE_STDLIB_H
  1909. | # include <stdlib.h>
  1910. | # endif
  1911. | #endif
  1912. | #ifdef HAVE_STRING_H
  1913. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1914. | # include <memory.h>
  1915. | # endif
  1916. | # include <string.h>
  1917. | #endif
  1918. | #ifdef HAVE_STRINGS_H
  1919. | # include <strings.h>
  1920. | #endif
  1921. | #ifdef HAVE_INTTYPES_H
  1922. | # include <inttypes.h>
  1923. | #endif
  1924. | #ifdef HAVE_STDINT_H
  1925. | # include <stdint.h>
  1926. | #endif
  1927. | #ifdef HAVE_UNISTD_H
  1928. | # include <unistd.h>
  1929. | #endif
  1930. | typedef gid_t rbcv_conftest_target_type;
  1931. | typedef unsigned long rbcv_conftest_replace_type;
  1932. | extern rbcv_conftest_target_type rbcv_conftest_var;
  1933. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  1934. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  1935. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  1936. |
  1937. | int
  1938. | main ()
  1939. | {
  1940. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  1941. | test_array [0] = 0;
  1942. | return test_array [0];
  1943. |
  1944. | ;
  1945. | return 0;
  1946. | }
  1947. configure:9095: gcc -c -O3 -ggdb conftest.c >&5
  1948. configure:9095: $? = 0
  1949. configure:9114: result: UINT
  1950. configure:9134: checking for time_t
  1951. configure:9134: gcc -c -O3 -ggdb conftest.c >&5
  1952. configure:9134: $? = 0
  1953. configure:9134: gcc -c -O3 -ggdb conftest.c >&5
  1954. conftest.c: In function 'main':
  1955. conftest.c:55:21: error: expected expression before ')' token
  1956. if (sizeof ((time_t)))
  1957. ^
  1958. configure:9134: $? = 1
  1959. configure: failed program was:
  1960. | /* confdefs.h */
  1961. | #define PACKAGE_NAME ""
  1962. | #define PACKAGE_TARNAME ""
  1963. | #define PACKAGE_VERSION ""
  1964. | #define PACKAGE_STRING ""
  1965. | #define PACKAGE_BUGREPORT ""
  1966. | #define PACKAGE_URL ""
  1967. | #define CANONICALIZATION_FOR_MATHN 1
  1968. | #define STDC_HEADERS 1
  1969. | #define HAVE_SYS_TYPES_H 1
  1970. | #define HAVE_SYS_STAT_H 1
  1971. | #define HAVE_STDLIB_H 1
  1972. | #define HAVE_STRING_H 1
  1973. | #define HAVE_MEMORY_H 1
  1974. | #define HAVE_STRINGS_H 1
  1975. | #define HAVE_INTTYPES_H 1
  1976. | #define HAVE_STDINT_H 1
  1977. | #define HAVE_UNISTD_H 1
  1978. | #define __EXTENSIONS__ 1
  1979. | #define _ALL_SOURCE 1
  1980. | #define _GNU_SOURCE 1
  1981. | #define _POSIX_PTHREAD_SEMANTICS 1
  1982. | #define _TANDEM_SOURCE 1
  1983. | #define HAVE_LONG_LONG 1
  1984. | #define HAVE_OFF_T 1
  1985. | #define SIZEOF_INT 4
  1986. | #define SIZEOF_SHORT 2
  1987. | #define SIZEOF_LONG 8
  1988. | #define SIZEOF_LONG_LONG 8
  1989. | #define SIZEOF___INT64 0
  1990. | #define SIZEOF_OFF_T 8
  1991. | #define SIZEOF_VOIDP 8
  1992. | #define SIZEOF_FLOAT 4
  1993. | #define SIZEOF_DOUBLE 8
  1994. | #define SIZEOF_TIME_T 8
  1995. | #define PRI_LL_PREFIX "ll"
  1996. | #define rb_pid_t pid_t
  1997. | #define PIDT2NUM(v) INT2NUM(v)
  1998. | #define NUM2PIDT(v) NUM2INT(v)
  1999. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2000. | #define rb_uid_t uid_t
  2001. | #define UIDT2NUM(v) UINT2NUM(v)
  2002. | #define NUM2UIDT(v) NUM2UINT(v)
  2003. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2004. | #define rb_gid_t gid_t
  2005. | #define GIDT2NUM(v) UINT2NUM(v)
  2006. | #define NUM2GIDT(v) NUM2UINT(v)
  2007. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2008. | /* end confdefs.h. */
  2009. | #include <time.h>
  2010. |
  2011. | int
  2012. | main ()
  2013. | {
  2014. | if (sizeof ((time_t)))
  2015. | return 0;
  2016. | ;
  2017. | return 0;
  2018. | }
  2019. configure:9134: result: yes
  2020. configure:9142: checking for convertible type of time_t
  2021. configure:9172: gcc -c -O3 -ggdb conftest.c >&5
  2022. conftest.c: In function 'main':
  2023. conftest.c:55:12: error: size of array 'test_array' is negative
  2024. static int test_array [1 - 2 * !((time_t)-1 > 0)];
  2025. ^
  2026. configure:9172: $? = 1
  2027. configure: failed program was:
  2028. | /* confdefs.h */
  2029. | #define PACKAGE_NAME ""
  2030. | #define PACKAGE_TARNAME ""
  2031. | #define PACKAGE_VERSION ""
  2032. | #define PACKAGE_STRING ""
  2033. | #define PACKAGE_BUGREPORT ""
  2034. | #define PACKAGE_URL ""
  2035. | #define CANONICALIZATION_FOR_MATHN 1
  2036. | #define STDC_HEADERS 1
  2037. | #define HAVE_SYS_TYPES_H 1
  2038. | #define HAVE_SYS_STAT_H 1
  2039. | #define HAVE_STDLIB_H 1
  2040. | #define HAVE_STRING_H 1
  2041. | #define HAVE_MEMORY_H 1
  2042. | #define HAVE_STRINGS_H 1
  2043. | #define HAVE_INTTYPES_H 1
  2044. | #define HAVE_STDINT_H 1
  2045. | #define HAVE_UNISTD_H 1
  2046. | #define __EXTENSIONS__ 1
  2047. | #define _ALL_SOURCE 1
  2048. | #define _GNU_SOURCE 1
  2049. | #define _POSIX_PTHREAD_SEMANTICS 1
  2050. | #define _TANDEM_SOURCE 1
  2051. | #define HAVE_LONG_LONG 1
  2052. | #define HAVE_OFF_T 1
  2053. | #define SIZEOF_INT 4
  2054. | #define SIZEOF_SHORT 2
  2055. | #define SIZEOF_LONG 8
  2056. | #define SIZEOF_LONG_LONG 8
  2057. | #define SIZEOF___INT64 0
  2058. | #define SIZEOF_OFF_T 8
  2059. | #define SIZEOF_VOIDP 8
  2060. | #define SIZEOF_FLOAT 4
  2061. | #define SIZEOF_DOUBLE 8
  2062. | #define SIZEOF_TIME_T 8
  2063. | #define PRI_LL_PREFIX "ll"
  2064. | #define rb_pid_t pid_t
  2065. | #define PIDT2NUM(v) INT2NUM(v)
  2066. | #define NUM2PIDT(v) NUM2INT(v)
  2067. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2068. | #define rb_uid_t uid_t
  2069. | #define UIDT2NUM(v) UINT2NUM(v)
  2070. | #define NUM2UIDT(v) NUM2UINT(v)
  2071. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2072. | #define rb_gid_t gid_t
  2073. | #define GIDT2NUM(v) UINT2NUM(v)
  2074. | #define NUM2GIDT(v) NUM2UINT(v)
  2075. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2076. | /* end confdefs.h. */
  2077. | #include <time.h>
  2078. |
  2079. | int
  2080. | main ()
  2081. | {
  2082. | static int test_array [1 - 2 * !((time_t)-1 > 0)];
  2083. | test_array [0] = 0;
  2084. | return test_array [0];
  2085. |
  2086. | ;
  2087. | return 0;
  2088. | }
  2089. configure:9202: gcc -c -O3 -ggdb conftest.c >&5
  2090. conftest.c:55:38: error: conflicting types for 'rbcv_conftest_var'
  2091. extern rbcv_conftest_replace_type rbcv_conftest_var;
  2092. ^
  2093. conftest.c:54:37: note: previous declaration of 'rbcv_conftest_var' was here
  2094. extern rbcv_conftest_target_type rbcv_conftest_var;
  2095. ^
  2096. conftest.c:57:38: error: conflicting types for 'rbcv_conftest_func'
  2097. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2098. ^
  2099. conftest.c:56:37: note: previous declaration of 'rbcv_conftest_func' was here
  2100. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2101. ^
  2102. configure:9202: $? = 1
  2103. configure: failed program was:
  2104. | /* confdefs.h */
  2105. | #define PACKAGE_NAME ""
  2106. | #define PACKAGE_TARNAME ""
  2107. | #define PACKAGE_VERSION ""
  2108. | #define PACKAGE_STRING ""
  2109. | #define PACKAGE_BUGREPORT ""
  2110. | #define PACKAGE_URL ""
  2111. | #define CANONICALIZATION_FOR_MATHN 1
  2112. | #define STDC_HEADERS 1
  2113. | #define HAVE_SYS_TYPES_H 1
  2114. | #define HAVE_SYS_STAT_H 1
  2115. | #define HAVE_STDLIB_H 1
  2116. | #define HAVE_STRING_H 1
  2117. | #define HAVE_MEMORY_H 1
  2118. | #define HAVE_STRINGS_H 1
  2119. | #define HAVE_INTTYPES_H 1
  2120. | #define HAVE_STDINT_H 1
  2121. | #define HAVE_UNISTD_H 1
  2122. | #define __EXTENSIONS__ 1
  2123. | #define _ALL_SOURCE 1
  2124. | #define _GNU_SOURCE 1
  2125. | #define _POSIX_PTHREAD_SEMANTICS 1
  2126. | #define _TANDEM_SOURCE 1
  2127. | #define HAVE_LONG_LONG 1
  2128. | #define HAVE_OFF_T 1
  2129. | #define SIZEOF_INT 4
  2130. | #define SIZEOF_SHORT 2
  2131. | #define SIZEOF_LONG 8
  2132. | #define SIZEOF_LONG_LONG 8
  2133. | #define SIZEOF___INT64 0
  2134. | #define SIZEOF_OFF_T 8
  2135. | #define SIZEOF_VOIDP 8
  2136. | #define SIZEOF_FLOAT 4
  2137. | #define SIZEOF_DOUBLE 8
  2138. | #define SIZEOF_TIME_T 8
  2139. | #define PRI_LL_PREFIX "ll"
  2140. | #define rb_pid_t pid_t
  2141. | #define PIDT2NUM(v) INT2NUM(v)
  2142. | #define NUM2PIDT(v) NUM2INT(v)
  2143. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2144. | #define rb_uid_t uid_t
  2145. | #define UIDT2NUM(v) UINT2NUM(v)
  2146. | #define NUM2UIDT(v) NUM2UINT(v)
  2147. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2148. | #define rb_gid_t gid_t
  2149. | #define GIDT2NUM(v) UINT2NUM(v)
  2150. | #define NUM2GIDT(v) NUM2UINT(v)
  2151. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2152. | /* end confdefs.h. */
  2153. | #include <time.h>
  2154. |
  2155. | typedef time_t rbcv_conftest_target_type;
  2156. | typedef long long rbcv_conftest_replace_type;
  2157. | extern rbcv_conftest_target_type rbcv_conftest_var;
  2158. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  2159. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2160. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2161. |
  2162. | int
  2163. | main ()
  2164. | {
  2165. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  2166. | test_array [0] = 0;
  2167. | return test_array [0];
  2168. |
  2169. | ;
  2170. | return 0;
  2171. | }
  2172. configure:9202: gcc -c -O3 -ggdb conftest.c >&5
  2173. configure:9202: $? = 0
  2174. configure:9221: result: LONG
  2175. configure:9241: checking for dev_t
  2176. configure:9241: gcc -c -O3 -ggdb conftest.c >&5
  2177. configure:9241: $? = 0
  2178. configure:9241: gcc -c -O3 -ggdb conftest.c >&5
  2179. conftest.c: In function 'main':
  2180. conftest.c:90:20: error: expected expression before ')' token
  2181. if (sizeof ((dev_t)))
  2182. ^
  2183. configure:9241: $? = 1
  2184. configure: failed program was:
  2185. | /* confdefs.h */
  2186. | #define PACKAGE_NAME ""
  2187. | #define PACKAGE_TARNAME ""
  2188. | #define PACKAGE_VERSION ""
  2189. | #define PACKAGE_STRING ""
  2190. | #define PACKAGE_BUGREPORT ""
  2191. | #define PACKAGE_URL ""
  2192. | #define CANONICALIZATION_FOR_MATHN 1
  2193. | #define STDC_HEADERS 1
  2194. | #define HAVE_SYS_TYPES_H 1
  2195. | #define HAVE_SYS_STAT_H 1
  2196. | #define HAVE_STDLIB_H 1
  2197. | #define HAVE_STRING_H 1
  2198. | #define HAVE_MEMORY_H 1
  2199. | #define HAVE_STRINGS_H 1
  2200. | #define HAVE_INTTYPES_H 1
  2201. | #define HAVE_STDINT_H 1
  2202. | #define HAVE_UNISTD_H 1
  2203. | #define __EXTENSIONS__ 1
  2204. | #define _ALL_SOURCE 1
  2205. | #define _GNU_SOURCE 1
  2206. | #define _POSIX_PTHREAD_SEMANTICS 1
  2207. | #define _TANDEM_SOURCE 1
  2208. | #define HAVE_LONG_LONG 1
  2209. | #define HAVE_OFF_T 1
  2210. | #define SIZEOF_INT 4
  2211. | #define SIZEOF_SHORT 2
  2212. | #define SIZEOF_LONG 8
  2213. | #define SIZEOF_LONG_LONG 8
  2214. | #define SIZEOF___INT64 0
  2215. | #define SIZEOF_OFF_T 8
  2216. | #define SIZEOF_VOIDP 8
  2217. | #define SIZEOF_FLOAT 4
  2218. | #define SIZEOF_DOUBLE 8
  2219. | #define SIZEOF_TIME_T 8
  2220. | #define PRI_LL_PREFIX "ll"
  2221. | #define rb_pid_t pid_t
  2222. | #define PIDT2NUM(v) INT2NUM(v)
  2223. | #define NUM2PIDT(v) NUM2INT(v)
  2224. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2225. | #define rb_uid_t uid_t
  2226. | #define UIDT2NUM(v) UINT2NUM(v)
  2227. | #define NUM2UIDT(v) NUM2UINT(v)
  2228. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2229. | #define rb_gid_t gid_t
  2230. | #define GIDT2NUM(v) UINT2NUM(v)
  2231. | #define NUM2GIDT(v) NUM2UINT(v)
  2232. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2233. | #define rb_time_t time_t
  2234. | #define TIMET2NUM(v) LONG2NUM(v)
  2235. | #define NUM2TIMET(v) NUM2LONG(v)
  2236. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  2237. | /* end confdefs.h. */
  2238. | #include <stdio.h>
  2239. | #ifdef HAVE_SYS_TYPES_H
  2240. | # include <sys/types.h>
  2241. | #endif
  2242. | #ifdef HAVE_SYS_STAT_H
  2243. | # include <sys/stat.h>
  2244. | #endif
  2245. | #ifdef STDC_HEADERS
  2246. | # include <stdlib.h>
  2247. | # include <stddef.h>
  2248. | #else
  2249. | # ifdef HAVE_STDLIB_H
  2250. | # include <stdlib.h>
  2251. | # endif
  2252. | #endif
  2253. | #ifdef HAVE_STRING_H
  2254. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2255. | # include <memory.h>
  2256. | # endif
  2257. | # include <string.h>
  2258. | #endif
  2259. | #ifdef HAVE_STRINGS_H
  2260. | # include <strings.h>
  2261. | #endif
  2262. | #ifdef HAVE_INTTYPES_H
  2263. | # include <inttypes.h>
  2264. | #endif
  2265. | #ifdef HAVE_STDINT_H
  2266. | # include <stdint.h>
  2267. | #endif
  2268. | #ifdef HAVE_UNISTD_H
  2269. | # include <unistd.h>
  2270. | #endif
  2271. | int
  2272. | main ()
  2273. | {
  2274. | if (sizeof ((dev_t)))
  2275. | return 0;
  2276. | ;
  2277. | return 0;
  2278. | }
  2279. configure:9241: result: yes
  2280. configure:9248: checking for convertible type of dev_t
  2281. configure:9277: gcc -c -O3 -ggdb conftest.c >&5
  2282. configure:9277: $? = 0
  2283. configure:9306: gcc -c -O3 -ggdb conftest.c >&5
  2284. conftest.c:90:38: error: conflicting types for 'rbcv_conftest_var'
  2285. extern rbcv_conftest_replace_type rbcv_conftest_var;
  2286. ^
  2287. conftest.c:89:37: note: previous declaration of 'rbcv_conftest_var' was here
  2288. extern rbcv_conftest_target_type rbcv_conftest_var;
  2289. ^
  2290. conftest.c:92:38: error: conflicting types for 'rbcv_conftest_func'
  2291. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2292. ^
  2293. conftest.c:91:37: note: previous declaration of 'rbcv_conftest_func' was here
  2294. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2295. ^
  2296. configure:9306: $? = 1
  2297. configure: failed program was:
  2298. | /* confdefs.h */
  2299. | #define PACKAGE_NAME ""
  2300. | #define PACKAGE_TARNAME ""
  2301. | #define PACKAGE_VERSION ""
  2302. | #define PACKAGE_STRING ""
  2303. | #define PACKAGE_BUGREPORT ""
  2304. | #define PACKAGE_URL ""
  2305. | #define CANONICALIZATION_FOR_MATHN 1
  2306. | #define STDC_HEADERS 1
  2307. | #define HAVE_SYS_TYPES_H 1
  2308. | #define HAVE_SYS_STAT_H 1
  2309. | #define HAVE_STDLIB_H 1
  2310. | #define HAVE_STRING_H 1
  2311. | #define HAVE_MEMORY_H 1
  2312. | #define HAVE_STRINGS_H 1
  2313. | #define HAVE_INTTYPES_H 1
  2314. | #define HAVE_STDINT_H 1
  2315. | #define HAVE_UNISTD_H 1
  2316. | #define __EXTENSIONS__ 1
  2317. | #define _ALL_SOURCE 1
  2318. | #define _GNU_SOURCE 1
  2319. | #define _POSIX_PTHREAD_SEMANTICS 1
  2320. | #define _TANDEM_SOURCE 1
  2321. | #define HAVE_LONG_LONG 1
  2322. | #define HAVE_OFF_T 1
  2323. | #define SIZEOF_INT 4
  2324. | #define SIZEOF_SHORT 2
  2325. | #define SIZEOF_LONG 8
  2326. | #define SIZEOF_LONG_LONG 8
  2327. | #define SIZEOF___INT64 0
  2328. | #define SIZEOF_OFF_T 8
  2329. | #define SIZEOF_VOIDP 8
  2330. | #define SIZEOF_FLOAT 4
  2331. | #define SIZEOF_DOUBLE 8
  2332. | #define SIZEOF_TIME_T 8
  2333. | #define PRI_LL_PREFIX "ll"
  2334. | #define rb_pid_t pid_t
  2335. | #define PIDT2NUM(v) INT2NUM(v)
  2336. | #define NUM2PIDT(v) NUM2INT(v)
  2337. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2338. | #define rb_uid_t uid_t
  2339. | #define UIDT2NUM(v) UINT2NUM(v)
  2340. | #define NUM2UIDT(v) NUM2UINT(v)
  2341. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2342. | #define rb_gid_t gid_t
  2343. | #define GIDT2NUM(v) UINT2NUM(v)
  2344. | #define NUM2GIDT(v) NUM2UINT(v)
  2345. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2346. | #define rb_time_t time_t
  2347. | #define TIMET2NUM(v) LONG2NUM(v)
  2348. | #define NUM2TIMET(v) NUM2LONG(v)
  2349. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  2350. | /* end confdefs.h. */
  2351. | #include <stdio.h>
  2352. | #ifdef HAVE_SYS_TYPES_H
  2353. | # include <sys/types.h>
  2354. | #endif
  2355. | #ifdef HAVE_SYS_STAT_H
  2356. | # include <sys/stat.h>
  2357. | #endif
  2358. | #ifdef STDC_HEADERS
  2359. | # include <stdlib.h>
  2360. | # include <stddef.h>
  2361. | #else
  2362. | # ifdef HAVE_STDLIB_H
  2363. | # include <stdlib.h>
  2364. | # endif
  2365. | #endif
  2366. | #ifdef HAVE_STRING_H
  2367. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2368. | # include <memory.h>
  2369. | # endif
  2370. | # include <string.h>
  2371. | #endif
  2372. | #ifdef HAVE_STRINGS_H
  2373. | # include <strings.h>
  2374. | #endif
  2375. | #ifdef HAVE_INTTYPES_H
  2376. | # include <inttypes.h>
  2377. | #endif
  2378. | #ifdef HAVE_STDINT_H
  2379. | # include <stdint.h>
  2380. | #endif
  2381. | #ifdef HAVE_UNISTD_H
  2382. | # include <unistd.h>
  2383. | #endif
  2384. | typedef dev_t rbcv_conftest_target_type;
  2385. | typedef unsigned long long rbcv_conftest_replace_type;
  2386. | extern rbcv_conftest_target_type rbcv_conftest_var;
  2387. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  2388. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2389. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2390. |
  2391. | int
  2392. | main ()
  2393. | {
  2394. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  2395. | test_array [0] = 0;
  2396. | return test_array [0];
  2397. |
  2398. | ;
  2399. | return 0;
  2400. | }
  2401. configure:9306: gcc -c -O3 -ggdb conftest.c >&5
  2402. configure:9306: $? = 0
  2403. configure:9325: result: ULONG
  2404. configure:9345: checking for mode_t
  2405. configure:9345: gcc -c -O3 -ggdb conftest.c >&5
  2406. configure:9345: $? = 0
  2407. configure:9345: gcc -c -O3 -ggdb conftest.c >&5
  2408. conftest.c: In function 'main':
  2409. conftest.c:63:21: error: expected expression before ')' token
  2410. if (sizeof ((mode_t)))
  2411. ^
  2412. configure:9345: $? = 1
  2413. configure: failed program was:
  2414. | /* confdefs.h */
  2415. | #define PACKAGE_NAME ""
  2416. | #define PACKAGE_TARNAME ""
  2417. | #define PACKAGE_VERSION ""
  2418. | #define PACKAGE_STRING ""
  2419. | #define PACKAGE_BUGREPORT ""
  2420. | #define PACKAGE_URL ""
  2421. | #define CANONICALIZATION_FOR_MATHN 1
  2422. | #define STDC_HEADERS 1
  2423. | #define HAVE_SYS_TYPES_H 1
  2424. | #define HAVE_SYS_STAT_H 1
  2425. | #define HAVE_STDLIB_H 1
  2426. | #define HAVE_STRING_H 1
  2427. | #define HAVE_MEMORY_H 1
  2428. | #define HAVE_STRINGS_H 1
  2429. | #define HAVE_INTTYPES_H 1
  2430. | #define HAVE_STDINT_H 1
  2431. | #define HAVE_UNISTD_H 1
  2432. | #define __EXTENSIONS__ 1
  2433. | #define _ALL_SOURCE 1
  2434. | #define _GNU_SOURCE 1
  2435. | #define _POSIX_PTHREAD_SEMANTICS 1
  2436. | #define _TANDEM_SOURCE 1
  2437. | #define HAVE_LONG_LONG 1
  2438. | #define HAVE_OFF_T 1
  2439. | #define SIZEOF_INT 4
  2440. | #define SIZEOF_SHORT 2
  2441. | #define SIZEOF_LONG 8
  2442. | #define SIZEOF_LONG_LONG 8
  2443. | #define SIZEOF___INT64 0
  2444. | #define SIZEOF_OFF_T 8
  2445. | #define SIZEOF_VOIDP 8
  2446. | #define SIZEOF_FLOAT 4
  2447. | #define SIZEOF_DOUBLE 8
  2448. | #define SIZEOF_TIME_T 8
  2449. | #define PRI_LL_PREFIX "ll"
  2450. | #define rb_pid_t pid_t
  2451. | #define PIDT2NUM(v) INT2NUM(v)
  2452. | #define NUM2PIDT(v) NUM2INT(v)
  2453. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2454. | #define rb_uid_t uid_t
  2455. | #define UIDT2NUM(v) UINT2NUM(v)
  2456. | #define NUM2UIDT(v) NUM2UINT(v)
  2457. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2458. | #define rb_gid_t gid_t
  2459. | #define GIDT2NUM(v) UINT2NUM(v)
  2460. | #define NUM2GIDT(v) NUM2UINT(v)
  2461. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2462. | #define rb_time_t time_t
  2463. | #define TIMET2NUM(v) LONG2NUM(v)
  2464. | #define NUM2TIMET(v) NUM2LONG(v)
  2465. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  2466. | #define rb_dev_t dev_t
  2467. | #define DEVT2NUM(v) ULONG2NUM(v)
  2468. | #define NUM2DEVT(v) NUM2ULONG(v)
  2469. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  2470. | /* end confdefs.h. */
  2471. | #include <sys/stat.h>
  2472. |
  2473. | int
  2474. | main ()
  2475. | {
  2476. | if (sizeof ((mode_t)))
  2477. | return 0;
  2478. | ;
  2479. | return 0;
  2480. | }
  2481. configure:9345: result: yes
  2482. configure:9353: checking for convertible type of mode_t
  2483. configure:9383: gcc -c -O3 -ggdb conftest.c >&5
  2484. configure:9383: $? = 0
  2485. configure:9413: gcc -c -O3 -ggdb conftest.c >&5
  2486. conftest.c:63:38: error: conflicting types for 'rbcv_conftest_var'
  2487. extern rbcv_conftest_replace_type rbcv_conftest_var;
  2488. ^
  2489. conftest.c:62:37: note: previous declaration of 'rbcv_conftest_var' was here
  2490. extern rbcv_conftest_target_type rbcv_conftest_var;
  2491. ^
  2492. conftest.c:65:38: error: conflicting types for 'rbcv_conftest_func'
  2493. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2494. ^
  2495. conftest.c:64:37: note: previous declaration of 'rbcv_conftest_func' was here
  2496. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2497. ^
  2498. conftest.c: In function 'main':
  2499. conftest.c:70:12: error: size of array 'test_array' is negative
  2500. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  2501. ^
  2502. configure:9413: $? = 1
  2503. configure: failed program was:
  2504. | /* confdefs.h */
  2505. | #define PACKAGE_NAME ""
  2506. | #define PACKAGE_TARNAME ""
  2507. | #define PACKAGE_VERSION ""
  2508. | #define PACKAGE_STRING ""
  2509. | #define PACKAGE_BUGREPORT ""
  2510. | #define PACKAGE_URL ""
  2511. | #define CANONICALIZATION_FOR_MATHN 1
  2512. | #define STDC_HEADERS 1
  2513. | #define HAVE_SYS_TYPES_H 1
  2514. | #define HAVE_SYS_STAT_H 1
  2515. | #define HAVE_STDLIB_H 1
  2516. | #define HAVE_STRING_H 1
  2517. | #define HAVE_MEMORY_H 1
  2518. | #define HAVE_STRINGS_H 1
  2519. | #define HAVE_INTTYPES_H 1
  2520. | #define HAVE_STDINT_H 1
  2521. | #define HAVE_UNISTD_H 1
  2522. | #define __EXTENSIONS__ 1
  2523. | #define _ALL_SOURCE 1
  2524. | #define _GNU_SOURCE 1
  2525. | #define _POSIX_PTHREAD_SEMANTICS 1
  2526. | #define _TANDEM_SOURCE 1
  2527. | #define HAVE_LONG_LONG 1
  2528. | #define HAVE_OFF_T 1
  2529. | #define SIZEOF_INT 4
  2530. | #define SIZEOF_SHORT 2
  2531. | #define SIZEOF_LONG 8
  2532. | #define SIZEOF_LONG_LONG 8
  2533. | #define SIZEOF___INT64 0
  2534. | #define SIZEOF_OFF_T 8
  2535. | #define SIZEOF_VOIDP 8
  2536. | #define SIZEOF_FLOAT 4
  2537. | #define SIZEOF_DOUBLE 8
  2538. | #define SIZEOF_TIME_T 8
  2539. | #define PRI_LL_PREFIX "ll"
  2540. | #define rb_pid_t pid_t
  2541. | #define PIDT2NUM(v) INT2NUM(v)
  2542. | #define NUM2PIDT(v) NUM2INT(v)
  2543. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2544. | #define rb_uid_t uid_t
  2545. | #define UIDT2NUM(v) UINT2NUM(v)
  2546. | #define NUM2UIDT(v) NUM2UINT(v)
  2547. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2548. | #define rb_gid_t gid_t
  2549. | #define GIDT2NUM(v) UINT2NUM(v)
  2550. | #define NUM2GIDT(v) NUM2UINT(v)
  2551. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2552. | #define rb_time_t time_t
  2553. | #define TIMET2NUM(v) LONG2NUM(v)
  2554. | #define NUM2TIMET(v) NUM2LONG(v)
  2555. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  2556. | #define rb_dev_t dev_t
  2557. | #define DEVT2NUM(v) ULONG2NUM(v)
  2558. | #define NUM2DEVT(v) NUM2ULONG(v)
  2559. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  2560. | /* end confdefs.h. */
  2561. | #include <sys/stat.h>
  2562. |
  2563. | typedef mode_t rbcv_conftest_target_type;
  2564. | typedef unsigned long long rbcv_conftest_replace_type;
  2565. | extern rbcv_conftest_target_type rbcv_conftest_var;
  2566. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  2567. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2568. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2569. |
  2570. | int
  2571. | main ()
  2572. | {
  2573. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  2574. | test_array [0] = 0;
  2575. | return test_array [0];
  2576. |
  2577. | ;
  2578. | return 0;
  2579. | }
  2580. configure:9413: gcc -c -O3 -ggdb conftest.c >&5
  2581. conftest.c:63:38: error: conflicting types for 'rbcv_conftest_var'
  2582. extern rbcv_conftest_replace_type rbcv_conftest_var;
  2583. ^
  2584. conftest.c:62:37: note: previous declaration of 'rbcv_conftest_var' was here
  2585. extern rbcv_conftest_target_type rbcv_conftest_var;
  2586. ^
  2587. conftest.c:65:38: error: conflicting types for 'rbcv_conftest_func'
  2588. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2589. ^
  2590. conftest.c:64:37: note: previous declaration of 'rbcv_conftest_func' was here
  2591. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2592. ^
  2593. conftest.c: In function 'main':
  2594. conftest.c:70:12: error: size of array 'test_array' is negative
  2595. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  2596. ^
  2597. configure:9413: $? = 1
  2598. configure: failed program was:
  2599. | /* confdefs.h */
  2600. | #define PACKAGE_NAME ""
  2601. | #define PACKAGE_TARNAME ""
  2602. | #define PACKAGE_VERSION ""
  2603. | #define PACKAGE_STRING ""
  2604. | #define PACKAGE_BUGREPORT ""
  2605. | #define PACKAGE_URL ""
  2606. | #define CANONICALIZATION_FOR_MATHN 1
  2607. | #define STDC_HEADERS 1
  2608. | #define HAVE_SYS_TYPES_H 1
  2609. | #define HAVE_SYS_STAT_H 1
  2610. | #define HAVE_STDLIB_H 1
  2611. | #define HAVE_STRING_H 1
  2612. | #define HAVE_MEMORY_H 1
  2613. | #define HAVE_STRINGS_H 1
  2614. | #define HAVE_INTTYPES_H 1
  2615. | #define HAVE_STDINT_H 1
  2616. | #define HAVE_UNISTD_H 1
  2617. | #define __EXTENSIONS__ 1
  2618. | #define _ALL_SOURCE 1
  2619. | #define _GNU_SOURCE 1
  2620. | #define _POSIX_PTHREAD_SEMANTICS 1
  2621. | #define _TANDEM_SOURCE 1
  2622. | #define HAVE_LONG_LONG 1
  2623. | #define HAVE_OFF_T 1
  2624. | #define SIZEOF_INT 4
  2625. | #define SIZEOF_SHORT 2
  2626. | #define SIZEOF_LONG 8
  2627. | #define SIZEOF_LONG_LONG 8
  2628. | #define SIZEOF___INT64 0
  2629. | #define SIZEOF_OFF_T 8
  2630. | #define SIZEOF_VOIDP 8
  2631. | #define SIZEOF_FLOAT 4
  2632. | #define SIZEOF_DOUBLE 8
  2633. | #define SIZEOF_TIME_T 8
  2634. | #define PRI_LL_PREFIX "ll"
  2635. | #define rb_pid_t pid_t
  2636. | #define PIDT2NUM(v) INT2NUM(v)
  2637. | #define NUM2PIDT(v) NUM2INT(v)
  2638. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2639. | #define rb_uid_t uid_t
  2640. | #define UIDT2NUM(v) UINT2NUM(v)
  2641. | #define NUM2UIDT(v) NUM2UINT(v)
  2642. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2643. | #define rb_gid_t gid_t
  2644. | #define GIDT2NUM(v) UINT2NUM(v)
  2645. | #define NUM2GIDT(v) NUM2UINT(v)
  2646. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2647. | #define rb_time_t time_t
  2648. | #define TIMET2NUM(v) LONG2NUM(v)
  2649. | #define NUM2TIMET(v) NUM2LONG(v)
  2650. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  2651. | #define rb_dev_t dev_t
  2652. | #define DEVT2NUM(v) ULONG2NUM(v)
  2653. | #define NUM2DEVT(v) NUM2ULONG(v)
  2654. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  2655. | /* end confdefs.h. */
  2656. | #include <sys/stat.h>
  2657. |
  2658. | typedef mode_t rbcv_conftest_target_type;
  2659. | typedef unsigned long rbcv_conftest_replace_type;
  2660. | extern rbcv_conftest_target_type rbcv_conftest_var;
  2661. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  2662. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2663. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2664. |
  2665. | int
  2666. | main ()
  2667. | {
  2668. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  2669. | test_array [0] = 0;
  2670. | return test_array [0];
  2671. |
  2672. | ;
  2673. | return 0;
  2674. | }
  2675. configure:9413: gcc -c -O3 -ggdb conftest.c >&5
  2676. configure:9413: $? = 0
  2677. configure:9432: result: UINT
  2678. configure:9452: checking for rlim_t
  2679. configure:9452: gcc -c -O3 -ggdb conftest.c >&5
  2680. configure:9452: $? = 0
  2681. configure:9452: gcc -c -O3 -ggdb conftest.c >&5
  2682. conftest.c: In function 'main':
  2683. conftest.c:67:21: error: expected expression before ')' token
  2684. if (sizeof ((rlim_t)))
  2685. ^
  2686. configure:9452: $? = 1
  2687. configure: failed program was:
  2688. | /* confdefs.h */
  2689. | #define PACKAGE_NAME ""
  2690. | #define PACKAGE_TARNAME ""
  2691. | #define PACKAGE_VERSION ""
  2692. | #define PACKAGE_STRING ""
  2693. | #define PACKAGE_BUGREPORT ""
  2694. | #define PACKAGE_URL ""
  2695. | #define CANONICALIZATION_FOR_MATHN 1
  2696. | #define STDC_HEADERS 1
  2697. | #define HAVE_SYS_TYPES_H 1
  2698. | #define HAVE_SYS_STAT_H 1
  2699. | #define HAVE_STDLIB_H 1
  2700. | #define HAVE_STRING_H 1
  2701. | #define HAVE_MEMORY_H 1
  2702. | #define HAVE_STRINGS_H 1
  2703. | #define HAVE_INTTYPES_H 1
  2704. | #define HAVE_STDINT_H 1
  2705. | #define HAVE_UNISTD_H 1
  2706. | #define __EXTENSIONS__ 1
  2707. | #define _ALL_SOURCE 1
  2708. | #define _GNU_SOURCE 1
  2709. | #define _POSIX_PTHREAD_SEMANTICS 1
  2710. | #define _TANDEM_SOURCE 1
  2711. | #define HAVE_LONG_LONG 1
  2712. | #define HAVE_OFF_T 1
  2713. | #define SIZEOF_INT 4
  2714. | #define SIZEOF_SHORT 2
  2715. | #define SIZEOF_LONG 8
  2716. | #define SIZEOF_LONG_LONG 8
  2717. | #define SIZEOF___INT64 0
  2718. | #define SIZEOF_OFF_T 8
  2719. | #define SIZEOF_VOIDP 8
  2720. | #define SIZEOF_FLOAT 4
  2721. | #define SIZEOF_DOUBLE 8
  2722. | #define SIZEOF_TIME_T 8
  2723. | #define PRI_LL_PREFIX "ll"
  2724. | #define rb_pid_t pid_t
  2725. | #define PIDT2NUM(v) INT2NUM(v)
  2726. | #define NUM2PIDT(v) NUM2INT(v)
  2727. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2728. | #define rb_uid_t uid_t
  2729. | #define UIDT2NUM(v) UINT2NUM(v)
  2730. | #define NUM2UIDT(v) NUM2UINT(v)
  2731. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2732. | #define rb_gid_t gid_t
  2733. | #define GIDT2NUM(v) UINT2NUM(v)
  2734. | #define NUM2GIDT(v) NUM2UINT(v)
  2735. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2736. | #define rb_time_t time_t
  2737. | #define TIMET2NUM(v) LONG2NUM(v)
  2738. | #define NUM2TIMET(v) NUM2LONG(v)
  2739. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  2740. | #define rb_dev_t dev_t
  2741. | #define DEVT2NUM(v) ULONG2NUM(v)
  2742. | #define NUM2DEVT(v) NUM2ULONG(v)
  2743. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  2744. | #define rb_mode_t mode_t
  2745. | #define MODET2NUM(v) UINT2NUM(v)
  2746. | #define NUM2MODET(v) NUM2UINT(v)
  2747. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  2748. | /* end confdefs.h. */
  2749. | #include <sys/resource.h>
  2750. |
  2751. | int
  2752. | main ()
  2753. | {
  2754. | if (sizeof ((rlim_t)))
  2755. | return 0;
  2756. | ;
  2757. | return 0;
  2758. | }
  2759. configure:9452: result: yes
  2760. configure:9460: checking for convertible type of rlim_t
  2761. configure:9490: gcc -c -O3 -ggdb conftest.c >&5
  2762. configure:9490: $? = 0
  2763. configure:9520: gcc -c -O3 -ggdb conftest.c >&5
  2764. conftest.c:67:38: error: conflicting types for 'rbcv_conftest_var'
  2765. extern rbcv_conftest_replace_type rbcv_conftest_var;
  2766. ^
  2767. conftest.c:66:37: note: previous declaration of 'rbcv_conftest_var' was here
  2768. extern rbcv_conftest_target_type rbcv_conftest_var;
  2769. ^
  2770. conftest.c:69:38: error: conflicting types for 'rbcv_conftest_func'
  2771. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2772. ^
  2773. conftest.c:68:37: note: previous declaration of 'rbcv_conftest_func' was here
  2774. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2775. ^
  2776. configure:9520: $? = 1
  2777. configure: failed program was:
  2778. | /* confdefs.h */
  2779. | #define PACKAGE_NAME ""
  2780. | #define PACKAGE_TARNAME ""
  2781. | #define PACKAGE_VERSION ""
  2782. | #define PACKAGE_STRING ""
  2783. | #define PACKAGE_BUGREPORT ""
  2784. | #define PACKAGE_URL ""
  2785. | #define CANONICALIZATION_FOR_MATHN 1
  2786. | #define STDC_HEADERS 1
  2787. | #define HAVE_SYS_TYPES_H 1
  2788. | #define HAVE_SYS_STAT_H 1
  2789. | #define HAVE_STDLIB_H 1
  2790. | #define HAVE_STRING_H 1
  2791. | #define HAVE_MEMORY_H 1
  2792. | #define HAVE_STRINGS_H 1
  2793. | #define HAVE_INTTYPES_H 1
  2794. | #define HAVE_STDINT_H 1
  2795. | #define HAVE_UNISTD_H 1
  2796. | #define __EXTENSIONS__ 1
  2797. | #define _ALL_SOURCE 1
  2798. | #define _GNU_SOURCE 1
  2799. | #define _POSIX_PTHREAD_SEMANTICS 1
  2800. | #define _TANDEM_SOURCE 1
  2801. | #define HAVE_LONG_LONG 1
  2802. | #define HAVE_OFF_T 1
  2803. | #define SIZEOF_INT 4
  2804. | #define SIZEOF_SHORT 2
  2805. | #define SIZEOF_LONG 8
  2806. | #define SIZEOF_LONG_LONG 8
  2807. | #define SIZEOF___INT64 0
  2808. | #define SIZEOF_OFF_T 8
  2809. | #define SIZEOF_VOIDP 8
  2810. | #define SIZEOF_FLOAT 4
  2811. | #define SIZEOF_DOUBLE 8
  2812. | #define SIZEOF_TIME_T 8
  2813. | #define PRI_LL_PREFIX "ll"
  2814. | #define rb_pid_t pid_t
  2815. | #define PIDT2NUM(v) INT2NUM(v)
  2816. | #define NUM2PIDT(v) NUM2INT(v)
  2817. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2818. | #define rb_uid_t uid_t
  2819. | #define UIDT2NUM(v) UINT2NUM(v)
  2820. | #define NUM2UIDT(v) NUM2UINT(v)
  2821. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2822. | #define rb_gid_t gid_t
  2823. | #define GIDT2NUM(v) UINT2NUM(v)
  2824. | #define NUM2GIDT(v) NUM2UINT(v)
  2825. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2826. | #define rb_time_t time_t
  2827. | #define TIMET2NUM(v) LONG2NUM(v)
  2828. | #define NUM2TIMET(v) NUM2LONG(v)
  2829. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  2830. | #define rb_dev_t dev_t
  2831. | #define DEVT2NUM(v) ULONG2NUM(v)
  2832. | #define NUM2DEVT(v) NUM2ULONG(v)
  2833. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  2834. | #define rb_mode_t mode_t
  2835. | #define MODET2NUM(v) UINT2NUM(v)
  2836. | #define NUM2MODET(v) NUM2UINT(v)
  2837. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  2838. | /* end confdefs.h. */
  2839. | #include <sys/resource.h>
  2840. |
  2841. | typedef rlim_t rbcv_conftest_target_type;
  2842. | typedef unsigned long long rbcv_conftest_replace_type;
  2843. | extern rbcv_conftest_target_type rbcv_conftest_var;
  2844. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  2845. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  2846. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  2847. |
  2848. | int
  2849. | main ()
  2850. | {
  2851. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  2852. | test_array [0] = 0;
  2853. | return test_array [0];
  2854. |
  2855. | ;
  2856. | return 0;
  2857. | }
  2858. configure:9520: gcc -c -O3 -ggdb conftest.c >&5
  2859. configure:9520: $? = 0
  2860. configure:9539: result: ULONG
  2861. configure:9560: checking for prototypes
  2862. configure:9576: gcc -c -O3 -ggdb conftest.c >&5
  2863. configure:9576: $? = 0
  2864. configure:9583: result: yes
  2865. configure:9590: checking token paste string
  2866. configure:9606: gcc -c -O3 -ggdb conftest.c >&5
  2867. configure:9606: $? = 0
  2868. configure:9613: result: ansi
  2869. configure:9623: checking stringization
  2870. configure:9652: gcc -c -O3 -ggdb conftest.c >&5
  2871. configure:9652: $? = 0
  2872. configure:9661: result: #expr
  2873. configure:9674: checking string literal concatenation
  2874. configure:9698: gcc -c -O3 -ggdb conftest.c >&5
  2875. configure:9698: $? = 0
  2876. configure:9706: result: yes
  2877. configure:9713: checking for variable length prototypes and stdarg.h
  2878. configure:9739: gcc -c -O3 -ggdb conftest.c >&5
  2879. configure:9739: $? = 0
  2880. configure:9746: result: yes
  2881. configure:9753: checking for variable length macro
  2882. configure:9772: gcc -c -O3 -ggdb conftest.c >&5
  2883. configure:9772: $? = 0
  2884. configure:9779: result: yes
  2885. configure:9790: checking for noreturn function attribute
  2886. configure:9821: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  2887. configure:9821: $? = 0
  2888. configure:9835: result: __attribute__ ((noreturn)) x
  2889. configure:9854: checking for deprecated function attribute
  2890. configure:9885: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  2891. configure:9885: $? = 0
  2892. configure:9899: result: __attribute__ ((deprecated)) x
  2893. configure:9918: checking for noinline function attribute
  2894. configure:9949: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  2895. configure:9949: $? = 0
  2896. configure:9963: result: __attribute__ ((noinline)) x
  2897. configure:9984: checking for stdcall function attribute
  2898. configure:10017: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  2899. conftest.c:79:5: warning: 'stdcall' attribute ignored [-Wattributes]
  2900. FUNC_STDCALL(void conftest_attribute_check(void));
  2901. ^
  2902. configure:10017: $? = 0
  2903. configure: failed program was:
  2904. | /* confdefs.h */
  2905. | #define PACKAGE_NAME ""
  2906. | #define PACKAGE_TARNAME ""
  2907. | #define PACKAGE_VERSION ""
  2908. | #define PACKAGE_STRING ""
  2909. | #define PACKAGE_BUGREPORT ""
  2910. | #define PACKAGE_URL ""
  2911. | #define CANONICALIZATION_FOR_MATHN 1
  2912. | #define STDC_HEADERS 1
  2913. | #define HAVE_SYS_TYPES_H 1
  2914. | #define HAVE_SYS_STAT_H 1
  2915. | #define HAVE_STDLIB_H 1
  2916. | #define HAVE_STRING_H 1
  2917. | #define HAVE_MEMORY_H 1
  2918. | #define HAVE_STRINGS_H 1
  2919. | #define HAVE_INTTYPES_H 1
  2920. | #define HAVE_STDINT_H 1
  2921. | #define HAVE_UNISTD_H 1
  2922. | #define __EXTENSIONS__ 1
  2923. | #define _ALL_SOURCE 1
  2924. | #define _GNU_SOURCE 1
  2925. | #define _POSIX_PTHREAD_SEMANTICS 1
  2926. | #define _TANDEM_SOURCE 1
  2927. | #define HAVE_LONG_LONG 1
  2928. | #define HAVE_OFF_T 1
  2929. | #define SIZEOF_INT 4
  2930. | #define SIZEOF_SHORT 2
  2931. | #define SIZEOF_LONG 8
  2932. | #define SIZEOF_LONG_LONG 8
  2933. | #define SIZEOF___INT64 0
  2934. | #define SIZEOF_OFF_T 8
  2935. | #define SIZEOF_VOIDP 8
  2936. | #define SIZEOF_FLOAT 4
  2937. | #define SIZEOF_DOUBLE 8
  2938. | #define SIZEOF_TIME_T 8
  2939. | #define PRI_LL_PREFIX "ll"
  2940. | #define rb_pid_t pid_t
  2941. | #define PIDT2NUM(v) INT2NUM(v)
  2942. | #define NUM2PIDT(v) NUM2INT(v)
  2943. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  2944. | #define rb_uid_t uid_t
  2945. | #define UIDT2NUM(v) UINT2NUM(v)
  2946. | #define NUM2UIDT(v) NUM2UINT(v)
  2947. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  2948. | #define rb_gid_t gid_t
  2949. | #define GIDT2NUM(v) UINT2NUM(v)
  2950. | #define NUM2GIDT(v) NUM2UINT(v)
  2951. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  2952. | #define rb_time_t time_t
  2953. | #define TIMET2NUM(v) LONG2NUM(v)
  2954. | #define NUM2TIMET(v) NUM2LONG(v)
  2955. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  2956. | #define rb_dev_t dev_t
  2957. | #define DEVT2NUM(v) ULONG2NUM(v)
  2958. | #define NUM2DEVT(v) NUM2ULONG(v)
  2959. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  2960. | #define rb_mode_t mode_t
  2961. | #define MODET2NUM(v) UINT2NUM(v)
  2962. | #define NUM2MODET(v) NUM2UINT(v)
  2963. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  2964. | #define rb_rlim_t rlim_t
  2965. | #define RLIM2NUM(v) ULONG2NUM(v)
  2966. | #define NUM2RLIM(v) NUM2ULONG(v)
  2967. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  2968. | #define HAVE_PROTOTYPES 1
  2969. | #define TOKEN_PASTE(x,y) x##y
  2970. | #define STRINGIZE(expr) STRINGIZE0(expr)
  2971. | #define HAVE_STDARG_PROTOTYPES 1
  2972. | #define HAVE_VA_ARGS_MACRO 1
  2973. | #define NORETURN(x) __attribute__ ((noreturn)) x
  2974. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  2975. | #define NOINLINE(x) __attribute__ ((noinline)) x
  2976. | /* end confdefs.h. */
  2977. |
  2978. | #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
  2979. |
  2980. |
  2981. |
  2982. | FUNC_STDCALL(void conftest_attribute_check(void));
  2983. | int
  2984. | main ()
  2985. | {
  2986. |
  2987. | ;
  2988. | return 0;
  2989. | }
  2990. configure:10017: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  2991. conftest.c:79:5: warning: 'stdcall' attribute ignored [-Wattributes]
  2992. FUNC_STDCALL(void conftest_attribute_check(void));
  2993. ^
  2994. configure:10017: $? = 0
  2995. configure: failed program was:
  2996. | /* confdefs.h */
  2997. | #define PACKAGE_NAME ""
  2998. | #define PACKAGE_TARNAME ""
  2999. | #define PACKAGE_VERSION ""
  3000. | #define PACKAGE_STRING ""
  3001. | #define PACKAGE_BUGREPORT ""
  3002. | #define PACKAGE_URL ""
  3003. | #define CANONICALIZATION_FOR_MATHN 1
  3004. | #define STDC_HEADERS 1
  3005. | #define HAVE_SYS_TYPES_H 1
  3006. | #define HAVE_SYS_STAT_H 1
  3007. | #define HAVE_STDLIB_H 1
  3008. | #define HAVE_STRING_H 1
  3009. | #define HAVE_MEMORY_H 1
  3010. | #define HAVE_STRINGS_H 1
  3011. | #define HAVE_INTTYPES_H 1
  3012. | #define HAVE_STDINT_H 1
  3013. | #define HAVE_UNISTD_H 1
  3014. | #define __EXTENSIONS__ 1
  3015. | #define _ALL_SOURCE 1
  3016. | #define _GNU_SOURCE 1
  3017. | #define _POSIX_PTHREAD_SEMANTICS 1
  3018. | #define _TANDEM_SOURCE 1
  3019. | #define HAVE_LONG_LONG 1
  3020. | #define HAVE_OFF_T 1
  3021. | #define SIZEOF_INT 4
  3022. | #define SIZEOF_SHORT 2
  3023. | #define SIZEOF_LONG 8
  3024. | #define SIZEOF_LONG_LONG 8
  3025. | #define SIZEOF___INT64 0
  3026. | #define SIZEOF_OFF_T 8
  3027. | #define SIZEOF_VOIDP 8
  3028. | #define SIZEOF_FLOAT 4
  3029. | #define SIZEOF_DOUBLE 8
  3030. | #define SIZEOF_TIME_T 8
  3031. | #define PRI_LL_PREFIX "ll"
  3032. | #define rb_pid_t pid_t
  3033. | #define PIDT2NUM(v) INT2NUM(v)
  3034. | #define NUM2PIDT(v) NUM2INT(v)
  3035. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3036. | #define rb_uid_t uid_t
  3037. | #define UIDT2NUM(v) UINT2NUM(v)
  3038. | #define NUM2UIDT(v) NUM2UINT(v)
  3039. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3040. | #define rb_gid_t gid_t
  3041. | #define GIDT2NUM(v) UINT2NUM(v)
  3042. | #define NUM2GIDT(v) NUM2UINT(v)
  3043. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3044. | #define rb_time_t time_t
  3045. | #define TIMET2NUM(v) LONG2NUM(v)
  3046. | #define NUM2TIMET(v) NUM2LONG(v)
  3047. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  3048. | #define rb_dev_t dev_t
  3049. | #define DEVT2NUM(v) ULONG2NUM(v)
  3050. | #define NUM2DEVT(v) NUM2ULONG(v)
  3051. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  3052. | #define rb_mode_t mode_t
  3053. | #define MODET2NUM(v) UINT2NUM(v)
  3054. | #define NUM2MODET(v) NUM2UINT(v)
  3055. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  3056. | #define rb_rlim_t rlim_t
  3057. | #define RLIM2NUM(v) ULONG2NUM(v)
  3058. | #define NUM2RLIM(v) NUM2ULONG(v)
  3059. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  3060. | #define HAVE_PROTOTYPES 1
  3061. | #define TOKEN_PASTE(x,y) x##y
  3062. | #define STRINGIZE(expr) STRINGIZE0(expr)
  3063. | #define HAVE_STDARG_PROTOTYPES 1
  3064. | #define HAVE_VA_ARGS_MACRO 1
  3065. | #define NORETURN(x) __attribute__ ((noreturn)) x
  3066. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  3067. | #define NOINLINE(x) __attribute__ ((noinline)) x
  3068. | /* end confdefs.h. */
  3069. |
  3070. | #define FUNC_STDCALL(x) x __attribute__ ((stdcall))
  3071. |
  3072. |
  3073. |
  3074. | FUNC_STDCALL(void conftest_attribute_check(void));
  3075. | int
  3076. | main ()
  3077. | {
  3078. |
  3079. | ;
  3080. | return 0;
  3081. | }
  3082. configure:10017: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3083. conftest.c:75:25: warning: return type defaults to 'int' [-Wimplicit-int]
  3084. #define FUNC_STDCALL(x) __declspec(stdcall) x
  3085. ^
  3086. conftest.c:79:5: note: in expansion of macro 'FUNC_STDCALL'
  3087. FUNC_STDCALL(void conftest_attribute_check(void));
  3088. ^
  3089. conftest.c: In function '__declspec':
  3090. conftest.c:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  3091. {
  3092. ^
  3093. conftest.c:75:25: warning: type of 'stdcall' defaults to 'int' [-Wimplicit-int]
  3094. #define FUNC_STDCALL(x) __declspec(stdcall) x
  3095. ^
  3096. conftest.c:79:5: note: in expansion of macro 'FUNC_STDCALL'
  3097. FUNC_STDCALL(void conftest_attribute_check(void));
  3098. ^
  3099. conftest.c:79:23: error: declaration for parameter 'conftest_attribute_check' but no such parameter
  3100. FUNC_STDCALL(void conftest_attribute_check(void));
  3101. ^
  3102. conftest.c:75:45: note: in definition of macro 'FUNC_STDCALL'
  3103. #define FUNC_STDCALL(x) __declspec(stdcall) x
  3104. ^
  3105. conftest.c:86:1: error: expected '{' at end of input
  3106. }
  3107. ^
  3108. conftest.c:86:1: warning: control reaches end of non-void function [-Wreturn-type]
  3109. }
  3110. ^
  3111. configure:10017: $? = 1
  3112. configure: failed program was:
  3113. | /* confdefs.h */
  3114. | #define PACKAGE_NAME ""
  3115. | #define PACKAGE_TARNAME ""
  3116. | #define PACKAGE_VERSION ""
  3117. | #define PACKAGE_STRING ""
  3118. | #define PACKAGE_BUGREPORT ""
  3119. | #define PACKAGE_URL ""
  3120. | #define CANONICALIZATION_FOR_MATHN 1
  3121. | #define STDC_HEADERS 1
  3122. | #define HAVE_SYS_TYPES_H 1
  3123. | #define HAVE_SYS_STAT_H 1
  3124. | #define HAVE_STDLIB_H 1
  3125. | #define HAVE_STRING_H 1
  3126. | #define HAVE_MEMORY_H 1
  3127. | #define HAVE_STRINGS_H 1
  3128. | #define HAVE_INTTYPES_H 1
  3129. | #define HAVE_STDINT_H 1
  3130. | #define HAVE_UNISTD_H 1
  3131. | #define __EXTENSIONS__ 1
  3132. | #define _ALL_SOURCE 1
  3133. | #define _GNU_SOURCE 1
  3134. | #define _POSIX_PTHREAD_SEMANTICS 1
  3135. | #define _TANDEM_SOURCE 1
  3136. | #define HAVE_LONG_LONG 1
  3137. | #define HAVE_OFF_T 1
  3138. | #define SIZEOF_INT 4
  3139. | #define SIZEOF_SHORT 2
  3140. | #define SIZEOF_LONG 8
  3141. | #define SIZEOF_LONG_LONG 8
  3142. | #define SIZEOF___INT64 0
  3143. | #define SIZEOF_OFF_T 8
  3144. | #define SIZEOF_VOIDP 8
  3145. | #define SIZEOF_FLOAT 4
  3146. | #define SIZEOF_DOUBLE 8
  3147. | #define SIZEOF_TIME_T 8
  3148. | #define PRI_LL_PREFIX "ll"
  3149. | #define rb_pid_t pid_t
  3150. | #define PIDT2NUM(v) INT2NUM(v)
  3151. | #define NUM2PIDT(v) NUM2INT(v)
  3152. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3153. | #define rb_uid_t uid_t
  3154. | #define UIDT2NUM(v) UINT2NUM(v)
  3155. | #define NUM2UIDT(v) NUM2UINT(v)
  3156. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3157. | #define rb_gid_t gid_t
  3158. | #define GIDT2NUM(v) UINT2NUM(v)
  3159. | #define NUM2GIDT(v) NUM2UINT(v)
  3160. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3161. | #define rb_time_t time_t
  3162. | #define TIMET2NUM(v) LONG2NUM(v)
  3163. | #define NUM2TIMET(v) NUM2LONG(v)
  3164. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  3165. | #define rb_dev_t dev_t
  3166. | #define DEVT2NUM(v) ULONG2NUM(v)
  3167. | #define NUM2DEVT(v) NUM2ULONG(v)
  3168. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  3169. | #define rb_mode_t mode_t
  3170. | #define MODET2NUM(v) UINT2NUM(v)
  3171. | #define NUM2MODET(v) NUM2UINT(v)
  3172. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  3173. | #define rb_rlim_t rlim_t
  3174. | #define RLIM2NUM(v) ULONG2NUM(v)
  3175. | #define NUM2RLIM(v) NUM2ULONG(v)
  3176. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  3177. | #define HAVE_PROTOTYPES 1
  3178. | #define TOKEN_PASTE(x,y) x##y
  3179. | #define STRINGIZE(expr) STRINGIZE0(expr)
  3180. | #define HAVE_STDARG_PROTOTYPES 1
  3181. | #define HAVE_VA_ARGS_MACRO 1
  3182. | #define NORETURN(x) __attribute__ ((noreturn)) x
  3183. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  3184. | #define NOINLINE(x) __attribute__ ((noinline)) x
  3185. | /* end confdefs.h. */
  3186. |
  3187. | #define FUNC_STDCALL(x) __declspec(stdcall) x
  3188. |
  3189. |
  3190. |
  3191. | FUNC_STDCALL(void conftest_attribute_check(void));
  3192. | int
  3193. | main ()
  3194. | {
  3195. |
  3196. | ;
  3197. | return 0;
  3198. | }
  3199. configure:10017: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3200. configure:10017: $? = 0
  3201. configure:10031: result: x
  3202. configure:10050: checking for cdecl function attribute
  3203. configure:10083: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3204. conftest.c:79:5: warning: 'cdecl' attribute ignored [-Wattributes]
  3205. FUNC_CDECL(void conftest_attribute_check(void));
  3206. ^
  3207. configure:10083: $? = 0
  3208. configure: failed program was:
  3209. | /* confdefs.h */
  3210. | #define PACKAGE_NAME ""
  3211. | #define PACKAGE_TARNAME ""
  3212. | #define PACKAGE_VERSION ""
  3213. | #define PACKAGE_STRING ""
  3214. | #define PACKAGE_BUGREPORT ""
  3215. | #define PACKAGE_URL ""
  3216. | #define CANONICALIZATION_FOR_MATHN 1
  3217. | #define STDC_HEADERS 1
  3218. | #define HAVE_SYS_TYPES_H 1
  3219. | #define HAVE_SYS_STAT_H 1
  3220. | #define HAVE_STDLIB_H 1
  3221. | #define HAVE_STRING_H 1
  3222. | #define HAVE_MEMORY_H 1
  3223. | #define HAVE_STRINGS_H 1
  3224. | #define HAVE_INTTYPES_H 1
  3225. | #define HAVE_STDINT_H 1
  3226. | #define HAVE_UNISTD_H 1
  3227. | #define __EXTENSIONS__ 1
  3228. | #define _ALL_SOURCE 1
  3229. | #define _GNU_SOURCE 1
  3230. | #define _POSIX_PTHREAD_SEMANTICS 1
  3231. | #define _TANDEM_SOURCE 1
  3232. | #define HAVE_LONG_LONG 1
  3233. | #define HAVE_OFF_T 1
  3234. | #define SIZEOF_INT 4
  3235. | #define SIZEOF_SHORT 2
  3236. | #define SIZEOF_LONG 8
  3237. | #define SIZEOF_LONG_LONG 8
  3238. | #define SIZEOF___INT64 0
  3239. | #define SIZEOF_OFF_T 8
  3240. | #define SIZEOF_VOIDP 8
  3241. | #define SIZEOF_FLOAT 4
  3242. | #define SIZEOF_DOUBLE 8
  3243. | #define SIZEOF_TIME_T 8
  3244. | #define PRI_LL_PREFIX "ll"
  3245. | #define rb_pid_t pid_t
  3246. | #define PIDT2NUM(v) INT2NUM(v)
  3247. | #define NUM2PIDT(v) NUM2INT(v)
  3248. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3249. | #define rb_uid_t uid_t
  3250. | #define UIDT2NUM(v) UINT2NUM(v)
  3251. | #define NUM2UIDT(v) NUM2UINT(v)
  3252. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3253. | #define rb_gid_t gid_t
  3254. | #define GIDT2NUM(v) UINT2NUM(v)
  3255. | #define NUM2GIDT(v) NUM2UINT(v)
  3256. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3257. | #define rb_time_t time_t
  3258. | #define TIMET2NUM(v) LONG2NUM(v)
  3259. | #define NUM2TIMET(v) NUM2LONG(v)
  3260. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  3261. | #define rb_dev_t dev_t
  3262. | #define DEVT2NUM(v) ULONG2NUM(v)
  3263. | #define NUM2DEVT(v) NUM2ULONG(v)
  3264. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  3265. | #define rb_mode_t mode_t
  3266. | #define MODET2NUM(v) UINT2NUM(v)
  3267. | #define NUM2MODET(v) NUM2UINT(v)
  3268. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  3269. | #define rb_rlim_t rlim_t
  3270. | #define RLIM2NUM(v) ULONG2NUM(v)
  3271. | #define NUM2RLIM(v) NUM2ULONG(v)
  3272. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  3273. | #define HAVE_PROTOTYPES 1
  3274. | #define TOKEN_PASTE(x,y) x##y
  3275. | #define STRINGIZE(expr) STRINGIZE0(expr)
  3276. | #define HAVE_STDARG_PROTOTYPES 1
  3277. | #define HAVE_VA_ARGS_MACRO 1
  3278. | #define NORETURN(x) __attribute__ ((noreturn)) x
  3279. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  3280. | #define NOINLINE(x) __attribute__ ((noinline)) x
  3281. | /* end confdefs.h. */
  3282. |
  3283. | #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
  3284. |
  3285. |
  3286. |
  3287. | FUNC_CDECL(void conftest_attribute_check(void));
  3288. | int
  3289. | main ()
  3290. | {
  3291. |
  3292. | ;
  3293. | return 0;
  3294. | }
  3295. configure:10083: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3296. conftest.c:79:5: warning: 'cdecl' attribute ignored [-Wattributes]
  3297. FUNC_CDECL(void conftest_attribute_check(void));
  3298. ^
  3299. configure:10083: $? = 0
  3300. configure: failed program was:
  3301. | /* confdefs.h */
  3302. | #define PACKAGE_NAME ""
  3303. | #define PACKAGE_TARNAME ""
  3304. | #define PACKAGE_VERSION ""
  3305. | #define PACKAGE_STRING ""
  3306. | #define PACKAGE_BUGREPORT ""
  3307. | #define PACKAGE_URL ""
  3308. | #define CANONICALIZATION_FOR_MATHN 1
  3309. | #define STDC_HEADERS 1
  3310. | #define HAVE_SYS_TYPES_H 1
  3311. | #define HAVE_SYS_STAT_H 1
  3312. | #define HAVE_STDLIB_H 1
  3313. | #define HAVE_STRING_H 1
  3314. | #define HAVE_MEMORY_H 1
  3315. | #define HAVE_STRINGS_H 1
  3316. | #define HAVE_INTTYPES_H 1
  3317. | #define HAVE_STDINT_H 1
  3318. | #define HAVE_UNISTD_H 1
  3319. | #define __EXTENSIONS__ 1
  3320. | #define _ALL_SOURCE 1
  3321. | #define _GNU_SOURCE 1
  3322. | #define _POSIX_PTHREAD_SEMANTICS 1
  3323. | #define _TANDEM_SOURCE 1
  3324. | #define HAVE_LONG_LONG 1
  3325. | #define HAVE_OFF_T 1
  3326. | #define SIZEOF_INT 4
  3327. | #define SIZEOF_SHORT 2
  3328. | #define SIZEOF_LONG 8
  3329. | #define SIZEOF_LONG_LONG 8
  3330. | #define SIZEOF___INT64 0
  3331. | #define SIZEOF_OFF_T 8
  3332. | #define SIZEOF_VOIDP 8
  3333. | #define SIZEOF_FLOAT 4
  3334. | #define SIZEOF_DOUBLE 8
  3335. | #define SIZEOF_TIME_T 8
  3336. | #define PRI_LL_PREFIX "ll"
  3337. | #define rb_pid_t pid_t
  3338. | #define PIDT2NUM(v) INT2NUM(v)
  3339. | #define NUM2PIDT(v) NUM2INT(v)
  3340. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3341. | #define rb_uid_t uid_t
  3342. | #define UIDT2NUM(v) UINT2NUM(v)
  3343. | #define NUM2UIDT(v) NUM2UINT(v)
  3344. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3345. | #define rb_gid_t gid_t
  3346. | #define GIDT2NUM(v) UINT2NUM(v)
  3347. | #define NUM2GIDT(v) NUM2UINT(v)
  3348. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3349. | #define rb_time_t time_t
  3350. | #define TIMET2NUM(v) LONG2NUM(v)
  3351. | #define NUM2TIMET(v) NUM2LONG(v)
  3352. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  3353. | #define rb_dev_t dev_t
  3354. | #define DEVT2NUM(v) ULONG2NUM(v)
  3355. | #define NUM2DEVT(v) NUM2ULONG(v)
  3356. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  3357. | #define rb_mode_t mode_t
  3358. | #define MODET2NUM(v) UINT2NUM(v)
  3359. | #define NUM2MODET(v) NUM2UINT(v)
  3360. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  3361. | #define rb_rlim_t rlim_t
  3362. | #define RLIM2NUM(v) ULONG2NUM(v)
  3363. | #define NUM2RLIM(v) NUM2ULONG(v)
  3364. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  3365. | #define HAVE_PROTOTYPES 1
  3366. | #define TOKEN_PASTE(x,y) x##y
  3367. | #define STRINGIZE(expr) STRINGIZE0(expr)
  3368. | #define HAVE_STDARG_PROTOTYPES 1
  3369. | #define HAVE_VA_ARGS_MACRO 1
  3370. | #define NORETURN(x) __attribute__ ((noreturn)) x
  3371. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  3372. | #define NOINLINE(x) __attribute__ ((noinline)) x
  3373. | /* end confdefs.h. */
  3374. |
  3375. | #define FUNC_CDECL(x) x __attribute__ ((cdecl))
  3376. |
  3377. |
  3378. |
  3379. | FUNC_CDECL(void conftest_attribute_check(void));
  3380. | int
  3381. | main ()
  3382. | {
  3383. |
  3384. | ;
  3385. | return 0;
  3386. | }
  3387. configure:10083: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3388. conftest.c:75:23: warning: return type defaults to 'int' [-Wimplicit-int]
  3389. #define FUNC_CDECL(x) __declspec(cdecl) x
  3390. ^
  3391. conftest.c:79:5: note: in expansion of macro 'FUNC_CDECL'
  3392. FUNC_CDECL(void conftest_attribute_check(void));
  3393. ^
  3394. conftest.c: In function '__declspec':
  3395. conftest.c:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  3396. {
  3397. ^
  3398. conftest.c:75:23: warning: type of 'cdecl' defaults to 'int' [-Wimplicit-int]
  3399. #define FUNC_CDECL(x) __declspec(cdecl) x
  3400. ^
  3401. conftest.c:79:5: note: in expansion of macro 'FUNC_CDECL'
  3402. FUNC_CDECL(void conftest_attribute_check(void));
  3403. ^
  3404. conftest.c:79:21: error: declaration for parameter 'conftest_attribute_check' but no such parameter
  3405. FUNC_CDECL(void conftest_attribute_check(void));
  3406. ^
  3407. conftest.c:75:41: note: in definition of macro 'FUNC_CDECL'
  3408. #define FUNC_CDECL(x) __declspec(cdecl) x
  3409. ^
  3410. conftest.c:86:1: error: expected '{' at end of input
  3411. }
  3412. ^
  3413. conftest.c:86:1: warning: control reaches end of non-void function [-Wreturn-type]
  3414. }
  3415. ^
  3416. configure:10083: $? = 1
  3417. configure: failed program was:
  3418. | /* confdefs.h */
  3419. | #define PACKAGE_NAME ""
  3420. | #define PACKAGE_TARNAME ""
  3421. | #define PACKAGE_VERSION ""
  3422. | #define PACKAGE_STRING ""
  3423. | #define PACKAGE_BUGREPORT ""
  3424. | #define PACKAGE_URL ""
  3425. | #define CANONICALIZATION_FOR_MATHN 1
  3426. | #define STDC_HEADERS 1
  3427. | #define HAVE_SYS_TYPES_H 1
  3428. | #define HAVE_SYS_STAT_H 1
  3429. | #define HAVE_STDLIB_H 1
  3430. | #define HAVE_STRING_H 1
  3431. | #define HAVE_MEMORY_H 1
  3432. | #define HAVE_STRINGS_H 1
  3433. | #define HAVE_INTTYPES_H 1
  3434. | #define HAVE_STDINT_H 1
  3435. | #define HAVE_UNISTD_H 1
  3436. | #define __EXTENSIONS__ 1
  3437. | #define _ALL_SOURCE 1
  3438. | #define _GNU_SOURCE 1
  3439. | #define _POSIX_PTHREAD_SEMANTICS 1
  3440. | #define _TANDEM_SOURCE 1
  3441. | #define HAVE_LONG_LONG 1
  3442. | #define HAVE_OFF_T 1
  3443. | #define SIZEOF_INT 4
  3444. | #define SIZEOF_SHORT 2
  3445. | #define SIZEOF_LONG 8
  3446. | #define SIZEOF_LONG_LONG 8
  3447. | #define SIZEOF___INT64 0
  3448. | #define SIZEOF_OFF_T 8
  3449. | #define SIZEOF_VOIDP 8
  3450. | #define SIZEOF_FLOAT 4
  3451. | #define SIZEOF_DOUBLE 8
  3452. | #define SIZEOF_TIME_T 8
  3453. | #define PRI_LL_PREFIX "ll"
  3454. | #define rb_pid_t pid_t
  3455. | #define PIDT2NUM(v) INT2NUM(v)
  3456. | #define NUM2PIDT(v) NUM2INT(v)
  3457. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3458. | #define rb_uid_t uid_t
  3459. | #define UIDT2NUM(v) UINT2NUM(v)
  3460. | #define NUM2UIDT(v) NUM2UINT(v)
  3461. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3462. | #define rb_gid_t gid_t
  3463. | #define GIDT2NUM(v) UINT2NUM(v)
  3464. | #define NUM2GIDT(v) NUM2UINT(v)
  3465. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3466. | #define rb_time_t time_t
  3467. | #define TIMET2NUM(v) LONG2NUM(v)
  3468. | #define NUM2TIMET(v) NUM2LONG(v)
  3469. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  3470. | #define rb_dev_t dev_t
  3471. | #define DEVT2NUM(v) ULONG2NUM(v)
  3472. | #define NUM2DEVT(v) NUM2ULONG(v)
  3473. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  3474. | #define rb_mode_t mode_t
  3475. | #define MODET2NUM(v) UINT2NUM(v)
  3476. | #define NUM2MODET(v) NUM2UINT(v)
  3477. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  3478. | #define rb_rlim_t rlim_t
  3479. | #define RLIM2NUM(v) ULONG2NUM(v)
  3480. | #define NUM2RLIM(v) NUM2ULONG(v)
  3481. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  3482. | #define HAVE_PROTOTYPES 1
  3483. | #define TOKEN_PASTE(x,y) x##y
  3484. | #define STRINGIZE(expr) STRINGIZE0(expr)
  3485. | #define HAVE_STDARG_PROTOTYPES 1
  3486. | #define HAVE_VA_ARGS_MACRO 1
  3487. | #define NORETURN(x) __attribute__ ((noreturn)) x
  3488. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  3489. | #define NOINLINE(x) __attribute__ ((noinline)) x
  3490. | /* end confdefs.h. */
  3491. |
  3492. | #define FUNC_CDECL(x) __declspec(cdecl) x
  3493. |
  3494. |
  3495. |
  3496. | FUNC_CDECL(void conftest_attribute_check(void));
  3497. | int
  3498. | main ()
  3499. | {
  3500. |
  3501. | ;
  3502. | return 0;
  3503. | }
  3504. configure:10083: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3505. configure:10083: $? = 0
  3506. configure:10097: result: x
  3507. configure:10116: checking for fastcall function attribute
  3508. configure:10149: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3509. conftest.c:79:5: warning: 'fastcall' attribute ignored [-Wattributes]
  3510. FUNC_FASTCALL(void conftest_attribute_check(void));
  3511. ^
  3512. configure:10149: $? = 0
  3513. configure: failed program was:
  3514. | /* confdefs.h */
  3515. | #define PACKAGE_NAME ""
  3516. | #define PACKAGE_TARNAME ""
  3517. | #define PACKAGE_VERSION ""
  3518. | #define PACKAGE_STRING ""
  3519. | #define PACKAGE_BUGREPORT ""
  3520. | #define PACKAGE_URL ""
  3521. | #define CANONICALIZATION_FOR_MATHN 1
  3522. | #define STDC_HEADERS 1
  3523. | #define HAVE_SYS_TYPES_H 1
  3524. | #define HAVE_SYS_STAT_H 1
  3525. | #define HAVE_STDLIB_H 1
  3526. | #define HAVE_STRING_H 1
  3527. | #define HAVE_MEMORY_H 1
  3528. | #define HAVE_STRINGS_H 1
  3529. | #define HAVE_INTTYPES_H 1
  3530. | #define HAVE_STDINT_H 1
  3531. | #define HAVE_UNISTD_H 1
  3532. | #define __EXTENSIONS__ 1
  3533. | #define _ALL_SOURCE 1
  3534. | #define _GNU_SOURCE 1
  3535. | #define _POSIX_PTHREAD_SEMANTICS 1
  3536. | #define _TANDEM_SOURCE 1
  3537. | #define HAVE_LONG_LONG 1
  3538. | #define HAVE_OFF_T 1
  3539. | #define SIZEOF_INT 4
  3540. | #define SIZEOF_SHORT 2
  3541. | #define SIZEOF_LONG 8
  3542. | #define SIZEOF_LONG_LONG 8
  3543. | #define SIZEOF___INT64 0
  3544. | #define SIZEOF_OFF_T 8
  3545. | #define SIZEOF_VOIDP 8
  3546. | #define SIZEOF_FLOAT 4
  3547. | #define SIZEOF_DOUBLE 8
  3548. | #define SIZEOF_TIME_T 8
  3549. | #define PRI_LL_PREFIX "ll"
  3550. | #define rb_pid_t pid_t
  3551. | #define PIDT2NUM(v) INT2NUM(v)
  3552. | #define NUM2PIDT(v) NUM2INT(v)
  3553. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3554. | #define rb_uid_t uid_t
  3555. | #define UIDT2NUM(v) UINT2NUM(v)
  3556. | #define NUM2UIDT(v) NUM2UINT(v)
  3557. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3558. | #define rb_gid_t gid_t
  3559. | #define GIDT2NUM(v) UINT2NUM(v)
  3560. | #define NUM2GIDT(v) NUM2UINT(v)
  3561. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3562. | #define rb_time_t time_t
  3563. | #define TIMET2NUM(v) LONG2NUM(v)
  3564. | #define NUM2TIMET(v) NUM2LONG(v)
  3565. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  3566. | #define rb_dev_t dev_t
  3567. | #define DEVT2NUM(v) ULONG2NUM(v)
  3568. | #define NUM2DEVT(v) NUM2ULONG(v)
  3569. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  3570. | #define rb_mode_t mode_t
  3571. | #define MODET2NUM(v) UINT2NUM(v)
  3572. | #define NUM2MODET(v) NUM2UINT(v)
  3573. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  3574. | #define rb_rlim_t rlim_t
  3575. | #define RLIM2NUM(v) ULONG2NUM(v)
  3576. | #define NUM2RLIM(v) NUM2ULONG(v)
  3577. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  3578. | #define HAVE_PROTOTYPES 1
  3579. | #define TOKEN_PASTE(x,y) x##y
  3580. | #define STRINGIZE(expr) STRINGIZE0(expr)
  3581. | #define HAVE_STDARG_PROTOTYPES 1
  3582. | #define HAVE_VA_ARGS_MACRO 1
  3583. | #define NORETURN(x) __attribute__ ((noreturn)) x
  3584. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  3585. | #define NOINLINE(x) __attribute__ ((noinline)) x
  3586. | /* end confdefs.h. */
  3587. |
  3588. | #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
  3589. |
  3590. |
  3591. |
  3592. | FUNC_FASTCALL(void conftest_attribute_check(void));
  3593. | int
  3594. | main ()
  3595. | {
  3596. |
  3597. | ;
  3598. | return 0;
  3599. | }
  3600. configure:10149: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3601. conftest.c:79:5: warning: 'fastcall' attribute ignored [-Wattributes]
  3602. FUNC_FASTCALL(void conftest_attribute_check(void));
  3603. ^
  3604. configure:10149: $? = 0
  3605. configure: failed program was:
  3606. | /* confdefs.h */
  3607. | #define PACKAGE_NAME ""
  3608. | #define PACKAGE_TARNAME ""
  3609. | #define PACKAGE_VERSION ""
  3610. | #define PACKAGE_STRING ""
  3611. | #define PACKAGE_BUGREPORT ""
  3612. | #define PACKAGE_URL ""
  3613. | #define CANONICALIZATION_FOR_MATHN 1
  3614. | #define STDC_HEADERS 1
  3615. | #define HAVE_SYS_TYPES_H 1
  3616. | #define HAVE_SYS_STAT_H 1
  3617. | #define HAVE_STDLIB_H 1
  3618. | #define HAVE_STRING_H 1
  3619. | #define HAVE_MEMORY_H 1
  3620. | #define HAVE_STRINGS_H 1
  3621. | #define HAVE_INTTYPES_H 1
  3622. | #define HAVE_STDINT_H 1
  3623. | #define HAVE_UNISTD_H 1
  3624. | #define __EXTENSIONS__ 1
  3625. | #define _ALL_SOURCE 1
  3626. | #define _GNU_SOURCE 1
  3627. | #define _POSIX_PTHREAD_SEMANTICS 1
  3628. | #define _TANDEM_SOURCE 1
  3629. | #define HAVE_LONG_LONG 1
  3630. | #define HAVE_OFF_T 1
  3631. | #define SIZEOF_INT 4
  3632. | #define SIZEOF_SHORT 2
  3633. | #define SIZEOF_LONG 8
  3634. | #define SIZEOF_LONG_LONG 8
  3635. | #define SIZEOF___INT64 0
  3636. | #define SIZEOF_OFF_T 8
  3637. | #define SIZEOF_VOIDP 8
  3638. | #define SIZEOF_FLOAT 4
  3639. | #define SIZEOF_DOUBLE 8
  3640. | #define SIZEOF_TIME_T 8
  3641. | #define PRI_LL_PREFIX "ll"
  3642. | #define rb_pid_t pid_t
  3643. | #define PIDT2NUM(v) INT2NUM(v)
  3644. | #define NUM2PIDT(v) NUM2INT(v)
  3645. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3646. | #define rb_uid_t uid_t
  3647. | #define UIDT2NUM(v) UINT2NUM(v)
  3648. | #define NUM2UIDT(v) NUM2UINT(v)
  3649. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3650. | #define rb_gid_t gid_t
  3651. | #define GIDT2NUM(v) UINT2NUM(v)
  3652. | #define NUM2GIDT(v) NUM2UINT(v)
  3653. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3654. | #define rb_time_t time_t
  3655. | #define TIMET2NUM(v) LONG2NUM(v)
  3656. | #define NUM2TIMET(v) NUM2LONG(v)
  3657. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  3658. | #define rb_dev_t dev_t
  3659. | #define DEVT2NUM(v) ULONG2NUM(v)
  3660. | #define NUM2DEVT(v) NUM2ULONG(v)
  3661. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  3662. | #define rb_mode_t mode_t
  3663. | #define MODET2NUM(v) UINT2NUM(v)
  3664. | #define NUM2MODET(v) NUM2UINT(v)
  3665. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  3666. | #define rb_rlim_t rlim_t
  3667. | #define RLIM2NUM(v) ULONG2NUM(v)
  3668. | #define NUM2RLIM(v) NUM2ULONG(v)
  3669. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  3670. | #define HAVE_PROTOTYPES 1
  3671. | #define TOKEN_PASTE(x,y) x##y
  3672. | #define STRINGIZE(expr) STRINGIZE0(expr)
  3673. | #define HAVE_STDARG_PROTOTYPES 1
  3674. | #define HAVE_VA_ARGS_MACRO 1
  3675. | #define NORETURN(x) __attribute__ ((noreturn)) x
  3676. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  3677. | #define NOINLINE(x) __attribute__ ((noinline)) x
  3678. | /* end confdefs.h. */
  3679. |
  3680. | #define FUNC_FASTCALL(x) x __attribute__ ((fastcall))
  3681. |
  3682. |
  3683. |
  3684. | FUNC_FASTCALL(void conftest_attribute_check(void));
  3685. | int
  3686. | main ()
  3687. | {
  3688. |
  3689. | ;
  3690. | return 0;
  3691. | }
  3692. configure:10149: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3693. conftest.c:75:26: warning: return type defaults to 'int' [-Wimplicit-int]
  3694. #define FUNC_FASTCALL(x) __declspec(fastcall) x
  3695. ^
  3696. conftest.c:79:5: note: in expansion of macro 'FUNC_FASTCALL'
  3697. FUNC_FASTCALL(void conftest_attribute_check(void));
  3698. ^
  3699. conftest.c: In function '__declspec':
  3700. conftest.c:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  3701. {
  3702. ^
  3703. conftest.c:75:26: warning: type of 'fastcall' defaults to 'int' [-Wimplicit-int]
  3704. #define FUNC_FASTCALL(x) __declspec(fastcall) x
  3705. ^
  3706. conftest.c:79:5: note: in expansion of macro 'FUNC_FASTCALL'
  3707. FUNC_FASTCALL(void conftest_attribute_check(void));
  3708. ^
  3709. conftest.c:79:24: error: declaration for parameter 'conftest_attribute_check' but no such parameter
  3710. FUNC_FASTCALL(void conftest_attribute_check(void));
  3711. ^
  3712. conftest.c:75:47: note: in definition of macro 'FUNC_FASTCALL'
  3713. #define FUNC_FASTCALL(x) __declspec(fastcall) x
  3714. ^
  3715. conftest.c:86:1: error: expected '{' at end of input
  3716. }
  3717. ^
  3718. conftest.c:86:1: warning: control reaches end of non-void function [-Wreturn-type]
  3719. }
  3720. ^
  3721. configure:10149: $? = 1
  3722. configure: failed program was:
  3723. | /* confdefs.h */
  3724. | #define PACKAGE_NAME ""
  3725. | #define PACKAGE_TARNAME ""
  3726. | #define PACKAGE_VERSION ""
  3727. | #define PACKAGE_STRING ""
  3728. | #define PACKAGE_BUGREPORT ""
  3729. | #define PACKAGE_URL ""
  3730. | #define CANONICALIZATION_FOR_MATHN 1
  3731. | #define STDC_HEADERS 1
  3732. | #define HAVE_SYS_TYPES_H 1
  3733. | #define HAVE_SYS_STAT_H 1
  3734. | #define HAVE_STDLIB_H 1
  3735. | #define HAVE_STRING_H 1
  3736. | #define HAVE_MEMORY_H 1
  3737. | #define HAVE_STRINGS_H 1
  3738. | #define HAVE_INTTYPES_H 1
  3739. | #define HAVE_STDINT_H 1
  3740. | #define HAVE_UNISTD_H 1
  3741. | #define __EXTENSIONS__ 1
  3742. | #define _ALL_SOURCE 1
  3743. | #define _GNU_SOURCE 1
  3744. | #define _POSIX_PTHREAD_SEMANTICS 1
  3745. | #define _TANDEM_SOURCE 1
  3746. | #define HAVE_LONG_LONG 1
  3747. | #define HAVE_OFF_T 1
  3748. | #define SIZEOF_INT 4
  3749. | #define SIZEOF_SHORT 2
  3750. | #define SIZEOF_LONG 8
  3751. | #define SIZEOF_LONG_LONG 8
  3752. | #define SIZEOF___INT64 0
  3753. | #define SIZEOF_OFF_T 8
  3754. | #define SIZEOF_VOIDP 8
  3755. | #define SIZEOF_FLOAT 4
  3756. | #define SIZEOF_DOUBLE 8
  3757. | #define SIZEOF_TIME_T 8
  3758. | #define PRI_LL_PREFIX "ll"
  3759. | #define rb_pid_t pid_t
  3760. | #define PIDT2NUM(v) INT2NUM(v)
  3761. | #define NUM2PIDT(v) NUM2INT(v)
  3762. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3763. | #define rb_uid_t uid_t
  3764. | #define UIDT2NUM(v) UINT2NUM(v)
  3765. | #define NUM2UIDT(v) NUM2UINT(v)
  3766. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3767. | #define rb_gid_t gid_t
  3768. | #define GIDT2NUM(v) UINT2NUM(v)
  3769. | #define NUM2GIDT(v) NUM2UINT(v)
  3770. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3771. | #define rb_time_t time_t
  3772. | #define TIMET2NUM(v) LONG2NUM(v)
  3773. | #define NUM2TIMET(v) NUM2LONG(v)
  3774. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  3775. | #define rb_dev_t dev_t
  3776. | #define DEVT2NUM(v) ULONG2NUM(v)
  3777. | #define NUM2DEVT(v) NUM2ULONG(v)
  3778. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  3779. | #define rb_mode_t mode_t
  3780. | #define MODET2NUM(v) UINT2NUM(v)
  3781. | #define NUM2MODET(v) NUM2UINT(v)
  3782. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  3783. | #define rb_rlim_t rlim_t
  3784. | #define RLIM2NUM(v) ULONG2NUM(v)
  3785. | #define NUM2RLIM(v) NUM2ULONG(v)
  3786. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  3787. | #define HAVE_PROTOTYPES 1
  3788. | #define TOKEN_PASTE(x,y) x##y
  3789. | #define STRINGIZE(expr) STRINGIZE0(expr)
  3790. | #define HAVE_STDARG_PROTOTYPES 1
  3791. | #define HAVE_VA_ARGS_MACRO 1
  3792. | #define NORETURN(x) __attribute__ ((noreturn)) x
  3793. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  3794. | #define NOINLINE(x) __attribute__ ((noinline)) x
  3795. | /* end confdefs.h. */
  3796. |
  3797. | #define FUNC_FASTCALL(x) __declspec(fastcall) x
  3798. |
  3799. |
  3800. |
  3801. | FUNC_FASTCALL(void conftest_attribute_check(void));
  3802. | int
  3803. | main ()
  3804. | {
  3805. |
  3806. | ;
  3807. | return 0;
  3808. | }
  3809. configure:10149: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3810. configure:10149: $? = 0
  3811. configure:10163: result: x
  3812. configure:10183: checking for function alias
  3813. configure:10202: gcc -o conftest -O3 -ggdb conftest.c >&5
  3814. configure:10202: $? = 0
  3815. configure:10209: result: alias
  3816. configure:10222: checking for __atomic builtins
  3817. configure:10244: gcc -o conftest -O3 -ggdb conftest.c >&5
  3818. configure:10244: $? = 0
  3819. configure:10252: result: yes
  3820. configure:10259: checking for __sync builtins
  3821. configure:10281: gcc -o conftest -O3 -ggdb conftest.c >&5
  3822. configure:10281: $? = 0
  3823. configure:10289: result: yes
  3824. configure:10298: checking for exported function attribute
  3825. configure:10327: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  3826. configure:10327: $? = 0
  3827. configure:10341: result: __attribute__ ((visibility("default")))
  3828. configure:10361: checking whether sys_nerr is declared
  3829. configure:10361: gcc -c -O3 -ggdb conftest.c >&5
  3830. configure:10361: $? = 0
  3831. configure:10361: result: yes
  3832. configure:10906: checking for crypt in -lcrypt
  3833. configure:10931: gcc -o conftest -O3 -ggdb conftest.c -lcrypt -lm >&5
  3834. configure:10931: $? = 0
  3835. configure:10940: result: yes
  3836. configure:10951: checking for dlopen in -ldl
  3837. configure:10976: gcc -o conftest -O3 -ggdb conftest.c -ldl -lcrypt -lm >&5
  3838. configure:10976: $? = 0
  3839. configure:10985: result: yes
  3840. configure:10996: checking for shl_load in -ldld
  3841. configure:11021: gcc -o conftest -O3 -ggdb conftest.c -ldld -ldl -lcrypt -lm >&5
  3842. /usr/bin/ld: cannot find -ldld
  3843. collect2: error: ld returned 1 exit status
  3844. configure:11021: $? = 1
  3845. configure: failed program was:
  3846. | /* confdefs.h */
  3847. | #define PACKAGE_NAME ""
  3848. | #define PACKAGE_TARNAME ""
  3849. | #define PACKAGE_VERSION ""
  3850. | #define PACKAGE_STRING ""
  3851. | #define PACKAGE_BUGREPORT ""
  3852. | #define PACKAGE_URL ""
  3853. | #define CANONICALIZATION_FOR_MATHN 1
  3854. | #define STDC_HEADERS 1
  3855. | #define HAVE_SYS_TYPES_H 1
  3856. | #define HAVE_SYS_STAT_H 1
  3857. | #define HAVE_STDLIB_H 1
  3858. | #define HAVE_STRING_H 1
  3859. | #define HAVE_MEMORY_H 1
  3860. | #define HAVE_STRINGS_H 1
  3861. | #define HAVE_INTTYPES_H 1
  3862. | #define HAVE_STDINT_H 1
  3863. | #define HAVE_UNISTD_H 1
  3864. | #define __EXTENSIONS__ 1
  3865. | #define _ALL_SOURCE 1
  3866. | #define _GNU_SOURCE 1
  3867. | #define _POSIX_PTHREAD_SEMANTICS 1
  3868. | #define _TANDEM_SOURCE 1
  3869. | #define HAVE_LONG_LONG 1
  3870. | #define HAVE_OFF_T 1
  3871. | #define SIZEOF_INT 4
  3872. | #define SIZEOF_SHORT 2
  3873. | #define SIZEOF_LONG 8
  3874. | #define SIZEOF_LONG_LONG 8
  3875. | #define SIZEOF___INT64 0
  3876. | #define SIZEOF_OFF_T 8
  3877. | #define SIZEOF_VOIDP 8
  3878. | #define SIZEOF_FLOAT 4
  3879. | #define SIZEOF_DOUBLE 8
  3880. | #define SIZEOF_TIME_T 8
  3881. | #define PRI_LL_PREFIX "ll"
  3882. | #define rb_pid_t pid_t
  3883. | #define PIDT2NUM(v) INT2NUM(v)
  3884. | #define NUM2PIDT(v) NUM2INT(v)
  3885. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3886. | #define rb_uid_t uid_t
  3887. | #define UIDT2NUM(v) UINT2NUM(v)
  3888. | #define NUM2UIDT(v) NUM2UINT(v)
  3889. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3890. | #define rb_gid_t gid_t
  3891. | #define GIDT2NUM(v) UINT2NUM(v)
  3892. | #define NUM2GIDT(v) NUM2UINT(v)
  3893. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3894. | #define rb_time_t time_t
  3895. | #define TIMET2NUM(v) LONG2NUM(v)
  3896. | #define NUM2TIMET(v) NUM2LONG(v)
  3897. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  3898. | #define rb_dev_t dev_t
  3899. | #define DEVT2NUM(v) ULONG2NUM(v)
  3900. | #define NUM2DEVT(v) NUM2ULONG(v)
  3901. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  3902. | #define rb_mode_t mode_t
  3903. | #define MODET2NUM(v) UINT2NUM(v)
  3904. | #define NUM2MODET(v) NUM2UINT(v)
  3905. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  3906. | #define rb_rlim_t rlim_t
  3907. | #define RLIM2NUM(v) ULONG2NUM(v)
  3908. | #define NUM2RLIM(v) NUM2ULONG(v)
  3909. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  3910. | #define HAVE_PROTOTYPES 1
  3911. | #define TOKEN_PASTE(x,y) x##y
  3912. | #define STRINGIZE(expr) STRINGIZE0(expr)
  3913. | #define HAVE_STDARG_PROTOTYPES 1
  3914. | #define HAVE_VA_ARGS_MACRO 1
  3915. | #define NORETURN(x) __attribute__ ((noreturn)) x
  3916. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  3917. | #define NOINLINE(x) __attribute__ ((noinline)) x
  3918. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  3919. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  3920. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  3921. | #define HAVE_GCC_SYNC_BUILTINS 1
  3922. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  3923. | #define HAVE_DECL_SYS_NERR 1
  3924. | #define HAVE_LIBCRYPT 1
  3925. | #define HAVE_LIBDL 1
  3926. | /* end confdefs.h. */
  3927. |
  3928. | /* Override any GCC internal prototype to avoid an error.
  3929. | Use char because int might match the return type of a GCC
  3930. | builtin and then its argument prototype would still apply. */
  3931. | #ifdef __cplusplus
  3932. | extern "C"
  3933. | #endif
  3934. | char shl_load ();
  3935. | int
  3936. | main ()
  3937. | {
  3938. | return shl_load ();
  3939. | ;
  3940. | return 0;
  3941. | }
  3942. configure:11030: result: no
  3943. configure:11041: checking for socketpair in -lsocket
  3944. configure:11066: gcc -o conftest -O3 -ggdb conftest.c -lsocket -ldl -lcrypt -lm >&5
  3945. /usr/bin/ld: cannot find -lsocket
  3946. collect2: error: ld returned 1 exit status
  3947. configure:11066: $? = 1
  3948. configure: failed program was:
  3949. | /* confdefs.h */
  3950. | #define PACKAGE_NAME ""
  3951. | #define PACKAGE_TARNAME ""
  3952. | #define PACKAGE_VERSION ""
  3953. | #define PACKAGE_STRING ""
  3954. | #define PACKAGE_BUGREPORT ""
  3955. | #define PACKAGE_URL ""
  3956. | #define CANONICALIZATION_FOR_MATHN 1
  3957. | #define STDC_HEADERS 1
  3958. | #define HAVE_SYS_TYPES_H 1
  3959. | #define HAVE_SYS_STAT_H 1
  3960. | #define HAVE_STDLIB_H 1
  3961. | #define HAVE_STRING_H 1
  3962. | #define HAVE_MEMORY_H 1
  3963. | #define HAVE_STRINGS_H 1
  3964. | #define HAVE_INTTYPES_H 1
  3965. | #define HAVE_STDINT_H 1
  3966. | #define HAVE_UNISTD_H 1
  3967. | #define __EXTENSIONS__ 1
  3968. | #define _ALL_SOURCE 1
  3969. | #define _GNU_SOURCE 1
  3970. | #define _POSIX_PTHREAD_SEMANTICS 1
  3971. | #define _TANDEM_SOURCE 1
  3972. | #define HAVE_LONG_LONG 1
  3973. | #define HAVE_OFF_T 1
  3974. | #define SIZEOF_INT 4
  3975. | #define SIZEOF_SHORT 2
  3976. | #define SIZEOF_LONG 8
  3977. | #define SIZEOF_LONG_LONG 8
  3978. | #define SIZEOF___INT64 0
  3979. | #define SIZEOF_OFF_T 8
  3980. | #define SIZEOF_VOIDP 8
  3981. | #define SIZEOF_FLOAT 4
  3982. | #define SIZEOF_DOUBLE 8
  3983. | #define SIZEOF_TIME_T 8
  3984. | #define PRI_LL_PREFIX "ll"
  3985. | #define rb_pid_t pid_t
  3986. | #define PIDT2NUM(v) INT2NUM(v)
  3987. | #define NUM2PIDT(v) NUM2INT(v)
  3988. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  3989. | #define rb_uid_t uid_t
  3990. | #define UIDT2NUM(v) UINT2NUM(v)
  3991. | #define NUM2UIDT(v) NUM2UINT(v)
  3992. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  3993. | #define rb_gid_t gid_t
  3994. | #define GIDT2NUM(v) UINT2NUM(v)
  3995. | #define NUM2GIDT(v) NUM2UINT(v)
  3996. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  3997. | #define rb_time_t time_t
  3998. | #define TIMET2NUM(v) LONG2NUM(v)
  3999. | #define NUM2TIMET(v) NUM2LONG(v)
  4000. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  4001. | #define rb_dev_t dev_t
  4002. | #define DEVT2NUM(v) ULONG2NUM(v)
  4003. | #define NUM2DEVT(v) NUM2ULONG(v)
  4004. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  4005. | #define rb_mode_t mode_t
  4006. | #define MODET2NUM(v) UINT2NUM(v)
  4007. | #define NUM2MODET(v) NUM2UINT(v)
  4008. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  4009. | #define rb_rlim_t rlim_t
  4010. | #define RLIM2NUM(v) ULONG2NUM(v)
  4011. | #define NUM2RLIM(v) NUM2ULONG(v)
  4012. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  4013. | #define HAVE_PROTOTYPES 1
  4014. | #define TOKEN_PASTE(x,y) x##y
  4015. | #define STRINGIZE(expr) STRINGIZE0(expr)
  4016. | #define HAVE_STDARG_PROTOTYPES 1
  4017. | #define HAVE_VA_ARGS_MACRO 1
  4018. | #define NORETURN(x) __attribute__ ((noreturn)) x
  4019. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  4020. | #define NOINLINE(x) __attribute__ ((noinline)) x
  4021. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  4022. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  4023. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  4024. | #define HAVE_GCC_SYNC_BUILTINS 1
  4025. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  4026. | #define HAVE_DECL_SYS_NERR 1
  4027. | #define HAVE_LIBCRYPT 1
  4028. | #define HAVE_LIBDL 1
  4029. | /* end confdefs.h. */
  4030. |
  4031. | /* Override any GCC internal prototype to avoid an error.
  4032. | Use char because int might match the return type of a GCC
  4033. | builtin and then its argument prototype would still apply. */
  4034. | #ifdef __cplusplus
  4035. | extern "C"
  4036. | #endif
  4037. | char socketpair ();
  4038. | int
  4039. | main ()
  4040. | {
  4041. | return socketpair ();
  4042. | ;
  4043. | return 0;
  4044. | }
  4045. configure:11075: result: no
  4046. configure:11086: checking for clock_gettime in -lrt
  4047. configure:11111: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  4048. configure:11111: $? = 0
  4049. configure:11120: result: yes
  4050. configure:11209: checking for dirent.h that defines DIR
  4051. configure:11228: gcc -c -O3 -ggdb conftest.c >&5
  4052. configure:11228: $? = 0
  4053. configure:11236: result: yes
  4054. configure:11249: checking for library containing opendir
  4055. configure:11280: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  4056. configure:11280: $? = 0
  4057. configure:11297: result: none required
  4058. configure:11364: checking for stdbool.h that conforms to C99
  4059. configure:11431: gcc -c -O3 -ggdb conftest.c >&5
  4060. configure:11431: $? = 0
  4061. configure:11438: result: yes
  4062. configure:11440: checking for _Bool
  4063. configure:11440: gcc -c -O3 -ggdb conftest.c >&5
  4064. configure:11440: $? = 0
  4065. configure:11440: gcc -c -O3 -ggdb conftest.c >&5
  4066. conftest.c: In function 'main':
  4067. conftest.c:120:20: error: expected expression before ')' token
  4068. if (sizeof ((_Bool)))
  4069. ^
  4070. configure:11440: $? = 1
  4071. configure: failed program was:
  4072. | /* confdefs.h */
  4073. | #define PACKAGE_NAME ""
  4074. | #define PACKAGE_TARNAME ""
  4075. | #define PACKAGE_VERSION ""
  4076. | #define PACKAGE_STRING ""
  4077. | #define PACKAGE_BUGREPORT ""
  4078. | #define PACKAGE_URL ""
  4079. | #define CANONICALIZATION_FOR_MATHN 1
  4080. | #define STDC_HEADERS 1
  4081. | #define HAVE_SYS_TYPES_H 1
  4082. | #define HAVE_SYS_STAT_H 1
  4083. | #define HAVE_STDLIB_H 1
  4084. | #define HAVE_STRING_H 1
  4085. | #define HAVE_MEMORY_H 1
  4086. | #define HAVE_STRINGS_H 1
  4087. | #define HAVE_INTTYPES_H 1
  4088. | #define HAVE_STDINT_H 1
  4089. | #define HAVE_UNISTD_H 1
  4090. | #define __EXTENSIONS__ 1
  4091. | #define _ALL_SOURCE 1
  4092. | #define _GNU_SOURCE 1
  4093. | #define _POSIX_PTHREAD_SEMANTICS 1
  4094. | #define _TANDEM_SOURCE 1
  4095. | #define HAVE_LONG_LONG 1
  4096. | #define HAVE_OFF_T 1
  4097. | #define SIZEOF_INT 4
  4098. | #define SIZEOF_SHORT 2
  4099. | #define SIZEOF_LONG 8
  4100. | #define SIZEOF_LONG_LONG 8
  4101. | #define SIZEOF___INT64 0
  4102. | #define SIZEOF_OFF_T 8
  4103. | #define SIZEOF_VOIDP 8
  4104. | #define SIZEOF_FLOAT 4
  4105. | #define SIZEOF_DOUBLE 8
  4106. | #define SIZEOF_TIME_T 8
  4107. | #define PRI_LL_PREFIX "ll"
  4108. | #define rb_pid_t pid_t
  4109. | #define PIDT2NUM(v) INT2NUM(v)
  4110. | #define NUM2PIDT(v) NUM2INT(v)
  4111. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4112. | #define rb_uid_t uid_t
  4113. | #define UIDT2NUM(v) UINT2NUM(v)
  4114. | #define NUM2UIDT(v) NUM2UINT(v)
  4115. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  4116. | #define rb_gid_t gid_t
  4117. | #define GIDT2NUM(v) UINT2NUM(v)
  4118. | #define NUM2GIDT(v) NUM2UINT(v)
  4119. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  4120. | #define rb_time_t time_t
  4121. | #define TIMET2NUM(v) LONG2NUM(v)
  4122. | #define NUM2TIMET(v) NUM2LONG(v)
  4123. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  4124. | #define rb_dev_t dev_t
  4125. | #define DEVT2NUM(v) ULONG2NUM(v)
  4126. | #define NUM2DEVT(v) NUM2ULONG(v)
  4127. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  4128. | #define rb_mode_t mode_t
  4129. | #define MODET2NUM(v) UINT2NUM(v)
  4130. | #define NUM2MODET(v) NUM2UINT(v)
  4131. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  4132. | #define rb_rlim_t rlim_t
  4133. | #define RLIM2NUM(v) ULONG2NUM(v)
  4134. | #define NUM2RLIM(v) NUM2ULONG(v)
  4135. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  4136. | #define HAVE_PROTOTYPES 1
  4137. | #define TOKEN_PASTE(x,y) x##y
  4138. | #define STRINGIZE(expr) STRINGIZE0(expr)
  4139. | #define HAVE_STDARG_PROTOTYPES 1
  4140. | #define HAVE_VA_ARGS_MACRO 1
  4141. | #define NORETURN(x) __attribute__ ((noreturn)) x
  4142. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  4143. | #define NOINLINE(x) __attribute__ ((noinline)) x
  4144. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  4145. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  4146. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  4147. | #define HAVE_GCC_SYNC_BUILTINS 1
  4148. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  4149. | #define HAVE_DECL_SYS_NERR 1
  4150. | #define HAVE_LIBCRYPT 1
  4151. | #define HAVE_LIBDL 1
  4152. | #define HAVE_LIBRT 1
  4153. | #define HAVE_DIRENT_H 1
  4154. | /* end confdefs.h. */
  4155. | #include <stdio.h>
  4156. | #ifdef HAVE_SYS_TYPES_H
  4157. | # include <sys/types.h>
  4158. | #endif
  4159. | #ifdef HAVE_SYS_STAT_H
  4160. | # include <sys/stat.h>
  4161. | #endif
  4162. | #ifdef STDC_HEADERS
  4163. | # include <stdlib.h>
  4164. | # include <stddef.h>
  4165. | #else
  4166. | # ifdef HAVE_STDLIB_H
  4167. | # include <stdlib.h>
  4168. | # endif
  4169. | #endif
  4170. | #ifdef HAVE_STRING_H
  4171. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4172. | # include <memory.h>
  4173. | # endif
  4174. | # include <string.h>
  4175. | #endif
  4176. | #ifdef HAVE_STRINGS_H
  4177. | # include <strings.h>
  4178. | #endif
  4179. | #ifdef HAVE_INTTYPES_H
  4180. | # include <inttypes.h>
  4181. | #endif
  4182. | #ifdef HAVE_STDINT_H
  4183. | # include <stdint.h>
  4184. | #endif
  4185. | #ifdef HAVE_UNISTD_H
  4186. | # include <unistd.h>
  4187. | #endif
  4188. | int
  4189. | main ()
  4190. | {
  4191. | if (sizeof ((_Bool)))
  4192. | return 0;
  4193. | ;
  4194. | return 0;
  4195. | }
  4196. configure:11440: result: yes
  4197. configure:11457: checking for sys/wait.h that is POSIX.1 compatible
  4198. configure:11483: gcc -c -O3 -ggdb conftest.c >&5
  4199. configure:11483: $? = 0
  4200. configure:11490: result: yes
  4201. configure:11506: checking limits.h usability
  4202. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4203. configure:11506: $? = 0
  4204. configure:11506: result: yes
  4205. configure:11506: checking limits.h presence
  4206. configure:11506: gcc -E conftest.c
  4207. configure:11506: $? = 0
  4208. configure:11506: result: yes
  4209. configure:11506: checking for limits.h
  4210. configure:11506: result: yes
  4211. configure:11506: checking sys/file.h usability
  4212. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4213. configure:11506: $? = 0
  4214. configure:11506: result: yes
  4215. configure:11506: checking sys/file.h presence
  4216. configure:11506: gcc -E conftest.c
  4217. configure:11506: $? = 0
  4218. configure:11506: result: yes
  4219. configure:11506: checking for sys/file.h
  4220. configure:11506: result: yes
  4221. configure:11506: checking sys/ioctl.h usability
  4222. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4223. configure:11506: $? = 0
  4224. configure:11506: result: yes
  4225. configure:11506: checking sys/ioctl.h presence
  4226. configure:11506: gcc -E conftest.c
  4227. configure:11506: $? = 0
  4228. configure:11506: result: yes
  4229. configure:11506: checking for sys/ioctl.h
  4230. configure:11506: result: yes
  4231. configure:11506: checking sys/syscall.h usability
  4232. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4233. configure:11506: $? = 0
  4234. configure:11506: result: yes
  4235. configure:11506: checking sys/syscall.h presence
  4236. configure:11506: gcc -E conftest.c
  4237. configure:11506: $? = 0
  4238. configure:11506: result: yes
  4239. configure:11506: checking for sys/syscall.h
  4240. configure:11506: result: yes
  4241. configure:11506: checking fcntl.h usability
  4242. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4243. configure:11506: $? = 0
  4244. configure:11506: result: yes
  4245. configure:11506: checking fcntl.h presence
  4246. configure:11506: gcc -E conftest.c
  4247. configure:11506: $? = 0
  4248. configure:11506: result: yes
  4249. configure:11506: checking for fcntl.h
  4250. configure:11506: result: yes
  4251. configure:11506: checking sys/fcntl.h usability
  4252. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4253. configure:11506: $? = 0
  4254. configure:11506: result: yes
  4255. configure:11506: checking sys/fcntl.h presence
  4256. configure:11506: gcc -E conftest.c
  4257. configure:11506: $? = 0
  4258. configure:11506: result: yes
  4259. configure:11506: checking for sys/fcntl.h
  4260. configure:11506: result: yes
  4261. configure:11506: checking sys/select.h usability
  4262. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4263. configure:11506: $? = 0
  4264. configure:11506: result: yes
  4265. configure:11506: checking sys/select.h presence
  4266. configure:11506: gcc -E conftest.c
  4267. configure:11506: $? = 0
  4268. configure:11506: result: yes
  4269. configure:11506: checking for sys/select.h
  4270. configure:11506: result: yes
  4271. configure:11506: checking sys/time.h usability
  4272. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4273. configure:11506: $? = 0
  4274. configure:11506: result: yes
  4275. configure:11506: checking sys/time.h presence
  4276. configure:11506: gcc -E conftest.c
  4277. configure:11506: $? = 0
  4278. configure:11506: result: yes
  4279. configure:11506: checking for sys/time.h
  4280. configure:11506: result: yes
  4281. configure:11506: checking sys/times.h usability
  4282. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4283. configure:11506: $? = 0
  4284. configure:11506: result: yes
  4285. configure:11506: checking sys/times.h presence
  4286. configure:11506: gcc -E conftest.c
  4287. configure:11506: $? = 0
  4288. configure:11506: result: yes
  4289. configure:11506: checking for sys/times.h
  4290. configure:11506: result: yes
  4291. configure:11506: checking sys/param.h usability
  4292. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4293. configure:11506: $? = 0
  4294. configure:11506: result: yes
  4295. configure:11506: checking sys/param.h presence
  4296. configure:11506: gcc -E conftest.c
  4297. configure:11506: $? = 0
  4298. configure:11506: result: yes
  4299. configure:11506: checking for sys/param.h
  4300. configure:11506: result: yes
  4301. configure:11506: checking syscall.h usability
  4302. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4303. configure:11506: $? = 0
  4304. configure:11506: result: yes
  4305. configure:11506: checking syscall.h presence
  4306. configure:11506: gcc -E conftest.c
  4307. configure:11506: $? = 0
  4308. configure:11506: result: yes
  4309. configure:11506: checking for syscall.h
  4310. configure:11506: result: yes
  4311. configure:11506: checking pwd.h usability
  4312. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4313. configure:11506: $? = 0
  4314. configure:11506: result: yes
  4315. configure:11506: checking pwd.h presence
  4316. configure:11506: gcc -E conftest.c
  4317. configure:11506: $? = 0
  4318. configure:11506: result: yes
  4319. configure:11506: checking for pwd.h
  4320. configure:11506: result: yes
  4321. configure:11506: checking grp.h usability
  4322. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4323. configure:11506: $? = 0
  4324. configure:11506: result: yes
  4325. configure:11506: checking grp.h presence
  4326. configure:11506: gcc -E conftest.c
  4327. configure:11506: $? = 0
  4328. configure:11506: result: yes
  4329. configure:11506: checking for grp.h
  4330. configure:11506: result: yes
  4331. configure:11506: checking a.out.h usability
  4332. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4333. configure:11506: $? = 0
  4334. configure:11506: result: yes
  4335. configure:11506: checking a.out.h presence
  4336. configure:11506: gcc -E conftest.c
  4337. configure:11506: $? = 0
  4338. configure:11506: result: yes
  4339. configure:11506: checking for a.out.h
  4340. configure:11506: result: yes
  4341. configure:11506: checking utime.h usability
  4342. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4343. configure:11506: $? = 0
  4344. configure:11506: result: yes
  4345. configure:11506: checking utime.h presence
  4346. configure:11506: gcc -E conftest.c
  4347. configure:11506: $? = 0
  4348. configure:11506: result: yes
  4349. configure:11506: checking for utime.h
  4350. configure:11506: result: yes
  4351. configure:11506: checking direct.h usability
  4352. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4353. conftest.c:135:20: fatal error: direct.h: No such file or directory
  4354. compilation terminated.
  4355. configure:11506: $? = 1
  4356. configure: failed program was:
  4357. | /* confdefs.h */
  4358. | #define PACKAGE_NAME ""
  4359. | #define PACKAGE_TARNAME ""
  4360. | #define PACKAGE_VERSION ""
  4361. | #define PACKAGE_STRING ""
  4362. | #define PACKAGE_BUGREPORT ""
  4363. | #define PACKAGE_URL ""
  4364. | #define CANONICALIZATION_FOR_MATHN 1
  4365. | #define STDC_HEADERS 1
  4366. | #define HAVE_SYS_TYPES_H 1
  4367. | #define HAVE_SYS_STAT_H 1
  4368. | #define HAVE_STDLIB_H 1
  4369. | #define HAVE_STRING_H 1
  4370. | #define HAVE_MEMORY_H 1
  4371. | #define HAVE_STRINGS_H 1
  4372. | #define HAVE_INTTYPES_H 1
  4373. | #define HAVE_STDINT_H 1
  4374. | #define HAVE_UNISTD_H 1
  4375. | #define __EXTENSIONS__ 1
  4376. | #define _ALL_SOURCE 1
  4377. | #define _GNU_SOURCE 1
  4378. | #define _POSIX_PTHREAD_SEMANTICS 1
  4379. | #define _TANDEM_SOURCE 1
  4380. | #define HAVE_LONG_LONG 1
  4381. | #define HAVE_OFF_T 1
  4382. | #define SIZEOF_INT 4
  4383. | #define SIZEOF_SHORT 2
  4384. | #define SIZEOF_LONG 8
  4385. | #define SIZEOF_LONG_LONG 8
  4386. | #define SIZEOF___INT64 0
  4387. | #define SIZEOF_OFF_T 8
  4388. | #define SIZEOF_VOIDP 8
  4389. | #define SIZEOF_FLOAT 4
  4390. | #define SIZEOF_DOUBLE 8
  4391. | #define SIZEOF_TIME_T 8
  4392. | #define PRI_LL_PREFIX "ll"
  4393. | #define rb_pid_t pid_t
  4394. | #define PIDT2NUM(v) INT2NUM(v)
  4395. | #define NUM2PIDT(v) NUM2INT(v)
  4396. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4397. | #define rb_uid_t uid_t
  4398. | #define UIDT2NUM(v) UINT2NUM(v)
  4399. | #define NUM2UIDT(v) NUM2UINT(v)
  4400. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  4401. | #define rb_gid_t gid_t
  4402. | #define GIDT2NUM(v) UINT2NUM(v)
  4403. | #define NUM2GIDT(v) NUM2UINT(v)
  4404. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  4405. | #define rb_time_t time_t
  4406. | #define TIMET2NUM(v) LONG2NUM(v)
  4407. | #define NUM2TIMET(v) NUM2LONG(v)
  4408. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  4409. | #define rb_dev_t dev_t
  4410. | #define DEVT2NUM(v) ULONG2NUM(v)
  4411. | #define NUM2DEVT(v) NUM2ULONG(v)
  4412. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  4413. | #define rb_mode_t mode_t
  4414. | #define MODET2NUM(v) UINT2NUM(v)
  4415. | #define NUM2MODET(v) NUM2UINT(v)
  4416. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  4417. | #define rb_rlim_t rlim_t
  4418. | #define RLIM2NUM(v) ULONG2NUM(v)
  4419. | #define NUM2RLIM(v) NUM2ULONG(v)
  4420. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  4421. | #define HAVE_PROTOTYPES 1
  4422. | #define TOKEN_PASTE(x,y) x##y
  4423. | #define STRINGIZE(expr) STRINGIZE0(expr)
  4424. | #define HAVE_STDARG_PROTOTYPES 1
  4425. | #define HAVE_VA_ARGS_MACRO 1
  4426. | #define NORETURN(x) __attribute__ ((noreturn)) x
  4427. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  4428. | #define NOINLINE(x) __attribute__ ((noinline)) x
  4429. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  4430. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  4431. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  4432. | #define HAVE_GCC_SYNC_BUILTINS 1
  4433. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  4434. | #define HAVE_DECL_SYS_NERR 1
  4435. | #define HAVE_LIBCRYPT 1
  4436. | #define HAVE_LIBDL 1
  4437. | #define HAVE_LIBRT 1
  4438. | #define HAVE_DIRENT_H 1
  4439. | #define HAVE__BOOL 1
  4440. | #define HAVE_STDBOOL_H 1
  4441. | #define HAVE_SYS_WAIT_H 1
  4442. | #define HAVE_LIMITS_H 1
  4443. | #define HAVE_SYS_FILE_H 1
  4444. | #define HAVE_SYS_IOCTL_H 1
  4445. | #define HAVE_SYS_SYSCALL_H 1
  4446. | #define HAVE_FCNTL_H 1
  4447. | #define HAVE_SYS_FCNTL_H 1
  4448. | #define HAVE_SYS_SELECT_H 1
  4449. | #define HAVE_SYS_TIME_H 1
  4450. | #define HAVE_SYS_TIMES_H 1
  4451. | #define HAVE_SYS_PARAM_H 1
  4452. | #define HAVE_SYSCALL_H 1
  4453. | #define HAVE_PWD_H 1
  4454. | #define HAVE_GRP_H 1
  4455. | #define HAVE_A_OUT_H 1
  4456. | #define HAVE_UTIME_H 1
  4457. | /* end confdefs.h. */
  4458. | #include <stdio.h>
  4459. | #ifdef HAVE_SYS_TYPES_H
  4460. | # include <sys/types.h>
  4461. | #endif
  4462. | #ifdef HAVE_SYS_STAT_H
  4463. | # include <sys/stat.h>
  4464. | #endif
  4465. | #ifdef STDC_HEADERS
  4466. | # include <stdlib.h>
  4467. | # include <stddef.h>
  4468. | #else
  4469. | # ifdef HAVE_STDLIB_H
  4470. | # include <stdlib.h>
  4471. | # endif
  4472. | #endif
  4473. | #ifdef HAVE_STRING_H
  4474. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4475. | # include <memory.h>
  4476. | # endif
  4477. | # include <string.h>
  4478. | #endif
  4479. | #ifdef HAVE_STRINGS_H
  4480. | # include <strings.h>
  4481. | #endif
  4482. | #ifdef HAVE_INTTYPES_H
  4483. | # include <inttypes.h>
  4484. | #endif
  4485. | #ifdef HAVE_STDINT_H
  4486. | # include <stdint.h>
  4487. | #endif
  4488. | #ifdef HAVE_UNISTD_H
  4489. | # include <unistd.h>
  4490. | #endif
  4491. | #include <direct.h>
  4492. configure:11506: result: no
  4493. configure:11506: checking direct.h presence
  4494. configure:11506: gcc -E conftest.c
  4495. conftest.c:102:20: fatal error: direct.h: No such file or directory
  4496. compilation terminated.
  4497. configure:11506: $? = 1
  4498. configure: failed program was:
  4499. | /* confdefs.h */
  4500. | #define PACKAGE_NAME ""
  4501. | #define PACKAGE_TARNAME ""
  4502. | #define PACKAGE_VERSION ""
  4503. | #define PACKAGE_STRING ""
  4504. | #define PACKAGE_BUGREPORT ""
  4505. | #define PACKAGE_URL ""
  4506. | #define CANONICALIZATION_FOR_MATHN 1
  4507. | #define STDC_HEADERS 1
  4508. | #define HAVE_SYS_TYPES_H 1
  4509. | #define HAVE_SYS_STAT_H 1
  4510. | #define HAVE_STDLIB_H 1
  4511. | #define HAVE_STRING_H 1
  4512. | #define HAVE_MEMORY_H 1
  4513. | #define HAVE_STRINGS_H 1
  4514. | #define HAVE_INTTYPES_H 1
  4515. | #define HAVE_STDINT_H 1
  4516. | #define HAVE_UNISTD_H 1
  4517. | #define __EXTENSIONS__ 1
  4518. | #define _ALL_SOURCE 1
  4519. | #define _GNU_SOURCE 1
  4520. | #define _POSIX_PTHREAD_SEMANTICS 1
  4521. | #define _TANDEM_SOURCE 1
  4522. | #define HAVE_LONG_LONG 1
  4523. | #define HAVE_OFF_T 1
  4524. | #define SIZEOF_INT 4
  4525. | #define SIZEOF_SHORT 2
  4526. | #define SIZEOF_LONG 8
  4527. | #define SIZEOF_LONG_LONG 8
  4528. | #define SIZEOF___INT64 0
  4529. | #define SIZEOF_OFF_T 8
  4530. | #define SIZEOF_VOIDP 8
  4531. | #define SIZEOF_FLOAT 4
  4532. | #define SIZEOF_DOUBLE 8
  4533. | #define SIZEOF_TIME_T 8
  4534. | #define PRI_LL_PREFIX "ll"
  4535. | #define rb_pid_t pid_t
  4536. | #define PIDT2NUM(v) INT2NUM(v)
  4537. | #define NUM2PIDT(v) NUM2INT(v)
  4538. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4539. | #define rb_uid_t uid_t
  4540. | #define UIDT2NUM(v) UINT2NUM(v)
  4541. | #define NUM2UIDT(v) NUM2UINT(v)
  4542. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  4543. | #define rb_gid_t gid_t
  4544. | #define GIDT2NUM(v) UINT2NUM(v)
  4545. | #define NUM2GIDT(v) NUM2UINT(v)
  4546. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  4547. | #define rb_time_t time_t
  4548. | #define TIMET2NUM(v) LONG2NUM(v)
  4549. | #define NUM2TIMET(v) NUM2LONG(v)
  4550. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  4551. | #define rb_dev_t dev_t
  4552. | #define DEVT2NUM(v) ULONG2NUM(v)
  4553. | #define NUM2DEVT(v) NUM2ULONG(v)
  4554. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  4555. | #define rb_mode_t mode_t
  4556. | #define MODET2NUM(v) UINT2NUM(v)
  4557. | #define NUM2MODET(v) NUM2UINT(v)
  4558. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  4559. | #define rb_rlim_t rlim_t
  4560. | #define RLIM2NUM(v) ULONG2NUM(v)
  4561. | #define NUM2RLIM(v) NUM2ULONG(v)
  4562. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  4563. | #define HAVE_PROTOTYPES 1
  4564. | #define TOKEN_PASTE(x,y) x##y
  4565. | #define STRINGIZE(expr) STRINGIZE0(expr)
  4566. | #define HAVE_STDARG_PROTOTYPES 1
  4567. | #define HAVE_VA_ARGS_MACRO 1
  4568. | #define NORETURN(x) __attribute__ ((noreturn)) x
  4569. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  4570. | #define NOINLINE(x) __attribute__ ((noinline)) x
  4571. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  4572. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  4573. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  4574. | #define HAVE_GCC_SYNC_BUILTINS 1
  4575. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  4576. | #define HAVE_DECL_SYS_NERR 1
  4577. | #define HAVE_LIBCRYPT 1
  4578. | #define HAVE_LIBDL 1
  4579. | #define HAVE_LIBRT 1
  4580. | #define HAVE_DIRENT_H 1
  4581. | #define HAVE__BOOL 1
  4582. | #define HAVE_STDBOOL_H 1
  4583. | #define HAVE_SYS_WAIT_H 1
  4584. | #define HAVE_LIMITS_H 1
  4585. | #define HAVE_SYS_FILE_H 1
  4586. | #define HAVE_SYS_IOCTL_H 1
  4587. | #define HAVE_SYS_SYSCALL_H 1
  4588. | #define HAVE_FCNTL_H 1
  4589. | #define HAVE_SYS_FCNTL_H 1
  4590. | #define HAVE_SYS_SELECT_H 1
  4591. | #define HAVE_SYS_TIME_H 1
  4592. | #define HAVE_SYS_TIMES_H 1
  4593. | #define HAVE_SYS_PARAM_H 1
  4594. | #define HAVE_SYSCALL_H 1
  4595. | #define HAVE_PWD_H 1
  4596. | #define HAVE_GRP_H 1
  4597. | #define HAVE_A_OUT_H 1
  4598. | #define HAVE_UTIME_H 1
  4599. | /* end confdefs.h. */
  4600. | #include <direct.h>
  4601. configure:11506: result: no
  4602. configure:11506: checking for direct.h
  4603. configure:11506: result: no
  4604. configure:11506: checking sys/resource.h usability
  4605. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4606. configure:11506: $? = 0
  4607. configure:11506: result: yes
  4608. configure:11506: checking sys/resource.h presence
  4609. configure:11506: gcc -E conftest.c
  4610. configure:11506: $? = 0
  4611. configure:11506: result: yes
  4612. configure:11506: checking for sys/resource.h
  4613. configure:11506: result: yes
  4614. configure:11506: checking sys/mkdev.h usability
  4615. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4616. conftest.c:136:23: fatal error: sys/mkdev.h: No such file or directory
  4617. compilation terminated.
  4618. configure:11506: $? = 1
  4619. configure: failed program was:
  4620. | /* confdefs.h */
  4621. | #define PACKAGE_NAME ""
  4622. | #define PACKAGE_TARNAME ""
  4623. | #define PACKAGE_VERSION ""
  4624. | #define PACKAGE_STRING ""
  4625. | #define PACKAGE_BUGREPORT ""
  4626. | #define PACKAGE_URL ""
  4627. | #define CANONICALIZATION_FOR_MATHN 1
  4628. | #define STDC_HEADERS 1
  4629. | #define HAVE_SYS_TYPES_H 1
  4630. | #define HAVE_SYS_STAT_H 1
  4631. | #define HAVE_STDLIB_H 1
  4632. | #define HAVE_STRING_H 1
  4633. | #define HAVE_MEMORY_H 1
  4634. | #define HAVE_STRINGS_H 1
  4635. | #define HAVE_INTTYPES_H 1
  4636. | #define HAVE_STDINT_H 1
  4637. | #define HAVE_UNISTD_H 1
  4638. | #define __EXTENSIONS__ 1
  4639. | #define _ALL_SOURCE 1
  4640. | #define _GNU_SOURCE 1
  4641. | #define _POSIX_PTHREAD_SEMANTICS 1
  4642. | #define _TANDEM_SOURCE 1
  4643. | #define HAVE_LONG_LONG 1
  4644. | #define HAVE_OFF_T 1
  4645. | #define SIZEOF_INT 4
  4646. | #define SIZEOF_SHORT 2
  4647. | #define SIZEOF_LONG 8
  4648. | #define SIZEOF_LONG_LONG 8
  4649. | #define SIZEOF___INT64 0
  4650. | #define SIZEOF_OFF_T 8
  4651. | #define SIZEOF_VOIDP 8
  4652. | #define SIZEOF_FLOAT 4
  4653. | #define SIZEOF_DOUBLE 8
  4654. | #define SIZEOF_TIME_T 8
  4655. | #define PRI_LL_PREFIX "ll"
  4656. | #define rb_pid_t pid_t
  4657. | #define PIDT2NUM(v) INT2NUM(v)
  4658. | #define NUM2PIDT(v) NUM2INT(v)
  4659. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4660. | #define rb_uid_t uid_t
  4661. | #define UIDT2NUM(v) UINT2NUM(v)
  4662. | #define NUM2UIDT(v) NUM2UINT(v)
  4663. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  4664. | #define rb_gid_t gid_t
  4665. | #define GIDT2NUM(v) UINT2NUM(v)
  4666. | #define NUM2GIDT(v) NUM2UINT(v)
  4667. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  4668. | #define rb_time_t time_t
  4669. | #define TIMET2NUM(v) LONG2NUM(v)
  4670. | #define NUM2TIMET(v) NUM2LONG(v)
  4671. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  4672. | #define rb_dev_t dev_t
  4673. | #define DEVT2NUM(v) ULONG2NUM(v)
  4674. | #define NUM2DEVT(v) NUM2ULONG(v)
  4675. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  4676. | #define rb_mode_t mode_t
  4677. | #define MODET2NUM(v) UINT2NUM(v)
  4678. | #define NUM2MODET(v) NUM2UINT(v)
  4679. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  4680. | #define rb_rlim_t rlim_t
  4681. | #define RLIM2NUM(v) ULONG2NUM(v)
  4682. | #define NUM2RLIM(v) NUM2ULONG(v)
  4683. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  4684. | #define HAVE_PROTOTYPES 1
  4685. | #define TOKEN_PASTE(x,y) x##y
  4686. | #define STRINGIZE(expr) STRINGIZE0(expr)
  4687. | #define HAVE_STDARG_PROTOTYPES 1
  4688. | #define HAVE_VA_ARGS_MACRO 1
  4689. | #define NORETURN(x) __attribute__ ((noreturn)) x
  4690. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  4691. | #define NOINLINE(x) __attribute__ ((noinline)) x
  4692. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  4693. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  4694. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  4695. | #define HAVE_GCC_SYNC_BUILTINS 1
  4696. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  4697. | #define HAVE_DECL_SYS_NERR 1
  4698. | #define HAVE_LIBCRYPT 1
  4699. | #define HAVE_LIBDL 1
  4700. | #define HAVE_LIBRT 1
  4701. | #define HAVE_DIRENT_H 1
  4702. | #define HAVE__BOOL 1
  4703. | #define HAVE_STDBOOL_H 1
  4704. | #define HAVE_SYS_WAIT_H 1
  4705. | #define HAVE_LIMITS_H 1
  4706. | #define HAVE_SYS_FILE_H 1
  4707. | #define HAVE_SYS_IOCTL_H 1
  4708. | #define HAVE_SYS_SYSCALL_H 1
  4709. | #define HAVE_FCNTL_H 1
  4710. | #define HAVE_SYS_FCNTL_H 1
  4711. | #define HAVE_SYS_SELECT_H 1
  4712. | #define HAVE_SYS_TIME_H 1
  4713. | #define HAVE_SYS_TIMES_H 1
  4714. | #define HAVE_SYS_PARAM_H 1
  4715. | #define HAVE_SYSCALL_H 1
  4716. | #define HAVE_PWD_H 1
  4717. | #define HAVE_GRP_H 1
  4718. | #define HAVE_A_OUT_H 1
  4719. | #define HAVE_UTIME_H 1
  4720. | #define HAVE_SYS_RESOURCE_H 1
  4721. | /* end confdefs.h. */
  4722. | #include <stdio.h>
  4723. | #ifdef HAVE_SYS_TYPES_H
  4724. | # include <sys/types.h>
  4725. | #endif
  4726. | #ifdef HAVE_SYS_STAT_H
  4727. | # include <sys/stat.h>
  4728. | #endif
  4729. | #ifdef STDC_HEADERS
  4730. | # include <stdlib.h>
  4731. | # include <stddef.h>
  4732. | #else
  4733. | # ifdef HAVE_STDLIB_H
  4734. | # include <stdlib.h>
  4735. | # endif
  4736. | #endif
  4737. | #ifdef HAVE_STRING_H
  4738. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4739. | # include <memory.h>
  4740. | # endif
  4741. | # include <string.h>
  4742. | #endif
  4743. | #ifdef HAVE_STRINGS_H
  4744. | # include <strings.h>
  4745. | #endif
  4746. | #ifdef HAVE_INTTYPES_H
  4747. | # include <inttypes.h>
  4748. | #endif
  4749. | #ifdef HAVE_STDINT_H
  4750. | # include <stdint.h>
  4751. | #endif
  4752. | #ifdef HAVE_UNISTD_H
  4753. | # include <unistd.h>
  4754. | #endif
  4755. | #include <sys/mkdev.h>
  4756. configure:11506: result: no
  4757. configure:11506: checking sys/mkdev.h presence
  4758. configure:11506: gcc -E conftest.c
  4759. conftest.c:103:23: fatal error: sys/mkdev.h: No such file or directory
  4760. compilation terminated.
  4761. configure:11506: $? = 1
  4762. configure: failed program was:
  4763. | /* confdefs.h */
  4764. | #define PACKAGE_NAME ""
  4765. | #define PACKAGE_TARNAME ""
  4766. | #define PACKAGE_VERSION ""
  4767. | #define PACKAGE_STRING ""
  4768. | #define PACKAGE_BUGREPORT ""
  4769. | #define PACKAGE_URL ""
  4770. | #define CANONICALIZATION_FOR_MATHN 1
  4771. | #define STDC_HEADERS 1
  4772. | #define HAVE_SYS_TYPES_H 1
  4773. | #define HAVE_SYS_STAT_H 1
  4774. | #define HAVE_STDLIB_H 1
  4775. | #define HAVE_STRING_H 1
  4776. | #define HAVE_MEMORY_H 1
  4777. | #define HAVE_STRINGS_H 1
  4778. | #define HAVE_INTTYPES_H 1
  4779. | #define HAVE_STDINT_H 1
  4780. | #define HAVE_UNISTD_H 1
  4781. | #define __EXTENSIONS__ 1
  4782. | #define _ALL_SOURCE 1
  4783. | #define _GNU_SOURCE 1
  4784. | #define _POSIX_PTHREAD_SEMANTICS 1
  4785. | #define _TANDEM_SOURCE 1
  4786. | #define HAVE_LONG_LONG 1
  4787. | #define HAVE_OFF_T 1
  4788. | #define SIZEOF_INT 4
  4789. | #define SIZEOF_SHORT 2
  4790. | #define SIZEOF_LONG 8
  4791. | #define SIZEOF_LONG_LONG 8
  4792. | #define SIZEOF___INT64 0
  4793. | #define SIZEOF_OFF_T 8
  4794. | #define SIZEOF_VOIDP 8
  4795. | #define SIZEOF_FLOAT 4
  4796. | #define SIZEOF_DOUBLE 8
  4797. | #define SIZEOF_TIME_T 8
  4798. | #define PRI_LL_PREFIX "ll"
  4799. | #define rb_pid_t pid_t
  4800. | #define PIDT2NUM(v) INT2NUM(v)
  4801. | #define NUM2PIDT(v) NUM2INT(v)
  4802. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4803. | #define rb_uid_t uid_t
  4804. | #define UIDT2NUM(v) UINT2NUM(v)
  4805. | #define NUM2UIDT(v) NUM2UINT(v)
  4806. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  4807. | #define rb_gid_t gid_t
  4808. | #define GIDT2NUM(v) UINT2NUM(v)
  4809. | #define NUM2GIDT(v) NUM2UINT(v)
  4810. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  4811. | #define rb_time_t time_t
  4812. | #define TIMET2NUM(v) LONG2NUM(v)
  4813. | #define NUM2TIMET(v) NUM2LONG(v)
  4814. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  4815. | #define rb_dev_t dev_t
  4816. | #define DEVT2NUM(v) ULONG2NUM(v)
  4817. | #define NUM2DEVT(v) NUM2ULONG(v)
  4818. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  4819. | #define rb_mode_t mode_t
  4820. | #define MODET2NUM(v) UINT2NUM(v)
  4821. | #define NUM2MODET(v) NUM2UINT(v)
  4822. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  4823. | #define rb_rlim_t rlim_t
  4824. | #define RLIM2NUM(v) ULONG2NUM(v)
  4825. | #define NUM2RLIM(v) NUM2ULONG(v)
  4826. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  4827. | #define HAVE_PROTOTYPES 1
  4828. | #define TOKEN_PASTE(x,y) x##y
  4829. | #define STRINGIZE(expr) STRINGIZE0(expr)
  4830. | #define HAVE_STDARG_PROTOTYPES 1
  4831. | #define HAVE_VA_ARGS_MACRO 1
  4832. | #define NORETURN(x) __attribute__ ((noreturn)) x
  4833. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  4834. | #define NOINLINE(x) __attribute__ ((noinline)) x
  4835. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  4836. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  4837. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  4838. | #define HAVE_GCC_SYNC_BUILTINS 1
  4839. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  4840. | #define HAVE_DECL_SYS_NERR 1
  4841. | #define HAVE_LIBCRYPT 1
  4842. | #define HAVE_LIBDL 1
  4843. | #define HAVE_LIBRT 1
  4844. | #define HAVE_DIRENT_H 1
  4845. | #define HAVE__BOOL 1
  4846. | #define HAVE_STDBOOL_H 1
  4847. | #define HAVE_SYS_WAIT_H 1
  4848. | #define HAVE_LIMITS_H 1
  4849. | #define HAVE_SYS_FILE_H 1
  4850. | #define HAVE_SYS_IOCTL_H 1
  4851. | #define HAVE_SYS_SYSCALL_H 1
  4852. | #define HAVE_FCNTL_H 1
  4853. | #define HAVE_SYS_FCNTL_H 1
  4854. | #define HAVE_SYS_SELECT_H 1
  4855. | #define HAVE_SYS_TIME_H 1
  4856. | #define HAVE_SYS_TIMES_H 1
  4857. | #define HAVE_SYS_PARAM_H 1
  4858. | #define HAVE_SYSCALL_H 1
  4859. | #define HAVE_PWD_H 1
  4860. | #define HAVE_GRP_H 1
  4861. | #define HAVE_A_OUT_H 1
  4862. | #define HAVE_UTIME_H 1
  4863. | #define HAVE_SYS_RESOURCE_H 1
  4864. | /* end confdefs.h. */
  4865. | #include <sys/mkdev.h>
  4866. configure:11506: result: no
  4867. configure:11506: checking for sys/mkdev.h
  4868. configure:11506: result: no
  4869. configure:11506: checking sys/utime.h usability
  4870. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  4871. conftest.c:136:23: fatal error: sys/utime.h: No such file or directory
  4872. compilation terminated.
  4873. configure:11506: $? = 1
  4874. configure: failed program was:
  4875. | /* confdefs.h */
  4876. | #define PACKAGE_NAME ""
  4877. | #define PACKAGE_TARNAME ""
  4878. | #define PACKAGE_VERSION ""
  4879. | #define PACKAGE_STRING ""
  4880. | #define PACKAGE_BUGREPORT ""
  4881. | #define PACKAGE_URL ""
  4882. | #define CANONICALIZATION_FOR_MATHN 1
  4883. | #define STDC_HEADERS 1
  4884. | #define HAVE_SYS_TYPES_H 1
  4885. | #define HAVE_SYS_STAT_H 1
  4886. | #define HAVE_STDLIB_H 1
  4887. | #define HAVE_STRING_H 1
  4888. | #define HAVE_MEMORY_H 1
  4889. | #define HAVE_STRINGS_H 1
  4890. | #define HAVE_INTTYPES_H 1
  4891. | #define HAVE_STDINT_H 1
  4892. | #define HAVE_UNISTD_H 1
  4893. | #define __EXTENSIONS__ 1
  4894. | #define _ALL_SOURCE 1
  4895. | #define _GNU_SOURCE 1
  4896. | #define _POSIX_PTHREAD_SEMANTICS 1
  4897. | #define _TANDEM_SOURCE 1
  4898. | #define HAVE_LONG_LONG 1
  4899. | #define HAVE_OFF_T 1
  4900. | #define SIZEOF_INT 4
  4901. | #define SIZEOF_SHORT 2
  4902. | #define SIZEOF_LONG 8
  4903. | #define SIZEOF_LONG_LONG 8
  4904. | #define SIZEOF___INT64 0
  4905. | #define SIZEOF_OFF_T 8
  4906. | #define SIZEOF_VOIDP 8
  4907. | #define SIZEOF_FLOAT 4
  4908. | #define SIZEOF_DOUBLE 8
  4909. | #define SIZEOF_TIME_T 8
  4910. | #define PRI_LL_PREFIX "ll"
  4911. | #define rb_pid_t pid_t
  4912. | #define PIDT2NUM(v) INT2NUM(v)
  4913. | #define NUM2PIDT(v) NUM2INT(v)
  4914. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4915. | #define rb_uid_t uid_t
  4916. | #define UIDT2NUM(v) UINT2NUM(v)
  4917. | #define NUM2UIDT(v) NUM2UINT(v)
  4918. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  4919. | #define rb_gid_t gid_t
  4920. | #define GIDT2NUM(v) UINT2NUM(v)
  4921. | #define NUM2GIDT(v) NUM2UINT(v)
  4922. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  4923. | #define rb_time_t time_t
  4924. | #define TIMET2NUM(v) LONG2NUM(v)
  4925. | #define NUM2TIMET(v) NUM2LONG(v)
  4926. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  4927. | #define rb_dev_t dev_t
  4928. | #define DEVT2NUM(v) ULONG2NUM(v)
  4929. | #define NUM2DEVT(v) NUM2ULONG(v)
  4930. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  4931. | #define rb_mode_t mode_t
  4932. | #define MODET2NUM(v) UINT2NUM(v)
  4933. | #define NUM2MODET(v) NUM2UINT(v)
  4934. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  4935. | #define rb_rlim_t rlim_t
  4936. | #define RLIM2NUM(v) ULONG2NUM(v)
  4937. | #define NUM2RLIM(v) NUM2ULONG(v)
  4938. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  4939. | #define HAVE_PROTOTYPES 1
  4940. | #define TOKEN_PASTE(x,y) x##y
  4941. | #define STRINGIZE(expr) STRINGIZE0(expr)
  4942. | #define HAVE_STDARG_PROTOTYPES 1
  4943. | #define HAVE_VA_ARGS_MACRO 1
  4944. | #define NORETURN(x) __attribute__ ((noreturn)) x
  4945. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  4946. | #define NOINLINE(x) __attribute__ ((noinline)) x
  4947. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  4948. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  4949. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  4950. | #define HAVE_GCC_SYNC_BUILTINS 1
  4951. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  4952. | #define HAVE_DECL_SYS_NERR 1
  4953. | #define HAVE_LIBCRYPT 1
  4954. | #define HAVE_LIBDL 1
  4955. | #define HAVE_LIBRT 1
  4956. | #define HAVE_DIRENT_H 1
  4957. | #define HAVE__BOOL 1
  4958. | #define HAVE_STDBOOL_H 1
  4959. | #define HAVE_SYS_WAIT_H 1
  4960. | #define HAVE_LIMITS_H 1
  4961. | #define HAVE_SYS_FILE_H 1
  4962. | #define HAVE_SYS_IOCTL_H 1
  4963. | #define HAVE_SYS_SYSCALL_H 1
  4964. | #define HAVE_FCNTL_H 1
  4965. | #define HAVE_SYS_FCNTL_H 1
  4966. | #define HAVE_SYS_SELECT_H 1
  4967. | #define HAVE_SYS_TIME_H 1
  4968. | #define HAVE_SYS_TIMES_H 1
  4969. | #define HAVE_SYS_PARAM_H 1
  4970. | #define HAVE_SYSCALL_H 1
  4971. | #define HAVE_PWD_H 1
  4972. | #define HAVE_GRP_H 1
  4973. | #define HAVE_A_OUT_H 1
  4974. | #define HAVE_UTIME_H 1
  4975. | #define HAVE_SYS_RESOURCE_H 1
  4976. | /* end confdefs.h. */
  4977. | #include <stdio.h>
  4978. | #ifdef HAVE_SYS_TYPES_H
  4979. | # include <sys/types.h>
  4980. | #endif
  4981. | #ifdef HAVE_SYS_STAT_H
  4982. | # include <sys/stat.h>
  4983. | #endif
  4984. | #ifdef STDC_HEADERS
  4985. | # include <stdlib.h>
  4986. | # include <stddef.h>
  4987. | #else
  4988. | # ifdef HAVE_STDLIB_H
  4989. | # include <stdlib.h>
  4990. | # endif
  4991. | #endif
  4992. | #ifdef HAVE_STRING_H
  4993. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4994. | # include <memory.h>
  4995. | # endif
  4996. | # include <string.h>
  4997. | #endif
  4998. | #ifdef HAVE_STRINGS_H
  4999. | # include <strings.h>
  5000. | #endif
  5001. | #ifdef HAVE_INTTYPES_H
  5002. | # include <inttypes.h>
  5003. | #endif
  5004. | #ifdef HAVE_STDINT_H
  5005. | # include <stdint.h>
  5006. | #endif
  5007. | #ifdef HAVE_UNISTD_H
  5008. | # include <unistd.h>
  5009. | #endif
  5010. | #include <sys/utime.h>
  5011. configure:11506: result: no
  5012. configure:11506: checking sys/utime.h presence
  5013. configure:11506: gcc -E conftest.c
  5014. conftest.c:103:23: fatal error: sys/utime.h: No such file or directory
  5015. compilation terminated.
  5016. configure:11506: $? = 1
  5017. configure: failed program was:
  5018. | /* confdefs.h */
  5019. | #define PACKAGE_NAME ""
  5020. | #define PACKAGE_TARNAME ""
  5021. | #define PACKAGE_VERSION ""
  5022. | #define PACKAGE_STRING ""
  5023. | #define PACKAGE_BUGREPORT ""
  5024. | #define PACKAGE_URL ""
  5025. | #define CANONICALIZATION_FOR_MATHN 1
  5026. | #define STDC_HEADERS 1
  5027. | #define HAVE_SYS_TYPES_H 1
  5028. | #define HAVE_SYS_STAT_H 1
  5029. | #define HAVE_STDLIB_H 1
  5030. | #define HAVE_STRING_H 1
  5031. | #define HAVE_MEMORY_H 1
  5032. | #define HAVE_STRINGS_H 1
  5033. | #define HAVE_INTTYPES_H 1
  5034. | #define HAVE_STDINT_H 1
  5035. | #define HAVE_UNISTD_H 1
  5036. | #define __EXTENSIONS__ 1
  5037. | #define _ALL_SOURCE 1
  5038. | #define _GNU_SOURCE 1
  5039. | #define _POSIX_PTHREAD_SEMANTICS 1
  5040. | #define _TANDEM_SOURCE 1
  5041. | #define HAVE_LONG_LONG 1
  5042. | #define HAVE_OFF_T 1
  5043. | #define SIZEOF_INT 4
  5044. | #define SIZEOF_SHORT 2
  5045. | #define SIZEOF_LONG 8
  5046. | #define SIZEOF_LONG_LONG 8
  5047. | #define SIZEOF___INT64 0
  5048. | #define SIZEOF_OFF_T 8
  5049. | #define SIZEOF_VOIDP 8
  5050. | #define SIZEOF_FLOAT 4
  5051. | #define SIZEOF_DOUBLE 8
  5052. | #define SIZEOF_TIME_T 8
  5053. | #define PRI_LL_PREFIX "ll"
  5054. | #define rb_pid_t pid_t
  5055. | #define PIDT2NUM(v) INT2NUM(v)
  5056. | #define NUM2PIDT(v) NUM2INT(v)
  5057. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5058. | #define rb_uid_t uid_t
  5059. | #define UIDT2NUM(v) UINT2NUM(v)
  5060. | #define NUM2UIDT(v) NUM2UINT(v)
  5061. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5062. | #define rb_gid_t gid_t
  5063. | #define GIDT2NUM(v) UINT2NUM(v)
  5064. | #define NUM2GIDT(v) NUM2UINT(v)
  5065. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5066. | #define rb_time_t time_t
  5067. | #define TIMET2NUM(v) LONG2NUM(v)
  5068. | #define NUM2TIMET(v) NUM2LONG(v)
  5069. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  5070. | #define rb_dev_t dev_t
  5071. | #define DEVT2NUM(v) ULONG2NUM(v)
  5072. | #define NUM2DEVT(v) NUM2ULONG(v)
  5073. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  5074. | #define rb_mode_t mode_t
  5075. | #define MODET2NUM(v) UINT2NUM(v)
  5076. | #define NUM2MODET(v) NUM2UINT(v)
  5077. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  5078. | #define rb_rlim_t rlim_t
  5079. | #define RLIM2NUM(v) ULONG2NUM(v)
  5080. | #define NUM2RLIM(v) NUM2ULONG(v)
  5081. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  5082. | #define HAVE_PROTOTYPES 1
  5083. | #define TOKEN_PASTE(x,y) x##y
  5084. | #define STRINGIZE(expr) STRINGIZE0(expr)
  5085. | #define HAVE_STDARG_PROTOTYPES 1
  5086. | #define HAVE_VA_ARGS_MACRO 1
  5087. | #define NORETURN(x) __attribute__ ((noreturn)) x
  5088. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  5089. | #define NOINLINE(x) __attribute__ ((noinline)) x
  5090. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  5091. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  5092. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  5093. | #define HAVE_GCC_SYNC_BUILTINS 1
  5094. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  5095. | #define HAVE_DECL_SYS_NERR 1
  5096. | #define HAVE_LIBCRYPT 1
  5097. | #define HAVE_LIBDL 1
  5098. | #define HAVE_LIBRT 1
  5099. | #define HAVE_DIRENT_H 1
  5100. | #define HAVE__BOOL 1
  5101. | #define HAVE_STDBOOL_H 1
  5102. | #define HAVE_SYS_WAIT_H 1
  5103. | #define HAVE_LIMITS_H 1
  5104. | #define HAVE_SYS_FILE_H 1
  5105. | #define HAVE_SYS_IOCTL_H 1
  5106. | #define HAVE_SYS_SYSCALL_H 1
  5107. | #define HAVE_FCNTL_H 1
  5108. | #define HAVE_SYS_FCNTL_H 1
  5109. | #define HAVE_SYS_SELECT_H 1
  5110. | #define HAVE_SYS_TIME_H 1
  5111. | #define HAVE_SYS_TIMES_H 1
  5112. | #define HAVE_SYS_PARAM_H 1
  5113. | #define HAVE_SYSCALL_H 1
  5114. | #define HAVE_PWD_H 1
  5115. | #define HAVE_GRP_H 1
  5116. | #define HAVE_A_OUT_H 1
  5117. | #define HAVE_UTIME_H 1
  5118. | #define HAVE_SYS_RESOURCE_H 1
  5119. | /* end confdefs.h. */
  5120. | #include <sys/utime.h>
  5121. configure:11506: result: no
  5122. configure:11506: checking for sys/utime.h
  5123. configure:11506: result: no
  5124. configure:11506: checking xti.h usability
  5125. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5126. conftest.c:136:17: fatal error: xti.h: No such file or directory
  5127. compilation terminated.
  5128. configure:11506: $? = 1
  5129. configure: failed program was:
  5130. | /* confdefs.h */
  5131. | #define PACKAGE_NAME ""
  5132. | #define PACKAGE_TARNAME ""
  5133. | #define PACKAGE_VERSION ""
  5134. | #define PACKAGE_STRING ""
  5135. | #define PACKAGE_BUGREPORT ""
  5136. | #define PACKAGE_URL ""
  5137. | #define CANONICALIZATION_FOR_MATHN 1
  5138. | #define STDC_HEADERS 1
  5139. | #define HAVE_SYS_TYPES_H 1
  5140. | #define HAVE_SYS_STAT_H 1
  5141. | #define HAVE_STDLIB_H 1
  5142. | #define HAVE_STRING_H 1
  5143. | #define HAVE_MEMORY_H 1
  5144. | #define HAVE_STRINGS_H 1
  5145. | #define HAVE_INTTYPES_H 1
  5146. | #define HAVE_STDINT_H 1
  5147. | #define HAVE_UNISTD_H 1
  5148. | #define __EXTENSIONS__ 1
  5149. | #define _ALL_SOURCE 1
  5150. | #define _GNU_SOURCE 1
  5151. | #define _POSIX_PTHREAD_SEMANTICS 1
  5152. | #define _TANDEM_SOURCE 1
  5153. | #define HAVE_LONG_LONG 1
  5154. | #define HAVE_OFF_T 1
  5155. | #define SIZEOF_INT 4
  5156. | #define SIZEOF_SHORT 2
  5157. | #define SIZEOF_LONG 8
  5158. | #define SIZEOF_LONG_LONG 8
  5159. | #define SIZEOF___INT64 0
  5160. | #define SIZEOF_OFF_T 8
  5161. | #define SIZEOF_VOIDP 8
  5162. | #define SIZEOF_FLOAT 4
  5163. | #define SIZEOF_DOUBLE 8
  5164. | #define SIZEOF_TIME_T 8
  5165. | #define PRI_LL_PREFIX "ll"
  5166. | #define rb_pid_t pid_t
  5167. | #define PIDT2NUM(v) INT2NUM(v)
  5168. | #define NUM2PIDT(v) NUM2INT(v)
  5169. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5170. | #define rb_uid_t uid_t
  5171. | #define UIDT2NUM(v) UINT2NUM(v)
  5172. | #define NUM2UIDT(v) NUM2UINT(v)
  5173. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5174. | #define rb_gid_t gid_t
  5175. | #define GIDT2NUM(v) UINT2NUM(v)
  5176. | #define NUM2GIDT(v) NUM2UINT(v)
  5177. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5178. | #define rb_time_t time_t
  5179. | #define TIMET2NUM(v) LONG2NUM(v)
  5180. | #define NUM2TIMET(v) NUM2LONG(v)
  5181. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  5182. | #define rb_dev_t dev_t
  5183. | #define DEVT2NUM(v) ULONG2NUM(v)
  5184. | #define NUM2DEVT(v) NUM2ULONG(v)
  5185. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  5186. | #define rb_mode_t mode_t
  5187. | #define MODET2NUM(v) UINT2NUM(v)
  5188. | #define NUM2MODET(v) NUM2UINT(v)
  5189. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  5190. | #define rb_rlim_t rlim_t
  5191. | #define RLIM2NUM(v) ULONG2NUM(v)
  5192. | #define NUM2RLIM(v) NUM2ULONG(v)
  5193. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  5194. | #define HAVE_PROTOTYPES 1
  5195. | #define TOKEN_PASTE(x,y) x##y
  5196. | #define STRINGIZE(expr) STRINGIZE0(expr)
  5197. | #define HAVE_STDARG_PROTOTYPES 1
  5198. | #define HAVE_VA_ARGS_MACRO 1
  5199. | #define NORETURN(x) __attribute__ ((noreturn)) x
  5200. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  5201. | #define NOINLINE(x) __attribute__ ((noinline)) x
  5202. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  5203. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  5204. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  5205. | #define HAVE_GCC_SYNC_BUILTINS 1
  5206. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  5207. | #define HAVE_DECL_SYS_NERR 1
  5208. | #define HAVE_LIBCRYPT 1
  5209. | #define HAVE_LIBDL 1
  5210. | #define HAVE_LIBRT 1
  5211. | #define HAVE_DIRENT_H 1
  5212. | #define HAVE__BOOL 1
  5213. | #define HAVE_STDBOOL_H 1
  5214. | #define HAVE_SYS_WAIT_H 1
  5215. | #define HAVE_LIMITS_H 1
  5216. | #define HAVE_SYS_FILE_H 1
  5217. | #define HAVE_SYS_IOCTL_H 1
  5218. | #define HAVE_SYS_SYSCALL_H 1
  5219. | #define HAVE_FCNTL_H 1
  5220. | #define HAVE_SYS_FCNTL_H 1
  5221. | #define HAVE_SYS_SELECT_H 1
  5222. | #define HAVE_SYS_TIME_H 1
  5223. | #define HAVE_SYS_TIMES_H 1
  5224. | #define HAVE_SYS_PARAM_H 1
  5225. | #define HAVE_SYSCALL_H 1
  5226. | #define HAVE_PWD_H 1
  5227. | #define HAVE_GRP_H 1
  5228. | #define HAVE_A_OUT_H 1
  5229. | #define HAVE_UTIME_H 1
  5230. | #define HAVE_SYS_RESOURCE_H 1
  5231. | /* end confdefs.h. */
  5232. | #include <stdio.h>
  5233. | #ifdef HAVE_SYS_TYPES_H
  5234. | # include <sys/types.h>
  5235. | #endif
  5236. | #ifdef HAVE_SYS_STAT_H
  5237. | # include <sys/stat.h>
  5238. | #endif
  5239. | #ifdef STDC_HEADERS
  5240. | # include <stdlib.h>
  5241. | # include <stddef.h>
  5242. | #else
  5243. | # ifdef HAVE_STDLIB_H
  5244. | # include <stdlib.h>
  5245. | # endif
  5246. | #endif
  5247. | #ifdef HAVE_STRING_H
  5248. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5249. | # include <memory.h>
  5250. | # endif
  5251. | # include <string.h>
  5252. | #endif
  5253. | #ifdef HAVE_STRINGS_H
  5254. | # include <strings.h>
  5255. | #endif
  5256. | #ifdef HAVE_INTTYPES_H
  5257. | # include <inttypes.h>
  5258. | #endif
  5259. | #ifdef HAVE_STDINT_H
  5260. | # include <stdint.h>
  5261. | #endif
  5262. | #ifdef HAVE_UNISTD_H
  5263. | # include <unistd.h>
  5264. | #endif
  5265. | #include <xti.h>
  5266. configure:11506: result: no
  5267. configure:11506: checking xti.h presence
  5268. configure:11506: gcc -E conftest.c
  5269. conftest.c:103:17: fatal error: xti.h: No such file or directory
  5270. compilation terminated.
  5271. configure:11506: $? = 1
  5272. configure: failed program was:
  5273. | /* confdefs.h */
  5274. | #define PACKAGE_NAME ""
  5275. | #define PACKAGE_TARNAME ""
  5276. | #define PACKAGE_VERSION ""
  5277. | #define PACKAGE_STRING ""
  5278. | #define PACKAGE_BUGREPORT ""
  5279. | #define PACKAGE_URL ""
  5280. | #define CANONICALIZATION_FOR_MATHN 1
  5281. | #define STDC_HEADERS 1
  5282. | #define HAVE_SYS_TYPES_H 1
  5283. | #define HAVE_SYS_STAT_H 1
  5284. | #define HAVE_STDLIB_H 1
  5285. | #define HAVE_STRING_H 1
  5286. | #define HAVE_MEMORY_H 1
  5287. | #define HAVE_STRINGS_H 1
  5288. | #define HAVE_INTTYPES_H 1
  5289. | #define HAVE_STDINT_H 1
  5290. | #define HAVE_UNISTD_H 1
  5291. | #define __EXTENSIONS__ 1
  5292. | #define _ALL_SOURCE 1
  5293. | #define _GNU_SOURCE 1
  5294. | #define _POSIX_PTHREAD_SEMANTICS 1
  5295. | #define _TANDEM_SOURCE 1
  5296. | #define HAVE_LONG_LONG 1
  5297. | #define HAVE_OFF_T 1
  5298. | #define SIZEOF_INT 4
  5299. | #define SIZEOF_SHORT 2
  5300. | #define SIZEOF_LONG 8
  5301. | #define SIZEOF_LONG_LONG 8
  5302. | #define SIZEOF___INT64 0
  5303. | #define SIZEOF_OFF_T 8
  5304. | #define SIZEOF_VOIDP 8
  5305. | #define SIZEOF_FLOAT 4
  5306. | #define SIZEOF_DOUBLE 8
  5307. | #define SIZEOF_TIME_T 8
  5308. | #define PRI_LL_PREFIX "ll"
  5309. | #define rb_pid_t pid_t
  5310. | #define PIDT2NUM(v) INT2NUM(v)
  5311. | #define NUM2PIDT(v) NUM2INT(v)
  5312. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5313. | #define rb_uid_t uid_t
  5314. | #define UIDT2NUM(v) UINT2NUM(v)
  5315. | #define NUM2UIDT(v) NUM2UINT(v)
  5316. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5317. | #define rb_gid_t gid_t
  5318. | #define GIDT2NUM(v) UINT2NUM(v)
  5319. | #define NUM2GIDT(v) NUM2UINT(v)
  5320. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5321. | #define rb_time_t time_t
  5322. | #define TIMET2NUM(v) LONG2NUM(v)
  5323. | #define NUM2TIMET(v) NUM2LONG(v)
  5324. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  5325. | #define rb_dev_t dev_t
  5326. | #define DEVT2NUM(v) ULONG2NUM(v)
  5327. | #define NUM2DEVT(v) NUM2ULONG(v)
  5328. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  5329. | #define rb_mode_t mode_t
  5330. | #define MODET2NUM(v) UINT2NUM(v)
  5331. | #define NUM2MODET(v) NUM2UINT(v)
  5332. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  5333. | #define rb_rlim_t rlim_t
  5334. | #define RLIM2NUM(v) ULONG2NUM(v)
  5335. | #define NUM2RLIM(v) NUM2ULONG(v)
  5336. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  5337. | #define HAVE_PROTOTYPES 1
  5338. | #define TOKEN_PASTE(x,y) x##y
  5339. | #define STRINGIZE(expr) STRINGIZE0(expr)
  5340. | #define HAVE_STDARG_PROTOTYPES 1
  5341. | #define HAVE_VA_ARGS_MACRO 1
  5342. | #define NORETURN(x) __attribute__ ((noreturn)) x
  5343. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  5344. | #define NOINLINE(x) __attribute__ ((noinline)) x
  5345. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  5346. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  5347. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  5348. | #define HAVE_GCC_SYNC_BUILTINS 1
  5349. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  5350. | #define HAVE_DECL_SYS_NERR 1
  5351. | #define HAVE_LIBCRYPT 1
  5352. | #define HAVE_LIBDL 1
  5353. | #define HAVE_LIBRT 1
  5354. | #define HAVE_DIRENT_H 1
  5355. | #define HAVE__BOOL 1
  5356. | #define HAVE_STDBOOL_H 1
  5357. | #define HAVE_SYS_WAIT_H 1
  5358. | #define HAVE_LIMITS_H 1
  5359. | #define HAVE_SYS_FILE_H 1
  5360. | #define HAVE_SYS_IOCTL_H 1
  5361. | #define HAVE_SYS_SYSCALL_H 1
  5362. | #define HAVE_FCNTL_H 1
  5363. | #define HAVE_SYS_FCNTL_H 1
  5364. | #define HAVE_SYS_SELECT_H 1
  5365. | #define HAVE_SYS_TIME_H 1
  5366. | #define HAVE_SYS_TIMES_H 1
  5367. | #define HAVE_SYS_PARAM_H 1
  5368. | #define HAVE_SYSCALL_H 1
  5369. | #define HAVE_PWD_H 1
  5370. | #define HAVE_GRP_H 1
  5371. | #define HAVE_A_OUT_H 1
  5372. | #define HAVE_UTIME_H 1
  5373. | #define HAVE_SYS_RESOURCE_H 1
  5374. | /* end confdefs.h. */
  5375. | #include <xti.h>
  5376. configure:11506: result: no
  5377. configure:11506: checking for xti.h
  5378. configure:11506: result: no
  5379. configure:11506: checking netinet/in_systm.h usability
  5380. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5381. configure:11506: $? = 0
  5382. configure:11506: result: yes
  5383. configure:11506: checking netinet/in_systm.h presence
  5384. configure:11506: gcc -E conftest.c
  5385. configure:11506: $? = 0
  5386. configure:11506: result: yes
  5387. configure:11506: checking for netinet/in_systm.h
  5388. configure:11506: result: yes
  5389. configure:11506: checking float.h usability
  5390. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5391. configure:11506: $? = 0
  5392. configure:11506: result: yes
  5393. configure:11506: checking float.h presence
  5394. configure:11506: gcc -E conftest.c
  5395. configure:11506: $? = 0
  5396. configure:11506: result: yes
  5397. configure:11506: checking for float.h
  5398. configure:11506: result: yes
  5399. configure:11506: checking ieeefp.h usability
  5400. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5401. conftest.c:138:20: fatal error: ieeefp.h: No such file or directory
  5402. compilation terminated.
  5403. configure:11506: $? = 1
  5404. configure: failed program was:
  5405. | /* confdefs.h */
  5406. | #define PACKAGE_NAME ""
  5407. | #define PACKAGE_TARNAME ""
  5408. | #define PACKAGE_VERSION ""
  5409. | #define PACKAGE_STRING ""
  5410. | #define PACKAGE_BUGREPORT ""
  5411. | #define PACKAGE_URL ""
  5412. | #define CANONICALIZATION_FOR_MATHN 1
  5413. | #define STDC_HEADERS 1
  5414. | #define HAVE_SYS_TYPES_H 1
  5415. | #define HAVE_SYS_STAT_H 1
  5416. | #define HAVE_STDLIB_H 1
  5417. | #define HAVE_STRING_H 1
  5418. | #define HAVE_MEMORY_H 1
  5419. | #define HAVE_STRINGS_H 1
  5420. | #define HAVE_INTTYPES_H 1
  5421. | #define HAVE_STDINT_H 1
  5422. | #define HAVE_UNISTD_H 1
  5423. | #define __EXTENSIONS__ 1
  5424. | #define _ALL_SOURCE 1
  5425. | #define _GNU_SOURCE 1
  5426. | #define _POSIX_PTHREAD_SEMANTICS 1
  5427. | #define _TANDEM_SOURCE 1
  5428. | #define HAVE_LONG_LONG 1
  5429. | #define HAVE_OFF_T 1
  5430. | #define SIZEOF_INT 4
  5431. | #define SIZEOF_SHORT 2
  5432. | #define SIZEOF_LONG 8
  5433. | #define SIZEOF_LONG_LONG 8
  5434. | #define SIZEOF___INT64 0
  5435. | #define SIZEOF_OFF_T 8
  5436. | #define SIZEOF_VOIDP 8
  5437. | #define SIZEOF_FLOAT 4
  5438. | #define SIZEOF_DOUBLE 8
  5439. | #define SIZEOF_TIME_T 8
  5440. | #define PRI_LL_PREFIX "ll"
  5441. | #define rb_pid_t pid_t
  5442. | #define PIDT2NUM(v) INT2NUM(v)
  5443. | #define NUM2PIDT(v) NUM2INT(v)
  5444. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5445. | #define rb_uid_t uid_t
  5446. | #define UIDT2NUM(v) UINT2NUM(v)
  5447. | #define NUM2UIDT(v) NUM2UINT(v)
  5448. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5449. | #define rb_gid_t gid_t
  5450. | #define GIDT2NUM(v) UINT2NUM(v)
  5451. | #define NUM2GIDT(v) NUM2UINT(v)
  5452. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5453. | #define rb_time_t time_t
  5454. | #define TIMET2NUM(v) LONG2NUM(v)
  5455. | #define NUM2TIMET(v) NUM2LONG(v)
  5456. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  5457. | #define rb_dev_t dev_t
  5458. | #define DEVT2NUM(v) ULONG2NUM(v)
  5459. | #define NUM2DEVT(v) NUM2ULONG(v)
  5460. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  5461. | #define rb_mode_t mode_t
  5462. | #define MODET2NUM(v) UINT2NUM(v)
  5463. | #define NUM2MODET(v) NUM2UINT(v)
  5464. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  5465. | #define rb_rlim_t rlim_t
  5466. | #define RLIM2NUM(v) ULONG2NUM(v)
  5467. | #define NUM2RLIM(v) NUM2ULONG(v)
  5468. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  5469. | #define HAVE_PROTOTYPES 1
  5470. | #define TOKEN_PASTE(x,y) x##y
  5471. | #define STRINGIZE(expr) STRINGIZE0(expr)
  5472. | #define HAVE_STDARG_PROTOTYPES 1
  5473. | #define HAVE_VA_ARGS_MACRO 1
  5474. | #define NORETURN(x) __attribute__ ((noreturn)) x
  5475. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  5476. | #define NOINLINE(x) __attribute__ ((noinline)) x
  5477. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  5478. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  5479. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  5480. | #define HAVE_GCC_SYNC_BUILTINS 1
  5481. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  5482. | #define HAVE_DECL_SYS_NERR 1
  5483. | #define HAVE_LIBCRYPT 1
  5484. | #define HAVE_LIBDL 1
  5485. | #define HAVE_LIBRT 1
  5486. | #define HAVE_DIRENT_H 1
  5487. | #define HAVE__BOOL 1
  5488. | #define HAVE_STDBOOL_H 1
  5489. | #define HAVE_SYS_WAIT_H 1
  5490. | #define HAVE_LIMITS_H 1
  5491. | #define HAVE_SYS_FILE_H 1
  5492. | #define HAVE_SYS_IOCTL_H 1
  5493. | #define HAVE_SYS_SYSCALL_H 1
  5494. | #define HAVE_FCNTL_H 1
  5495. | #define HAVE_SYS_FCNTL_H 1
  5496. | #define HAVE_SYS_SELECT_H 1
  5497. | #define HAVE_SYS_TIME_H 1
  5498. | #define HAVE_SYS_TIMES_H 1
  5499. | #define HAVE_SYS_PARAM_H 1
  5500. | #define HAVE_SYSCALL_H 1
  5501. | #define HAVE_PWD_H 1
  5502. | #define HAVE_GRP_H 1
  5503. | #define HAVE_A_OUT_H 1
  5504. | #define HAVE_UTIME_H 1
  5505. | #define HAVE_SYS_RESOURCE_H 1
  5506. | #define HAVE_NETINET_IN_SYSTM_H 1
  5507. | #define HAVE_FLOAT_H 1
  5508. | /* end confdefs.h. */
  5509. | #include <stdio.h>
  5510. | #ifdef HAVE_SYS_TYPES_H
  5511. | # include <sys/types.h>
  5512. | #endif
  5513. | #ifdef HAVE_SYS_STAT_H
  5514. | # include <sys/stat.h>
  5515. | #endif
  5516. | #ifdef STDC_HEADERS
  5517. | # include <stdlib.h>
  5518. | # include <stddef.h>
  5519. | #else
  5520. | # ifdef HAVE_STDLIB_H
  5521. | # include <stdlib.h>
  5522. | # endif
  5523. | #endif
  5524. | #ifdef HAVE_STRING_H
  5525. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5526. | # include <memory.h>
  5527. | # endif
  5528. | # include <string.h>
  5529. | #endif
  5530. | #ifdef HAVE_STRINGS_H
  5531. | # include <strings.h>
  5532. | #endif
  5533. | #ifdef HAVE_INTTYPES_H
  5534. | # include <inttypes.h>
  5535. | #endif
  5536. | #ifdef HAVE_STDINT_H
  5537. | # include <stdint.h>
  5538. | #endif
  5539. | #ifdef HAVE_UNISTD_H
  5540. | # include <unistd.h>
  5541. | #endif
  5542. | #include <ieeefp.h>
  5543. configure:11506: result: no
  5544. configure:11506: checking ieeefp.h presence
  5545. configure:11506: gcc -E conftest.c
  5546. conftest.c:105:20: fatal error: ieeefp.h: No such file or directory
  5547. compilation terminated.
  5548. configure:11506: $? = 1
  5549. configure: failed program was:
  5550. | /* confdefs.h */
  5551. | #define PACKAGE_NAME ""
  5552. | #define PACKAGE_TARNAME ""
  5553. | #define PACKAGE_VERSION ""
  5554. | #define PACKAGE_STRING ""
  5555. | #define PACKAGE_BUGREPORT ""
  5556. | #define PACKAGE_URL ""
  5557. | #define CANONICALIZATION_FOR_MATHN 1
  5558. | #define STDC_HEADERS 1
  5559. | #define HAVE_SYS_TYPES_H 1
  5560. | #define HAVE_SYS_STAT_H 1
  5561. | #define HAVE_STDLIB_H 1
  5562. | #define HAVE_STRING_H 1
  5563. | #define HAVE_MEMORY_H 1
  5564. | #define HAVE_STRINGS_H 1
  5565. | #define HAVE_INTTYPES_H 1
  5566. | #define HAVE_STDINT_H 1
  5567. | #define HAVE_UNISTD_H 1
  5568. | #define __EXTENSIONS__ 1
  5569. | #define _ALL_SOURCE 1
  5570. | #define _GNU_SOURCE 1
  5571. | #define _POSIX_PTHREAD_SEMANTICS 1
  5572. | #define _TANDEM_SOURCE 1
  5573. | #define HAVE_LONG_LONG 1
  5574. | #define HAVE_OFF_T 1
  5575. | #define SIZEOF_INT 4
  5576. | #define SIZEOF_SHORT 2
  5577. | #define SIZEOF_LONG 8
  5578. | #define SIZEOF_LONG_LONG 8
  5579. | #define SIZEOF___INT64 0
  5580. | #define SIZEOF_OFF_T 8
  5581. | #define SIZEOF_VOIDP 8
  5582. | #define SIZEOF_FLOAT 4
  5583. | #define SIZEOF_DOUBLE 8
  5584. | #define SIZEOF_TIME_T 8
  5585. | #define PRI_LL_PREFIX "ll"
  5586. | #define rb_pid_t pid_t
  5587. | #define PIDT2NUM(v) INT2NUM(v)
  5588. | #define NUM2PIDT(v) NUM2INT(v)
  5589. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5590. | #define rb_uid_t uid_t
  5591. | #define UIDT2NUM(v) UINT2NUM(v)
  5592. | #define NUM2UIDT(v) NUM2UINT(v)
  5593. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5594. | #define rb_gid_t gid_t
  5595. | #define GIDT2NUM(v) UINT2NUM(v)
  5596. | #define NUM2GIDT(v) NUM2UINT(v)
  5597. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5598. | #define rb_time_t time_t
  5599. | #define TIMET2NUM(v) LONG2NUM(v)
  5600. | #define NUM2TIMET(v) NUM2LONG(v)
  5601. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  5602. | #define rb_dev_t dev_t
  5603. | #define DEVT2NUM(v) ULONG2NUM(v)
  5604. | #define NUM2DEVT(v) NUM2ULONG(v)
  5605. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  5606. | #define rb_mode_t mode_t
  5607. | #define MODET2NUM(v) UINT2NUM(v)
  5608. | #define NUM2MODET(v) NUM2UINT(v)
  5609. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  5610. | #define rb_rlim_t rlim_t
  5611. | #define RLIM2NUM(v) ULONG2NUM(v)
  5612. | #define NUM2RLIM(v) NUM2ULONG(v)
  5613. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  5614. | #define HAVE_PROTOTYPES 1
  5615. | #define TOKEN_PASTE(x,y) x##y
  5616. | #define STRINGIZE(expr) STRINGIZE0(expr)
  5617. | #define HAVE_STDARG_PROTOTYPES 1
  5618. | #define HAVE_VA_ARGS_MACRO 1
  5619. | #define NORETURN(x) __attribute__ ((noreturn)) x
  5620. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  5621. | #define NOINLINE(x) __attribute__ ((noinline)) x
  5622. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  5623. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  5624. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  5625. | #define HAVE_GCC_SYNC_BUILTINS 1
  5626. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  5627. | #define HAVE_DECL_SYS_NERR 1
  5628. | #define HAVE_LIBCRYPT 1
  5629. | #define HAVE_LIBDL 1
  5630. | #define HAVE_LIBRT 1
  5631. | #define HAVE_DIRENT_H 1
  5632. | #define HAVE__BOOL 1
  5633. | #define HAVE_STDBOOL_H 1
  5634. | #define HAVE_SYS_WAIT_H 1
  5635. | #define HAVE_LIMITS_H 1
  5636. | #define HAVE_SYS_FILE_H 1
  5637. | #define HAVE_SYS_IOCTL_H 1
  5638. | #define HAVE_SYS_SYSCALL_H 1
  5639. | #define HAVE_FCNTL_H 1
  5640. | #define HAVE_SYS_FCNTL_H 1
  5641. | #define HAVE_SYS_SELECT_H 1
  5642. | #define HAVE_SYS_TIME_H 1
  5643. | #define HAVE_SYS_TIMES_H 1
  5644. | #define HAVE_SYS_PARAM_H 1
  5645. | #define HAVE_SYSCALL_H 1
  5646. | #define HAVE_PWD_H 1
  5647. | #define HAVE_GRP_H 1
  5648. | #define HAVE_A_OUT_H 1
  5649. | #define HAVE_UTIME_H 1
  5650. | #define HAVE_SYS_RESOURCE_H 1
  5651. | #define HAVE_NETINET_IN_SYSTM_H 1
  5652. | #define HAVE_FLOAT_H 1
  5653. | /* end confdefs.h. */
  5654. | #include <ieeefp.h>
  5655. configure:11506: result: no
  5656. configure:11506: checking for ieeefp.h
  5657. configure:11506: result: no
  5658. configure:11506: checking ucontext.h usability
  5659. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5660. configure:11506: $? = 0
  5661. configure:11506: result: yes
  5662. configure:11506: checking ucontext.h presence
  5663. configure:11506: gcc -E conftest.c
  5664. configure:11506: $? = 0
  5665. configure:11506: result: yes
  5666. configure:11506: checking for ucontext.h
  5667. configure:11506: result: yes
  5668. configure:11506: checking intrinsics.h usability
  5669. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5670. conftest.c:139:24: fatal error: intrinsics.h: No such file or directory
  5671. compilation terminated.
  5672. configure:11506: $? = 1
  5673. configure: failed program was:
  5674. | /* confdefs.h */
  5675. | #define PACKAGE_NAME ""
  5676. | #define PACKAGE_TARNAME ""
  5677. | #define PACKAGE_VERSION ""
  5678. | #define PACKAGE_STRING ""
  5679. | #define PACKAGE_BUGREPORT ""
  5680. | #define PACKAGE_URL ""
  5681. | #define CANONICALIZATION_FOR_MATHN 1
  5682. | #define STDC_HEADERS 1
  5683. | #define HAVE_SYS_TYPES_H 1
  5684. | #define HAVE_SYS_STAT_H 1
  5685. | #define HAVE_STDLIB_H 1
  5686. | #define HAVE_STRING_H 1
  5687. | #define HAVE_MEMORY_H 1
  5688. | #define HAVE_STRINGS_H 1
  5689. | #define HAVE_INTTYPES_H 1
  5690. | #define HAVE_STDINT_H 1
  5691. | #define HAVE_UNISTD_H 1
  5692. | #define __EXTENSIONS__ 1
  5693. | #define _ALL_SOURCE 1
  5694. | #define _GNU_SOURCE 1
  5695. | #define _POSIX_PTHREAD_SEMANTICS 1
  5696. | #define _TANDEM_SOURCE 1
  5697. | #define HAVE_LONG_LONG 1
  5698. | #define HAVE_OFF_T 1
  5699. | #define SIZEOF_INT 4
  5700. | #define SIZEOF_SHORT 2
  5701. | #define SIZEOF_LONG 8
  5702. | #define SIZEOF_LONG_LONG 8
  5703. | #define SIZEOF___INT64 0
  5704. | #define SIZEOF_OFF_T 8
  5705. | #define SIZEOF_VOIDP 8
  5706. | #define SIZEOF_FLOAT 4
  5707. | #define SIZEOF_DOUBLE 8
  5708. | #define SIZEOF_TIME_T 8
  5709. | #define PRI_LL_PREFIX "ll"
  5710. | #define rb_pid_t pid_t
  5711. | #define PIDT2NUM(v) INT2NUM(v)
  5712. | #define NUM2PIDT(v) NUM2INT(v)
  5713. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5714. | #define rb_uid_t uid_t
  5715. | #define UIDT2NUM(v) UINT2NUM(v)
  5716. | #define NUM2UIDT(v) NUM2UINT(v)
  5717. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5718. | #define rb_gid_t gid_t
  5719. | #define GIDT2NUM(v) UINT2NUM(v)
  5720. | #define NUM2GIDT(v) NUM2UINT(v)
  5721. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5722. | #define rb_time_t time_t
  5723. | #define TIMET2NUM(v) LONG2NUM(v)
  5724. | #define NUM2TIMET(v) NUM2LONG(v)
  5725. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  5726. | #define rb_dev_t dev_t
  5727. | #define DEVT2NUM(v) ULONG2NUM(v)
  5728. | #define NUM2DEVT(v) NUM2ULONG(v)
  5729. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  5730. | #define rb_mode_t mode_t
  5731. | #define MODET2NUM(v) UINT2NUM(v)
  5732. | #define NUM2MODET(v) NUM2UINT(v)
  5733. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  5734. | #define rb_rlim_t rlim_t
  5735. | #define RLIM2NUM(v) ULONG2NUM(v)
  5736. | #define NUM2RLIM(v) NUM2ULONG(v)
  5737. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  5738. | #define HAVE_PROTOTYPES 1
  5739. | #define TOKEN_PASTE(x,y) x##y
  5740. | #define STRINGIZE(expr) STRINGIZE0(expr)
  5741. | #define HAVE_STDARG_PROTOTYPES 1
  5742. | #define HAVE_VA_ARGS_MACRO 1
  5743. | #define NORETURN(x) __attribute__ ((noreturn)) x
  5744. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  5745. | #define NOINLINE(x) __attribute__ ((noinline)) x
  5746. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  5747. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  5748. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  5749. | #define HAVE_GCC_SYNC_BUILTINS 1
  5750. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  5751. | #define HAVE_DECL_SYS_NERR 1
  5752. | #define HAVE_LIBCRYPT 1
  5753. | #define HAVE_LIBDL 1
  5754. | #define HAVE_LIBRT 1
  5755. | #define HAVE_DIRENT_H 1
  5756. | #define HAVE__BOOL 1
  5757. | #define HAVE_STDBOOL_H 1
  5758. | #define HAVE_SYS_WAIT_H 1
  5759. | #define HAVE_LIMITS_H 1
  5760. | #define HAVE_SYS_FILE_H 1
  5761. | #define HAVE_SYS_IOCTL_H 1
  5762. | #define HAVE_SYS_SYSCALL_H 1
  5763. | #define HAVE_FCNTL_H 1
  5764. | #define HAVE_SYS_FCNTL_H 1
  5765. | #define HAVE_SYS_SELECT_H 1
  5766. | #define HAVE_SYS_TIME_H 1
  5767. | #define HAVE_SYS_TIMES_H 1
  5768. | #define HAVE_SYS_PARAM_H 1
  5769. | #define HAVE_SYSCALL_H 1
  5770. | #define HAVE_PWD_H 1
  5771. | #define HAVE_GRP_H 1
  5772. | #define HAVE_A_OUT_H 1
  5773. | #define HAVE_UTIME_H 1
  5774. | #define HAVE_SYS_RESOURCE_H 1
  5775. | #define HAVE_NETINET_IN_SYSTM_H 1
  5776. | #define HAVE_FLOAT_H 1
  5777. | #define HAVE_UCONTEXT_H 1
  5778. | /* end confdefs.h. */
  5779. | #include <stdio.h>
  5780. | #ifdef HAVE_SYS_TYPES_H
  5781. | # include <sys/types.h>
  5782. | #endif
  5783. | #ifdef HAVE_SYS_STAT_H
  5784. | # include <sys/stat.h>
  5785. | #endif
  5786. | #ifdef STDC_HEADERS
  5787. | # include <stdlib.h>
  5788. | # include <stddef.h>
  5789. | #else
  5790. | # ifdef HAVE_STDLIB_H
  5791. | # include <stdlib.h>
  5792. | # endif
  5793. | #endif
  5794. | #ifdef HAVE_STRING_H
  5795. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5796. | # include <memory.h>
  5797. | # endif
  5798. | # include <string.h>
  5799. | #endif
  5800. | #ifdef HAVE_STRINGS_H
  5801. | # include <strings.h>
  5802. | #endif
  5803. | #ifdef HAVE_INTTYPES_H
  5804. | # include <inttypes.h>
  5805. | #endif
  5806. | #ifdef HAVE_STDINT_H
  5807. | # include <stdint.h>
  5808. | #endif
  5809. | #ifdef HAVE_UNISTD_H
  5810. | # include <unistd.h>
  5811. | #endif
  5812. | #include <intrinsics.h>
  5813. configure:11506: result: no
  5814. configure:11506: checking intrinsics.h presence
  5815. configure:11506: gcc -E conftest.c
  5816. conftest.c:106:24: fatal error: intrinsics.h: No such file or directory
  5817. compilation terminated.
  5818. configure:11506: $? = 1
  5819. configure: failed program was:
  5820. | /* confdefs.h */
  5821. | #define PACKAGE_NAME ""
  5822. | #define PACKAGE_TARNAME ""
  5823. | #define PACKAGE_VERSION ""
  5824. | #define PACKAGE_STRING ""
  5825. | #define PACKAGE_BUGREPORT ""
  5826. | #define PACKAGE_URL ""
  5827. | #define CANONICALIZATION_FOR_MATHN 1
  5828. | #define STDC_HEADERS 1
  5829. | #define HAVE_SYS_TYPES_H 1
  5830. | #define HAVE_SYS_STAT_H 1
  5831. | #define HAVE_STDLIB_H 1
  5832. | #define HAVE_STRING_H 1
  5833. | #define HAVE_MEMORY_H 1
  5834. | #define HAVE_STRINGS_H 1
  5835. | #define HAVE_INTTYPES_H 1
  5836. | #define HAVE_STDINT_H 1
  5837. | #define HAVE_UNISTD_H 1
  5838. | #define __EXTENSIONS__ 1
  5839. | #define _ALL_SOURCE 1
  5840. | #define _GNU_SOURCE 1
  5841. | #define _POSIX_PTHREAD_SEMANTICS 1
  5842. | #define _TANDEM_SOURCE 1
  5843. | #define HAVE_LONG_LONG 1
  5844. | #define HAVE_OFF_T 1
  5845. | #define SIZEOF_INT 4
  5846. | #define SIZEOF_SHORT 2
  5847. | #define SIZEOF_LONG 8
  5848. | #define SIZEOF_LONG_LONG 8
  5849. | #define SIZEOF___INT64 0
  5850. | #define SIZEOF_OFF_T 8
  5851. | #define SIZEOF_VOIDP 8
  5852. | #define SIZEOF_FLOAT 4
  5853. | #define SIZEOF_DOUBLE 8
  5854. | #define SIZEOF_TIME_T 8
  5855. | #define PRI_LL_PREFIX "ll"
  5856. | #define rb_pid_t pid_t
  5857. | #define PIDT2NUM(v) INT2NUM(v)
  5858. | #define NUM2PIDT(v) NUM2INT(v)
  5859. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5860. | #define rb_uid_t uid_t
  5861. | #define UIDT2NUM(v) UINT2NUM(v)
  5862. | #define NUM2UIDT(v) NUM2UINT(v)
  5863. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5864. | #define rb_gid_t gid_t
  5865. | #define GIDT2NUM(v) UINT2NUM(v)
  5866. | #define NUM2GIDT(v) NUM2UINT(v)
  5867. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5868. | #define rb_time_t time_t
  5869. | #define TIMET2NUM(v) LONG2NUM(v)
  5870. | #define NUM2TIMET(v) NUM2LONG(v)
  5871. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  5872. | #define rb_dev_t dev_t
  5873. | #define DEVT2NUM(v) ULONG2NUM(v)
  5874. | #define NUM2DEVT(v) NUM2ULONG(v)
  5875. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  5876. | #define rb_mode_t mode_t
  5877. | #define MODET2NUM(v) UINT2NUM(v)
  5878. | #define NUM2MODET(v) NUM2UINT(v)
  5879. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  5880. | #define rb_rlim_t rlim_t
  5881. | #define RLIM2NUM(v) ULONG2NUM(v)
  5882. | #define NUM2RLIM(v) NUM2ULONG(v)
  5883. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  5884. | #define HAVE_PROTOTYPES 1
  5885. | #define TOKEN_PASTE(x,y) x##y
  5886. | #define STRINGIZE(expr) STRINGIZE0(expr)
  5887. | #define HAVE_STDARG_PROTOTYPES 1
  5888. | #define HAVE_VA_ARGS_MACRO 1
  5889. | #define NORETURN(x) __attribute__ ((noreturn)) x
  5890. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  5891. | #define NOINLINE(x) __attribute__ ((noinline)) x
  5892. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  5893. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  5894. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  5895. | #define HAVE_GCC_SYNC_BUILTINS 1
  5896. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  5897. | #define HAVE_DECL_SYS_NERR 1
  5898. | #define HAVE_LIBCRYPT 1
  5899. | #define HAVE_LIBDL 1
  5900. | #define HAVE_LIBRT 1
  5901. | #define HAVE_DIRENT_H 1
  5902. | #define HAVE__BOOL 1
  5903. | #define HAVE_STDBOOL_H 1
  5904. | #define HAVE_SYS_WAIT_H 1
  5905. | #define HAVE_LIMITS_H 1
  5906. | #define HAVE_SYS_FILE_H 1
  5907. | #define HAVE_SYS_IOCTL_H 1
  5908. | #define HAVE_SYS_SYSCALL_H 1
  5909. | #define HAVE_FCNTL_H 1
  5910. | #define HAVE_SYS_FCNTL_H 1
  5911. | #define HAVE_SYS_SELECT_H 1
  5912. | #define HAVE_SYS_TIME_H 1
  5913. | #define HAVE_SYS_TIMES_H 1
  5914. | #define HAVE_SYS_PARAM_H 1
  5915. | #define HAVE_SYSCALL_H 1
  5916. | #define HAVE_PWD_H 1
  5917. | #define HAVE_GRP_H 1
  5918. | #define HAVE_A_OUT_H 1
  5919. | #define HAVE_UTIME_H 1
  5920. | #define HAVE_SYS_RESOURCE_H 1
  5921. | #define HAVE_NETINET_IN_SYSTM_H 1
  5922. | #define HAVE_FLOAT_H 1
  5923. | #define HAVE_UCONTEXT_H 1
  5924. | /* end confdefs.h. */
  5925. | #include <intrinsics.h>
  5926. configure:11506: result: no
  5927. configure:11506: checking for intrinsics.h
  5928. configure:11506: result: no
  5929. configure:11506: checking langinfo.h usability
  5930. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5931. configure:11506: $? = 0
  5932. configure:11506: result: yes
  5933. configure:11506: checking langinfo.h presence
  5934. configure:11506: gcc -E conftest.c
  5935. configure:11506: $? = 0
  5936. configure:11506: result: yes
  5937. configure:11506: checking for langinfo.h
  5938. configure:11506: result: yes
  5939. configure:11506: checking locale.h usability
  5940. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5941. configure:11506: $? = 0
  5942. configure:11506: result: yes
  5943. configure:11506: checking locale.h presence
  5944. configure:11506: gcc -E conftest.c
  5945. configure:11506: $? = 0
  5946. configure:11506: result: yes
  5947. configure:11506: checking for locale.h
  5948. configure:11506: result: yes
  5949. configure:11506: checking sys/sendfile.h usability
  5950. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5951. configure:11506: $? = 0
  5952. configure:11506: result: yes
  5953. configure:11506: checking sys/sendfile.h presence
  5954. configure:11506: gcc -E conftest.c
  5955. configure:11506: $? = 0
  5956. configure:11506: result: yes
  5957. configure:11506: checking for sys/sendfile.h
  5958. configure:11506: result: yes
  5959. configure:11506: checking time.h usability
  5960. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5961. configure:11506: $? = 0
  5962. configure:11506: result: yes
  5963. configure:11506: checking time.h presence
  5964. configure:11506: gcc -E conftest.c
  5965. configure:11506: $? = 0
  5966. configure:11506: result: yes
  5967. configure:11506: checking for time.h
  5968. configure:11506: result: yes
  5969. configure:11506: checking for net/socket.h
  5970. configure:11506: result: no
  5971. configure:11506: checking for sys/socket.h
  5972. configure:11506: result: yes
  5973. configure:11506: checking process.h usability
  5974. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  5975. conftest.c:144:21: fatal error: process.h: No such file or directory
  5976. compilation terminated.
  5977. configure:11506: $? = 1
  5978. configure: failed program was:
  5979. | /* confdefs.h */
  5980. | #define PACKAGE_NAME ""
  5981. | #define PACKAGE_TARNAME ""
  5982. | #define PACKAGE_VERSION ""
  5983. | #define PACKAGE_STRING ""
  5984. | #define PACKAGE_BUGREPORT ""
  5985. | #define PACKAGE_URL ""
  5986. | #define CANONICALIZATION_FOR_MATHN 1
  5987. | #define STDC_HEADERS 1
  5988. | #define HAVE_SYS_TYPES_H 1
  5989. | #define HAVE_SYS_STAT_H 1
  5990. | #define HAVE_STDLIB_H 1
  5991. | #define HAVE_STRING_H 1
  5992. | #define HAVE_MEMORY_H 1
  5993. | #define HAVE_STRINGS_H 1
  5994. | #define HAVE_INTTYPES_H 1
  5995. | #define HAVE_STDINT_H 1
  5996. | #define HAVE_UNISTD_H 1
  5997. | #define __EXTENSIONS__ 1
  5998. | #define _ALL_SOURCE 1
  5999. | #define _GNU_SOURCE 1
  6000. | #define _POSIX_PTHREAD_SEMANTICS 1
  6001. | #define _TANDEM_SOURCE 1
  6002. | #define HAVE_LONG_LONG 1
  6003. | #define HAVE_OFF_T 1
  6004. | #define SIZEOF_INT 4
  6005. | #define SIZEOF_SHORT 2
  6006. | #define SIZEOF_LONG 8
  6007. | #define SIZEOF_LONG_LONG 8
  6008. | #define SIZEOF___INT64 0
  6009. | #define SIZEOF_OFF_T 8
  6010. | #define SIZEOF_VOIDP 8
  6011. | #define SIZEOF_FLOAT 4
  6012. | #define SIZEOF_DOUBLE 8
  6013. | #define SIZEOF_TIME_T 8
  6014. | #define PRI_LL_PREFIX "ll"
  6015. | #define rb_pid_t pid_t
  6016. | #define PIDT2NUM(v) INT2NUM(v)
  6017. | #define NUM2PIDT(v) NUM2INT(v)
  6018. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6019. | #define rb_uid_t uid_t
  6020. | #define UIDT2NUM(v) UINT2NUM(v)
  6021. | #define NUM2UIDT(v) NUM2UINT(v)
  6022. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6023. | #define rb_gid_t gid_t
  6024. | #define GIDT2NUM(v) UINT2NUM(v)
  6025. | #define NUM2GIDT(v) NUM2UINT(v)
  6026. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6027. | #define rb_time_t time_t
  6028. | #define TIMET2NUM(v) LONG2NUM(v)
  6029. | #define NUM2TIMET(v) NUM2LONG(v)
  6030. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6031. | #define rb_dev_t dev_t
  6032. | #define DEVT2NUM(v) ULONG2NUM(v)
  6033. | #define NUM2DEVT(v) NUM2ULONG(v)
  6034. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6035. | #define rb_mode_t mode_t
  6036. | #define MODET2NUM(v) UINT2NUM(v)
  6037. | #define NUM2MODET(v) NUM2UINT(v)
  6038. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6039. | #define rb_rlim_t rlim_t
  6040. | #define RLIM2NUM(v) ULONG2NUM(v)
  6041. | #define NUM2RLIM(v) NUM2ULONG(v)
  6042. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  6043. | #define HAVE_PROTOTYPES 1
  6044. | #define TOKEN_PASTE(x,y) x##y
  6045. | #define STRINGIZE(expr) STRINGIZE0(expr)
  6046. | #define HAVE_STDARG_PROTOTYPES 1
  6047. | #define HAVE_VA_ARGS_MACRO 1
  6048. | #define NORETURN(x) __attribute__ ((noreturn)) x
  6049. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  6050. | #define NOINLINE(x) __attribute__ ((noinline)) x
  6051. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  6052. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  6053. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  6054. | #define HAVE_GCC_SYNC_BUILTINS 1
  6055. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  6056. | #define HAVE_DECL_SYS_NERR 1
  6057. | #define HAVE_LIBCRYPT 1
  6058. | #define HAVE_LIBDL 1
  6059. | #define HAVE_LIBRT 1
  6060. | #define HAVE_DIRENT_H 1
  6061. | #define HAVE__BOOL 1
  6062. | #define HAVE_STDBOOL_H 1
  6063. | #define HAVE_SYS_WAIT_H 1
  6064. | #define HAVE_LIMITS_H 1
  6065. | #define HAVE_SYS_FILE_H 1
  6066. | #define HAVE_SYS_IOCTL_H 1
  6067. | #define HAVE_SYS_SYSCALL_H 1
  6068. | #define HAVE_FCNTL_H 1
  6069. | #define HAVE_SYS_FCNTL_H 1
  6070. | #define HAVE_SYS_SELECT_H 1
  6071. | #define HAVE_SYS_TIME_H 1
  6072. | #define HAVE_SYS_TIMES_H 1
  6073. | #define HAVE_SYS_PARAM_H 1
  6074. | #define HAVE_SYSCALL_H 1
  6075. | #define HAVE_PWD_H 1
  6076. | #define HAVE_GRP_H 1
  6077. | #define HAVE_A_OUT_H 1
  6078. | #define HAVE_UTIME_H 1
  6079. | #define HAVE_SYS_RESOURCE_H 1
  6080. | #define HAVE_NETINET_IN_SYSTM_H 1
  6081. | #define HAVE_FLOAT_H 1
  6082. | #define HAVE_UCONTEXT_H 1
  6083. | #define HAVE_LANGINFO_H 1
  6084. | #define HAVE_LOCALE_H 1
  6085. | #define HAVE_SYS_SENDFILE_H 1
  6086. | #define HAVE_TIME_H 1
  6087. | #define HAVE_SYS_SOCKET_H 1
  6088. | /* end confdefs.h. */
  6089. | #include <stdio.h>
  6090. | #ifdef HAVE_SYS_TYPES_H
  6091. | # include <sys/types.h>
  6092. | #endif
  6093. | #ifdef HAVE_SYS_STAT_H
  6094. | # include <sys/stat.h>
  6095. | #endif
  6096. | #ifdef STDC_HEADERS
  6097. | # include <stdlib.h>
  6098. | # include <stddef.h>
  6099. | #else
  6100. | # ifdef HAVE_STDLIB_H
  6101. | # include <stdlib.h>
  6102. | # endif
  6103. | #endif
  6104. | #ifdef HAVE_STRING_H
  6105. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6106. | # include <memory.h>
  6107. | # endif
  6108. | # include <string.h>
  6109. | #endif
  6110. | #ifdef HAVE_STRINGS_H
  6111. | # include <strings.h>
  6112. | #endif
  6113. | #ifdef HAVE_INTTYPES_H
  6114. | # include <inttypes.h>
  6115. | #endif
  6116. | #ifdef HAVE_STDINT_H
  6117. | # include <stdint.h>
  6118. | #endif
  6119. | #ifdef HAVE_UNISTD_H
  6120. | # include <unistd.h>
  6121. | #endif
  6122. | #include <process.h>
  6123. configure:11506: result: no
  6124. configure:11506: checking process.h presence
  6125. configure:11506: gcc -E conftest.c
  6126. conftest.c:111:21: fatal error: process.h: No such file or directory
  6127. compilation terminated.
  6128. configure:11506: $? = 1
  6129. configure: failed program was:
  6130. | /* confdefs.h */
  6131. | #define PACKAGE_NAME ""
  6132. | #define PACKAGE_TARNAME ""
  6133. | #define PACKAGE_VERSION ""
  6134. | #define PACKAGE_STRING ""
  6135. | #define PACKAGE_BUGREPORT ""
  6136. | #define PACKAGE_URL ""
  6137. | #define CANONICALIZATION_FOR_MATHN 1
  6138. | #define STDC_HEADERS 1
  6139. | #define HAVE_SYS_TYPES_H 1
  6140. | #define HAVE_SYS_STAT_H 1
  6141. | #define HAVE_STDLIB_H 1
  6142. | #define HAVE_STRING_H 1
  6143. | #define HAVE_MEMORY_H 1
  6144. | #define HAVE_STRINGS_H 1
  6145. | #define HAVE_INTTYPES_H 1
  6146. | #define HAVE_STDINT_H 1
  6147. | #define HAVE_UNISTD_H 1
  6148. | #define __EXTENSIONS__ 1
  6149. | #define _ALL_SOURCE 1
  6150. | #define _GNU_SOURCE 1
  6151. | #define _POSIX_PTHREAD_SEMANTICS 1
  6152. | #define _TANDEM_SOURCE 1
  6153. | #define HAVE_LONG_LONG 1
  6154. | #define HAVE_OFF_T 1
  6155. | #define SIZEOF_INT 4
  6156. | #define SIZEOF_SHORT 2
  6157. | #define SIZEOF_LONG 8
  6158. | #define SIZEOF_LONG_LONG 8
  6159. | #define SIZEOF___INT64 0
  6160. | #define SIZEOF_OFF_T 8
  6161. | #define SIZEOF_VOIDP 8
  6162. | #define SIZEOF_FLOAT 4
  6163. | #define SIZEOF_DOUBLE 8
  6164. | #define SIZEOF_TIME_T 8
  6165. | #define PRI_LL_PREFIX "ll"
  6166. | #define rb_pid_t pid_t
  6167. | #define PIDT2NUM(v) INT2NUM(v)
  6168. | #define NUM2PIDT(v) NUM2INT(v)
  6169. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6170. | #define rb_uid_t uid_t
  6171. | #define UIDT2NUM(v) UINT2NUM(v)
  6172. | #define NUM2UIDT(v) NUM2UINT(v)
  6173. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6174. | #define rb_gid_t gid_t
  6175. | #define GIDT2NUM(v) UINT2NUM(v)
  6176. | #define NUM2GIDT(v) NUM2UINT(v)
  6177. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6178. | #define rb_time_t time_t
  6179. | #define TIMET2NUM(v) LONG2NUM(v)
  6180. | #define NUM2TIMET(v) NUM2LONG(v)
  6181. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6182. | #define rb_dev_t dev_t
  6183. | #define DEVT2NUM(v) ULONG2NUM(v)
  6184. | #define NUM2DEVT(v) NUM2ULONG(v)
  6185. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6186. | #define rb_mode_t mode_t
  6187. | #define MODET2NUM(v) UINT2NUM(v)
  6188. | #define NUM2MODET(v) NUM2UINT(v)
  6189. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6190. | #define rb_rlim_t rlim_t
  6191. | #define RLIM2NUM(v) ULONG2NUM(v)
  6192. | #define NUM2RLIM(v) NUM2ULONG(v)
  6193. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  6194. | #define HAVE_PROTOTYPES 1
  6195. | #define TOKEN_PASTE(x,y) x##y
  6196. | #define STRINGIZE(expr) STRINGIZE0(expr)
  6197. | #define HAVE_STDARG_PROTOTYPES 1
  6198. | #define HAVE_VA_ARGS_MACRO 1
  6199. | #define NORETURN(x) __attribute__ ((noreturn)) x
  6200. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  6201. | #define NOINLINE(x) __attribute__ ((noinline)) x
  6202. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  6203. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  6204. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  6205. | #define HAVE_GCC_SYNC_BUILTINS 1
  6206. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  6207. | #define HAVE_DECL_SYS_NERR 1
  6208. | #define HAVE_LIBCRYPT 1
  6209. | #define HAVE_LIBDL 1
  6210. | #define HAVE_LIBRT 1
  6211. | #define HAVE_DIRENT_H 1
  6212. | #define HAVE__BOOL 1
  6213. | #define HAVE_STDBOOL_H 1
  6214. | #define HAVE_SYS_WAIT_H 1
  6215. | #define HAVE_LIMITS_H 1
  6216. | #define HAVE_SYS_FILE_H 1
  6217. | #define HAVE_SYS_IOCTL_H 1
  6218. | #define HAVE_SYS_SYSCALL_H 1
  6219. | #define HAVE_FCNTL_H 1
  6220. | #define HAVE_SYS_FCNTL_H 1
  6221. | #define HAVE_SYS_SELECT_H 1
  6222. | #define HAVE_SYS_TIME_H 1
  6223. | #define HAVE_SYS_TIMES_H 1
  6224. | #define HAVE_SYS_PARAM_H 1
  6225. | #define HAVE_SYSCALL_H 1
  6226. | #define HAVE_PWD_H 1
  6227. | #define HAVE_GRP_H 1
  6228. | #define HAVE_A_OUT_H 1
  6229. | #define HAVE_UTIME_H 1
  6230. | #define HAVE_SYS_RESOURCE_H 1
  6231. | #define HAVE_NETINET_IN_SYSTM_H 1
  6232. | #define HAVE_FLOAT_H 1
  6233. | #define HAVE_UCONTEXT_H 1
  6234. | #define HAVE_LANGINFO_H 1
  6235. | #define HAVE_LOCALE_H 1
  6236. | #define HAVE_SYS_SENDFILE_H 1
  6237. | #define HAVE_TIME_H 1
  6238. | #define HAVE_SYS_SOCKET_H 1
  6239. | /* end confdefs.h. */
  6240. | #include <process.h>
  6241. configure:11506: result: no
  6242. configure:11506: checking for process.h
  6243. configure:11506: result: no
  6244. configure:11506: checking atomic.h usability
  6245. configure:11506: gcc -c -O3 -ggdb conftest.c >&5
  6246. conftest.c:144:20: fatal error: atomic.h: No such file or directory
  6247. compilation terminated.
  6248. configure:11506: $? = 1
  6249. configure: failed program was:
  6250. | /* confdefs.h */
  6251. | #define PACKAGE_NAME ""
  6252. | #define PACKAGE_TARNAME ""
  6253. | #define PACKAGE_VERSION ""
  6254. | #define PACKAGE_STRING ""
  6255. | #define PACKAGE_BUGREPORT ""
  6256. | #define PACKAGE_URL ""
  6257. | #define CANONICALIZATION_FOR_MATHN 1
  6258. | #define STDC_HEADERS 1
  6259. | #define HAVE_SYS_TYPES_H 1
  6260. | #define HAVE_SYS_STAT_H 1
  6261. | #define HAVE_STDLIB_H 1
  6262. | #define HAVE_STRING_H 1
  6263. | #define HAVE_MEMORY_H 1
  6264. | #define HAVE_STRINGS_H 1
  6265. | #define HAVE_INTTYPES_H 1
  6266. | #define HAVE_STDINT_H 1
  6267. | #define HAVE_UNISTD_H 1
  6268. | #define __EXTENSIONS__ 1
  6269. | #define _ALL_SOURCE 1
  6270. | #define _GNU_SOURCE 1
  6271. | #define _POSIX_PTHREAD_SEMANTICS 1
  6272. | #define _TANDEM_SOURCE 1
  6273. | #define HAVE_LONG_LONG 1
  6274. | #define HAVE_OFF_T 1
  6275. | #define SIZEOF_INT 4
  6276. | #define SIZEOF_SHORT 2
  6277. | #define SIZEOF_LONG 8
  6278. | #define SIZEOF_LONG_LONG 8
  6279. | #define SIZEOF___INT64 0
  6280. | #define SIZEOF_OFF_T 8
  6281. | #define SIZEOF_VOIDP 8
  6282. | #define SIZEOF_FLOAT 4
  6283. | #define SIZEOF_DOUBLE 8
  6284. | #define SIZEOF_TIME_T 8
  6285. | #define PRI_LL_PREFIX "ll"
  6286. | #define rb_pid_t pid_t
  6287. | #define PIDT2NUM(v) INT2NUM(v)
  6288. | #define NUM2PIDT(v) NUM2INT(v)
  6289. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6290. | #define rb_uid_t uid_t
  6291. | #define UIDT2NUM(v) UINT2NUM(v)
  6292. | #define NUM2UIDT(v) NUM2UINT(v)
  6293. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6294. | #define rb_gid_t gid_t
  6295. | #define GIDT2NUM(v) UINT2NUM(v)
  6296. | #define NUM2GIDT(v) NUM2UINT(v)
  6297. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6298. | #define rb_time_t time_t
  6299. | #define TIMET2NUM(v) LONG2NUM(v)
  6300. | #define NUM2TIMET(v) NUM2LONG(v)
  6301. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6302. | #define rb_dev_t dev_t
  6303. | #define DEVT2NUM(v) ULONG2NUM(v)
  6304. | #define NUM2DEVT(v) NUM2ULONG(v)
  6305. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6306. | #define rb_mode_t mode_t
  6307. | #define MODET2NUM(v) UINT2NUM(v)
  6308. | #define NUM2MODET(v) NUM2UINT(v)
  6309. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6310. | #define rb_rlim_t rlim_t
  6311. | #define RLIM2NUM(v) ULONG2NUM(v)
  6312. | #define NUM2RLIM(v) NUM2ULONG(v)
  6313. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  6314. | #define HAVE_PROTOTYPES 1
  6315. | #define TOKEN_PASTE(x,y) x##y
  6316. | #define STRINGIZE(expr) STRINGIZE0(expr)
  6317. | #define HAVE_STDARG_PROTOTYPES 1
  6318. | #define HAVE_VA_ARGS_MACRO 1
  6319. | #define NORETURN(x) __attribute__ ((noreturn)) x
  6320. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  6321. | #define NOINLINE(x) __attribute__ ((noinline)) x
  6322. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  6323. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  6324. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  6325. | #define HAVE_GCC_SYNC_BUILTINS 1
  6326. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  6327. | #define HAVE_DECL_SYS_NERR 1
  6328. | #define HAVE_LIBCRYPT 1
  6329. | #define HAVE_LIBDL 1
  6330. | #define HAVE_LIBRT 1
  6331. | #define HAVE_DIRENT_H 1
  6332. | #define HAVE__BOOL 1
  6333. | #define HAVE_STDBOOL_H 1
  6334. | #define HAVE_SYS_WAIT_H 1
  6335. | #define HAVE_LIMITS_H 1
  6336. | #define HAVE_SYS_FILE_H 1
  6337. | #define HAVE_SYS_IOCTL_H 1
  6338. | #define HAVE_SYS_SYSCALL_H 1
  6339. | #define HAVE_FCNTL_H 1
  6340. | #define HAVE_SYS_FCNTL_H 1
  6341. | #define HAVE_SYS_SELECT_H 1
  6342. | #define HAVE_SYS_TIME_H 1
  6343. | #define HAVE_SYS_TIMES_H 1
  6344. | #define HAVE_SYS_PARAM_H 1
  6345. | #define HAVE_SYSCALL_H 1
  6346. | #define HAVE_PWD_H 1
  6347. | #define HAVE_GRP_H 1
  6348. | #define HAVE_A_OUT_H 1
  6349. | #define HAVE_UTIME_H 1
  6350. | #define HAVE_SYS_RESOURCE_H 1
  6351. | #define HAVE_NETINET_IN_SYSTM_H 1
  6352. | #define HAVE_FLOAT_H 1
  6353. | #define HAVE_UCONTEXT_H 1
  6354. | #define HAVE_LANGINFO_H 1
  6355. | #define HAVE_LOCALE_H 1
  6356. | #define HAVE_SYS_SENDFILE_H 1
  6357. | #define HAVE_TIME_H 1
  6358. | #define HAVE_SYS_SOCKET_H 1
  6359. | /* end confdefs.h. */
  6360. | #include <stdio.h>
  6361. | #ifdef HAVE_SYS_TYPES_H
  6362. | # include <sys/types.h>
  6363. | #endif
  6364. | #ifdef HAVE_SYS_STAT_H
  6365. | # include <sys/stat.h>
  6366. | #endif
  6367. | #ifdef STDC_HEADERS
  6368. | # include <stdlib.h>
  6369. | # include <stddef.h>
  6370. | #else
  6371. | # ifdef HAVE_STDLIB_H
  6372. | # include <stdlib.h>
  6373. | # endif
  6374. | #endif
  6375. | #ifdef HAVE_STRING_H
  6376. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6377. | # include <memory.h>
  6378. | # endif
  6379. | # include <string.h>
  6380. | #endif
  6381. | #ifdef HAVE_STRINGS_H
  6382. | # include <strings.h>
  6383. | #endif
  6384. | #ifdef HAVE_INTTYPES_H
  6385. | # include <inttypes.h>
  6386. | #endif
  6387. | #ifdef HAVE_STDINT_H
  6388. | # include <stdint.h>
  6389. | #endif
  6390. | #ifdef HAVE_UNISTD_H
  6391. | # include <unistd.h>
  6392. | #endif
  6393. | #include <atomic.h>
  6394. configure:11506: result: no
  6395. configure:11506: checking atomic.h presence
  6396. configure:11506: gcc -E conftest.c
  6397. conftest.c:111:20: fatal error: atomic.h: No such file or directory
  6398. compilation terminated.
  6399. configure:11506: $? = 1
  6400. configure: failed program was:
  6401. | /* confdefs.h */
  6402. | #define PACKAGE_NAME ""
  6403. | #define PACKAGE_TARNAME ""
  6404. | #define PACKAGE_VERSION ""
  6405. | #define PACKAGE_STRING ""
  6406. | #define PACKAGE_BUGREPORT ""
  6407. | #define PACKAGE_URL ""
  6408. | #define CANONICALIZATION_FOR_MATHN 1
  6409. | #define STDC_HEADERS 1
  6410. | #define HAVE_SYS_TYPES_H 1
  6411. | #define HAVE_SYS_STAT_H 1
  6412. | #define HAVE_STDLIB_H 1
  6413. | #define HAVE_STRING_H 1
  6414. | #define HAVE_MEMORY_H 1
  6415. | #define HAVE_STRINGS_H 1
  6416. | #define HAVE_INTTYPES_H 1
  6417. | #define HAVE_STDINT_H 1
  6418. | #define HAVE_UNISTD_H 1
  6419. | #define __EXTENSIONS__ 1
  6420. | #define _ALL_SOURCE 1
  6421. | #define _GNU_SOURCE 1
  6422. | #define _POSIX_PTHREAD_SEMANTICS 1
  6423. | #define _TANDEM_SOURCE 1
  6424. | #define HAVE_LONG_LONG 1
  6425. | #define HAVE_OFF_T 1
  6426. | #define SIZEOF_INT 4
  6427. | #define SIZEOF_SHORT 2
  6428. | #define SIZEOF_LONG 8
  6429. | #define SIZEOF_LONG_LONG 8
  6430. | #define SIZEOF___INT64 0
  6431. | #define SIZEOF_OFF_T 8
  6432. | #define SIZEOF_VOIDP 8
  6433. | #define SIZEOF_FLOAT 4
  6434. | #define SIZEOF_DOUBLE 8
  6435. | #define SIZEOF_TIME_T 8
  6436. | #define PRI_LL_PREFIX "ll"
  6437. | #define rb_pid_t pid_t
  6438. | #define PIDT2NUM(v) INT2NUM(v)
  6439. | #define NUM2PIDT(v) NUM2INT(v)
  6440. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6441. | #define rb_uid_t uid_t
  6442. | #define UIDT2NUM(v) UINT2NUM(v)
  6443. | #define NUM2UIDT(v) NUM2UINT(v)
  6444. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6445. | #define rb_gid_t gid_t
  6446. | #define GIDT2NUM(v) UINT2NUM(v)
  6447. | #define NUM2GIDT(v) NUM2UINT(v)
  6448. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6449. | #define rb_time_t time_t
  6450. | #define TIMET2NUM(v) LONG2NUM(v)
  6451. | #define NUM2TIMET(v) NUM2LONG(v)
  6452. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6453. | #define rb_dev_t dev_t
  6454. | #define DEVT2NUM(v) ULONG2NUM(v)
  6455. | #define NUM2DEVT(v) NUM2ULONG(v)
  6456. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6457. | #define rb_mode_t mode_t
  6458. | #define MODET2NUM(v) UINT2NUM(v)
  6459. | #define NUM2MODET(v) NUM2UINT(v)
  6460. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6461. | #define rb_rlim_t rlim_t
  6462. | #define RLIM2NUM(v) ULONG2NUM(v)
  6463. | #define NUM2RLIM(v) NUM2ULONG(v)
  6464. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  6465. | #define HAVE_PROTOTYPES 1
  6466. | #define TOKEN_PASTE(x,y) x##y
  6467. | #define STRINGIZE(expr) STRINGIZE0(expr)
  6468. | #define HAVE_STDARG_PROTOTYPES 1
  6469. | #define HAVE_VA_ARGS_MACRO 1
  6470. | #define NORETURN(x) __attribute__ ((noreturn)) x
  6471. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  6472. | #define NOINLINE(x) __attribute__ ((noinline)) x
  6473. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  6474. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  6475. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  6476. | #define HAVE_GCC_SYNC_BUILTINS 1
  6477. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  6478. | #define HAVE_DECL_SYS_NERR 1
  6479. | #define HAVE_LIBCRYPT 1
  6480. | #define HAVE_LIBDL 1
  6481. | #define HAVE_LIBRT 1
  6482. | #define HAVE_DIRENT_H 1
  6483. | #define HAVE__BOOL 1
  6484. | #define HAVE_STDBOOL_H 1
  6485. | #define HAVE_SYS_WAIT_H 1
  6486. | #define HAVE_LIMITS_H 1
  6487. | #define HAVE_SYS_FILE_H 1
  6488. | #define HAVE_SYS_IOCTL_H 1
  6489. | #define HAVE_SYS_SYSCALL_H 1
  6490. | #define HAVE_FCNTL_H 1
  6491. | #define HAVE_SYS_FCNTL_H 1
  6492. | #define HAVE_SYS_SELECT_H 1
  6493. | #define HAVE_SYS_TIME_H 1
  6494. | #define HAVE_SYS_TIMES_H 1
  6495. | #define HAVE_SYS_PARAM_H 1
  6496. | #define HAVE_SYSCALL_H 1
  6497. | #define HAVE_PWD_H 1
  6498. | #define HAVE_GRP_H 1
  6499. | #define HAVE_A_OUT_H 1
  6500. | #define HAVE_UTIME_H 1
  6501. | #define HAVE_SYS_RESOURCE_H 1
  6502. | #define HAVE_NETINET_IN_SYSTM_H 1
  6503. | #define HAVE_FLOAT_H 1
  6504. | #define HAVE_UCONTEXT_H 1
  6505. | #define HAVE_LANGINFO_H 1
  6506. | #define HAVE_LOCALE_H 1
  6507. | #define HAVE_SYS_SENDFILE_H 1
  6508. | #define HAVE_TIME_H 1
  6509. | #define HAVE_SYS_SOCKET_H 1
  6510. | /* end confdefs.h. */
  6511. | #include <atomic.h>
  6512. configure:11506: result: no
  6513. configure:11506: checking for atomic.h
  6514. configure:11506: result: no
  6515. configure:11517: checking for size_t
  6516. configure:11517: gcc -c -O3 -ggdb conftest.c >&5
  6517. configure:11517: $? = 0
  6518. configure:11517: gcc -c -O3 -ggdb conftest.c >&5
  6519. conftest.c: In function 'main':
  6520. conftest.c:147:21: error: expected expression before ')' token
  6521. if (sizeof ((size_t)))
  6522. ^
  6523. configure:11517: $? = 1
  6524. configure: failed program was:
  6525. | /* confdefs.h */
  6526. | #define PACKAGE_NAME ""
  6527. | #define PACKAGE_TARNAME ""
  6528. | #define PACKAGE_VERSION ""
  6529. | #define PACKAGE_STRING ""
  6530. | #define PACKAGE_BUGREPORT ""
  6531. | #define PACKAGE_URL ""
  6532. | #define CANONICALIZATION_FOR_MATHN 1
  6533. | #define STDC_HEADERS 1
  6534. | #define HAVE_SYS_TYPES_H 1
  6535. | #define HAVE_SYS_STAT_H 1
  6536. | #define HAVE_STDLIB_H 1
  6537. | #define HAVE_STRING_H 1
  6538. | #define HAVE_MEMORY_H 1
  6539. | #define HAVE_STRINGS_H 1
  6540. | #define HAVE_INTTYPES_H 1
  6541. | #define HAVE_STDINT_H 1
  6542. | #define HAVE_UNISTD_H 1
  6543. | #define __EXTENSIONS__ 1
  6544. | #define _ALL_SOURCE 1
  6545. | #define _GNU_SOURCE 1
  6546. | #define _POSIX_PTHREAD_SEMANTICS 1
  6547. | #define _TANDEM_SOURCE 1
  6548. | #define HAVE_LONG_LONG 1
  6549. | #define HAVE_OFF_T 1
  6550. | #define SIZEOF_INT 4
  6551. | #define SIZEOF_SHORT 2
  6552. | #define SIZEOF_LONG 8
  6553. | #define SIZEOF_LONG_LONG 8
  6554. | #define SIZEOF___INT64 0
  6555. | #define SIZEOF_OFF_T 8
  6556. | #define SIZEOF_VOIDP 8
  6557. | #define SIZEOF_FLOAT 4
  6558. | #define SIZEOF_DOUBLE 8
  6559. | #define SIZEOF_TIME_T 8
  6560. | #define PRI_LL_PREFIX "ll"
  6561. | #define rb_pid_t pid_t
  6562. | #define PIDT2NUM(v) INT2NUM(v)
  6563. | #define NUM2PIDT(v) NUM2INT(v)
  6564. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6565. | #define rb_uid_t uid_t
  6566. | #define UIDT2NUM(v) UINT2NUM(v)
  6567. | #define NUM2UIDT(v) NUM2UINT(v)
  6568. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6569. | #define rb_gid_t gid_t
  6570. | #define GIDT2NUM(v) UINT2NUM(v)
  6571. | #define NUM2GIDT(v) NUM2UINT(v)
  6572. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6573. | #define rb_time_t time_t
  6574. | #define TIMET2NUM(v) LONG2NUM(v)
  6575. | #define NUM2TIMET(v) NUM2LONG(v)
  6576. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6577. | #define rb_dev_t dev_t
  6578. | #define DEVT2NUM(v) ULONG2NUM(v)
  6579. | #define NUM2DEVT(v) NUM2ULONG(v)
  6580. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6581. | #define rb_mode_t mode_t
  6582. | #define MODET2NUM(v) UINT2NUM(v)
  6583. | #define NUM2MODET(v) NUM2UINT(v)
  6584. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6585. | #define rb_rlim_t rlim_t
  6586. | #define RLIM2NUM(v) ULONG2NUM(v)
  6587. | #define NUM2RLIM(v) NUM2ULONG(v)
  6588. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  6589. | #define HAVE_PROTOTYPES 1
  6590. | #define TOKEN_PASTE(x,y) x##y
  6591. | #define STRINGIZE(expr) STRINGIZE0(expr)
  6592. | #define HAVE_STDARG_PROTOTYPES 1
  6593. | #define HAVE_VA_ARGS_MACRO 1
  6594. | #define NORETURN(x) __attribute__ ((noreturn)) x
  6595. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  6596. | #define NOINLINE(x) __attribute__ ((noinline)) x
  6597. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  6598. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  6599. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  6600. | #define HAVE_GCC_SYNC_BUILTINS 1
  6601. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  6602. | #define HAVE_DECL_SYS_NERR 1
  6603. | #define HAVE_LIBCRYPT 1
  6604. | #define HAVE_LIBDL 1
  6605. | #define HAVE_LIBRT 1
  6606. | #define HAVE_DIRENT_H 1
  6607. | #define HAVE__BOOL 1
  6608. | #define HAVE_STDBOOL_H 1
  6609. | #define HAVE_SYS_WAIT_H 1
  6610. | #define HAVE_LIMITS_H 1
  6611. | #define HAVE_SYS_FILE_H 1
  6612. | #define HAVE_SYS_IOCTL_H 1
  6613. | #define HAVE_SYS_SYSCALL_H 1
  6614. | #define HAVE_FCNTL_H 1
  6615. | #define HAVE_SYS_FCNTL_H 1
  6616. | #define HAVE_SYS_SELECT_H 1
  6617. | #define HAVE_SYS_TIME_H 1
  6618. | #define HAVE_SYS_TIMES_H 1
  6619. | #define HAVE_SYS_PARAM_H 1
  6620. | #define HAVE_SYSCALL_H 1
  6621. | #define HAVE_PWD_H 1
  6622. | #define HAVE_GRP_H 1
  6623. | #define HAVE_A_OUT_H 1
  6624. | #define HAVE_UTIME_H 1
  6625. | #define HAVE_SYS_RESOURCE_H 1
  6626. | #define HAVE_NETINET_IN_SYSTM_H 1
  6627. | #define HAVE_FLOAT_H 1
  6628. | #define HAVE_UCONTEXT_H 1
  6629. | #define HAVE_LANGINFO_H 1
  6630. | #define HAVE_LOCALE_H 1
  6631. | #define HAVE_SYS_SENDFILE_H 1
  6632. | #define HAVE_TIME_H 1
  6633. | #define HAVE_SYS_SOCKET_H 1
  6634. | /* end confdefs.h. */
  6635. | #include <stdio.h>
  6636. | #ifdef HAVE_SYS_TYPES_H
  6637. | # include <sys/types.h>
  6638. | #endif
  6639. | #ifdef HAVE_SYS_STAT_H
  6640. | # include <sys/stat.h>
  6641. | #endif
  6642. | #ifdef STDC_HEADERS
  6643. | # include <stdlib.h>
  6644. | # include <stddef.h>
  6645. | #else
  6646. | # ifdef HAVE_STDLIB_H
  6647. | # include <stdlib.h>
  6648. | # endif
  6649. | #endif
  6650. | #ifdef HAVE_STRING_H
  6651. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6652. | # include <memory.h>
  6653. | # endif
  6654. | # include <string.h>
  6655. | #endif
  6656. | #ifdef HAVE_STRINGS_H
  6657. | # include <strings.h>
  6658. | #endif
  6659. | #ifdef HAVE_INTTYPES_H
  6660. | # include <inttypes.h>
  6661. | #endif
  6662. | #ifdef HAVE_STDINT_H
  6663. | # include <stdint.h>
  6664. | #endif
  6665. | #ifdef HAVE_UNISTD_H
  6666. | # include <unistd.h>
  6667. | #endif
  6668. | int
  6669. | main ()
  6670. | {
  6671. | if (sizeof ((size_t)))
  6672. | return 0;
  6673. | ;
  6674. | return 0;
  6675. | }
  6676. configure:11517: result: yes
  6677. configure:11625: checking size of size_t
  6678. configure:11630: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  6679. configure:11630: $? = 0
  6680. configure:11630: ./conftest
  6681. configure:11630: $? = 0
  6682. configure:11645: result: 8
  6683. configure:11754: checking size of ptrdiff_t
  6684. configure:11759: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  6685. configure:11759: $? = 0
  6686. configure:11759: ./conftest
  6687. configure:11759: $? = 0
  6688. configure:11774: result: 8
  6689. configure:11787: checking for printf prefix for size_t
  6690. configure:11823: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  6691. configure:11823: $? = 0
  6692. configure:11836: result: z
  6693. configure:11846: checking for printf prefix for ptrdiff_t
  6694. configure:11882: gcc -c -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c >&5
  6695. configure:11882: $? = 0
  6696. configure:11895: result: t
  6697. configure:11904: checking for struct stat.st_blksize
  6698. configure:11904: gcc -c -O3 -ggdb conftest.c >&5
  6699. configure:11904: $? = 0
  6700. configure:11904: result: yes
  6701. configure:11917: checking for struct stat.st_blocks
  6702. configure:11917: gcc -c -O3 -ggdb conftest.c >&5
  6703. configure:11917: $? = 0
  6704. configure:11917: result: yes
  6705. configure:11937: checking for struct stat.st_rdev
  6706. configure:11937: gcc -c -O3 -ggdb conftest.c >&5
  6707. configure:11937: $? = 0
  6708. configure:11937: result: yes
  6709. configure:11951: checking size of struct stat.st_size
  6710. configure:11981: gcc -c -O3 -ggdb conftest.c >&5
  6711. conftest.c: In function 'main':
  6712. conftest.c:131:12: error: size of array 'test_array' is negative
  6713. static int test_array [1 - 2 * !(SIZEOF_STRUCT_STAT_ST_SIZE == sizeof(int))];
  6714. ^
  6715. configure:11981: $? = 1
  6716. configure: failed program was:
  6717. | /* confdefs.h */
  6718. | #define PACKAGE_NAME ""
  6719. | #define PACKAGE_TARNAME ""
  6720. | #define PACKAGE_VERSION ""
  6721. | #define PACKAGE_STRING ""
  6722. | #define PACKAGE_BUGREPORT ""
  6723. | #define PACKAGE_URL ""
  6724. | #define CANONICALIZATION_FOR_MATHN 1
  6725. | #define STDC_HEADERS 1
  6726. | #define HAVE_SYS_TYPES_H 1
  6727. | #define HAVE_SYS_STAT_H 1
  6728. | #define HAVE_STDLIB_H 1
  6729. | #define HAVE_STRING_H 1
  6730. | #define HAVE_MEMORY_H 1
  6731. | #define HAVE_STRINGS_H 1
  6732. | #define HAVE_INTTYPES_H 1
  6733. | #define HAVE_STDINT_H 1
  6734. | #define HAVE_UNISTD_H 1
  6735. | #define __EXTENSIONS__ 1
  6736. | #define _ALL_SOURCE 1
  6737. | #define _GNU_SOURCE 1
  6738. | #define _POSIX_PTHREAD_SEMANTICS 1
  6739. | #define _TANDEM_SOURCE 1
  6740. | #define HAVE_LONG_LONG 1
  6741. | #define HAVE_OFF_T 1
  6742. | #define SIZEOF_INT 4
  6743. | #define SIZEOF_SHORT 2
  6744. | #define SIZEOF_LONG 8
  6745. | #define SIZEOF_LONG_LONG 8
  6746. | #define SIZEOF___INT64 0
  6747. | #define SIZEOF_OFF_T 8
  6748. | #define SIZEOF_VOIDP 8
  6749. | #define SIZEOF_FLOAT 4
  6750. | #define SIZEOF_DOUBLE 8
  6751. | #define SIZEOF_TIME_T 8
  6752. | #define PRI_LL_PREFIX "ll"
  6753. | #define rb_pid_t pid_t
  6754. | #define PIDT2NUM(v) INT2NUM(v)
  6755. | #define NUM2PIDT(v) NUM2INT(v)
  6756. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6757. | #define rb_uid_t uid_t
  6758. | #define UIDT2NUM(v) UINT2NUM(v)
  6759. | #define NUM2UIDT(v) NUM2UINT(v)
  6760. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6761. | #define rb_gid_t gid_t
  6762. | #define GIDT2NUM(v) UINT2NUM(v)
  6763. | #define NUM2GIDT(v) NUM2UINT(v)
  6764. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6765. | #define rb_time_t time_t
  6766. | #define TIMET2NUM(v) LONG2NUM(v)
  6767. | #define NUM2TIMET(v) NUM2LONG(v)
  6768. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6769. | #define rb_dev_t dev_t
  6770. | #define DEVT2NUM(v) ULONG2NUM(v)
  6771. | #define NUM2DEVT(v) NUM2ULONG(v)
  6772. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6773. | #define rb_mode_t mode_t
  6774. | #define MODET2NUM(v) UINT2NUM(v)
  6775. | #define NUM2MODET(v) NUM2UINT(v)
  6776. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6777. | #define rb_rlim_t rlim_t
  6778. | #define RLIM2NUM(v) ULONG2NUM(v)
  6779. | #define NUM2RLIM(v) NUM2ULONG(v)
  6780. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  6781. | #define HAVE_PROTOTYPES 1
  6782. | #define TOKEN_PASTE(x,y) x##y
  6783. | #define STRINGIZE(expr) STRINGIZE0(expr)
  6784. | #define HAVE_STDARG_PROTOTYPES 1
  6785. | #define HAVE_VA_ARGS_MACRO 1
  6786. | #define NORETURN(x) __attribute__ ((noreturn)) x
  6787. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  6788. | #define NOINLINE(x) __attribute__ ((noinline)) x
  6789. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  6790. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  6791. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  6792. | #define HAVE_GCC_SYNC_BUILTINS 1
  6793. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  6794. | #define HAVE_DECL_SYS_NERR 1
  6795. | #define HAVE_LIBCRYPT 1
  6796. | #define HAVE_LIBDL 1
  6797. | #define HAVE_LIBRT 1
  6798. | #define HAVE_DIRENT_H 1
  6799. | #define HAVE__BOOL 1
  6800. | #define HAVE_STDBOOL_H 1
  6801. | #define HAVE_SYS_WAIT_H 1
  6802. | #define HAVE_LIMITS_H 1
  6803. | #define HAVE_SYS_FILE_H 1
  6804. | #define HAVE_SYS_IOCTL_H 1
  6805. | #define HAVE_SYS_SYSCALL_H 1
  6806. | #define HAVE_FCNTL_H 1
  6807. | #define HAVE_SYS_FCNTL_H 1
  6808. | #define HAVE_SYS_SELECT_H 1
  6809. | #define HAVE_SYS_TIME_H 1
  6810. | #define HAVE_SYS_TIMES_H 1
  6811. | #define HAVE_SYS_PARAM_H 1
  6812. | #define HAVE_SYSCALL_H 1
  6813. | #define HAVE_PWD_H 1
  6814. | #define HAVE_GRP_H 1
  6815. | #define HAVE_A_OUT_H 1
  6816. | #define HAVE_UTIME_H 1
  6817. | #define HAVE_SYS_RESOURCE_H 1
  6818. | #define HAVE_NETINET_IN_SYSTM_H 1
  6819. | #define HAVE_FLOAT_H 1
  6820. | #define HAVE_UCONTEXT_H 1
  6821. | #define HAVE_LANGINFO_H 1
  6822. | #define HAVE_LOCALE_H 1
  6823. | #define HAVE_SYS_SENDFILE_H 1
  6824. | #define HAVE_TIME_H 1
  6825. | #define HAVE_SYS_SOCKET_H 1
  6826. | #define SIZEOF_SIZE_T 8
  6827. | #define SIZEOF_PTRDIFF_T 8
  6828. | #define PRI_SIZE_PREFIX "z"
  6829. | #define PRI_PTRDIFF_PREFIX "t"
  6830. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  6831. | #define HAVE_ST_BLKSIZE 1
  6832. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  6833. | #define HAVE_ST_BLOCKS 1
  6834. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  6835. | #define HAVE_ST_RDEV 1
  6836. | /* end confdefs.h. */
  6837. | #include <sys/stat.h>
  6838. |
  6839. | typedef struct stat ac__type_sizeof_;
  6840. | static ac__type_sizeof_ *rbcv_ptr;
  6841. | #define SIZEOF_STRUCT_STAT_ST_SIZE sizeof((*rbcv_ptr).st_size)
  6842. |
  6843. |
  6844. | int
  6845. | main ()
  6846. | {
  6847. | static int test_array [1 - 2 * !(SIZEOF_STRUCT_STAT_ST_SIZE == sizeof(int))];
  6848. | test_array [0] = 0;
  6849. | return test_array [0];
  6850. |
  6851. | ;
  6852. | return 0;
  6853. | }
  6854. configure:11981: gcc -c -O3 -ggdb conftest.c >&5
  6855. configure:11981: $? = 0
  6856. configure:12019: result: SIZEOF_LONG
  6857. configure:12046: checking size of struct stat.st_blocks
  6858. configure:12076: gcc -c -O3 -ggdb conftest.c >&5
  6859. conftest.c: In function 'main':
  6860. conftest.c:132:12: error: size of array 'test_array' is negative
  6861. static int test_array [1 - 2 * !(SIZEOF_STRUCT_STAT_ST_BLOCKS == sizeof(int))];
  6862. ^
  6863. configure:12076: $? = 1
  6864. configure: failed program was:
  6865. | /* confdefs.h */
  6866. | #define PACKAGE_NAME ""
  6867. | #define PACKAGE_TARNAME ""
  6868. | #define PACKAGE_VERSION ""
  6869. | #define PACKAGE_STRING ""
  6870. | #define PACKAGE_BUGREPORT ""
  6871. | #define PACKAGE_URL ""
  6872. | #define CANONICALIZATION_FOR_MATHN 1
  6873. | #define STDC_HEADERS 1
  6874. | #define HAVE_SYS_TYPES_H 1
  6875. | #define HAVE_SYS_STAT_H 1
  6876. | #define HAVE_STDLIB_H 1
  6877. | #define HAVE_STRING_H 1
  6878. | #define HAVE_MEMORY_H 1
  6879. | #define HAVE_STRINGS_H 1
  6880. | #define HAVE_INTTYPES_H 1
  6881. | #define HAVE_STDINT_H 1
  6882. | #define HAVE_UNISTD_H 1
  6883. | #define __EXTENSIONS__ 1
  6884. | #define _ALL_SOURCE 1
  6885. | #define _GNU_SOURCE 1
  6886. | #define _POSIX_PTHREAD_SEMANTICS 1
  6887. | #define _TANDEM_SOURCE 1
  6888. | #define HAVE_LONG_LONG 1
  6889. | #define HAVE_OFF_T 1
  6890. | #define SIZEOF_INT 4
  6891. | #define SIZEOF_SHORT 2
  6892. | #define SIZEOF_LONG 8
  6893. | #define SIZEOF_LONG_LONG 8
  6894. | #define SIZEOF___INT64 0
  6895. | #define SIZEOF_OFF_T 8
  6896. | #define SIZEOF_VOIDP 8
  6897. | #define SIZEOF_FLOAT 4
  6898. | #define SIZEOF_DOUBLE 8
  6899. | #define SIZEOF_TIME_T 8
  6900. | #define PRI_LL_PREFIX "ll"
  6901. | #define rb_pid_t pid_t
  6902. | #define PIDT2NUM(v) INT2NUM(v)
  6903. | #define NUM2PIDT(v) NUM2INT(v)
  6904. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6905. | #define rb_uid_t uid_t
  6906. | #define UIDT2NUM(v) UINT2NUM(v)
  6907. | #define NUM2UIDT(v) NUM2UINT(v)
  6908. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6909. | #define rb_gid_t gid_t
  6910. | #define GIDT2NUM(v) UINT2NUM(v)
  6911. | #define NUM2GIDT(v) NUM2UINT(v)
  6912. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6913. | #define rb_time_t time_t
  6914. | #define TIMET2NUM(v) LONG2NUM(v)
  6915. | #define NUM2TIMET(v) NUM2LONG(v)
  6916. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6917. | #define rb_dev_t dev_t
  6918. | #define DEVT2NUM(v) ULONG2NUM(v)
  6919. | #define NUM2DEVT(v) NUM2ULONG(v)
  6920. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6921. | #define rb_mode_t mode_t
  6922. | #define MODET2NUM(v) UINT2NUM(v)
  6923. | #define NUM2MODET(v) NUM2UINT(v)
  6924. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6925. | #define rb_rlim_t rlim_t
  6926. | #define RLIM2NUM(v) ULONG2NUM(v)
  6927. | #define NUM2RLIM(v) NUM2ULONG(v)
  6928. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  6929. | #define HAVE_PROTOTYPES 1
  6930. | #define TOKEN_PASTE(x,y) x##y
  6931. | #define STRINGIZE(expr) STRINGIZE0(expr)
  6932. | #define HAVE_STDARG_PROTOTYPES 1
  6933. | #define HAVE_VA_ARGS_MACRO 1
  6934. | #define NORETURN(x) __attribute__ ((noreturn)) x
  6935. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  6936. | #define NOINLINE(x) __attribute__ ((noinline)) x
  6937. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  6938. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  6939. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  6940. | #define HAVE_GCC_SYNC_BUILTINS 1
  6941. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  6942. | #define HAVE_DECL_SYS_NERR 1
  6943. | #define HAVE_LIBCRYPT 1
  6944. | #define HAVE_LIBDL 1
  6945. | #define HAVE_LIBRT 1
  6946. | #define HAVE_DIRENT_H 1
  6947. | #define HAVE__BOOL 1
  6948. | #define HAVE_STDBOOL_H 1
  6949. | #define HAVE_SYS_WAIT_H 1
  6950. | #define HAVE_LIMITS_H 1
  6951. | #define HAVE_SYS_FILE_H 1
  6952. | #define HAVE_SYS_IOCTL_H 1
  6953. | #define HAVE_SYS_SYSCALL_H 1
  6954. | #define HAVE_FCNTL_H 1
  6955. | #define HAVE_SYS_FCNTL_H 1
  6956. | #define HAVE_SYS_SELECT_H 1
  6957. | #define HAVE_SYS_TIME_H 1
  6958. | #define HAVE_SYS_TIMES_H 1
  6959. | #define HAVE_SYS_PARAM_H 1
  6960. | #define HAVE_SYSCALL_H 1
  6961. | #define HAVE_PWD_H 1
  6962. | #define HAVE_GRP_H 1
  6963. | #define HAVE_A_OUT_H 1
  6964. | #define HAVE_UTIME_H 1
  6965. | #define HAVE_SYS_RESOURCE_H 1
  6966. | #define HAVE_NETINET_IN_SYSTM_H 1
  6967. | #define HAVE_FLOAT_H 1
  6968. | #define HAVE_UCONTEXT_H 1
  6969. | #define HAVE_LANGINFO_H 1
  6970. | #define HAVE_LOCALE_H 1
  6971. | #define HAVE_SYS_SENDFILE_H 1
  6972. | #define HAVE_TIME_H 1
  6973. | #define HAVE_SYS_SOCKET_H 1
  6974. | #define SIZEOF_SIZE_T 8
  6975. | #define SIZEOF_PTRDIFF_T 8
  6976. | #define PRI_SIZE_PREFIX "z"
  6977. | #define PRI_PTRDIFF_PREFIX "t"
  6978. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  6979. | #define HAVE_ST_BLKSIZE 1
  6980. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  6981. | #define HAVE_ST_BLOCKS 1
  6982. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  6983. | #define HAVE_ST_RDEV 1
  6984. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  6985. | /* end confdefs.h. */
  6986. | #include <sys/stat.h>
  6987. |
  6988. | typedef struct stat ac__type_sizeof_;
  6989. | static ac__type_sizeof_ *rbcv_ptr;
  6990. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS sizeof((*rbcv_ptr).st_blocks)
  6991. |
  6992. |
  6993. | int
  6994. | main ()
  6995. | {
  6996. | static int test_array [1 - 2 * !(SIZEOF_STRUCT_STAT_ST_BLOCKS == sizeof(int))];
  6997. | test_array [0] = 0;
  6998. | return test_array [0];
  6999. |
  7000. | ;
  7001. | return 0;
  7002. | }
  7003. configure:12076: gcc -c -O3 -ggdb conftest.c >&5
  7004. configure:12076: $? = 0
  7005. configure:12114: result: SIZEOF_LONG
  7006. configure:12140: checking for struct stat.st_atim
  7007. configure:12140: gcc -c -O3 -ggdb conftest.c >&5
  7008. conftest.c: In function 'main':
  7009. conftest.c:160:5: error: used struct type value where scalar is required
  7010. if (ac_aggr.st_atim)
  7011. ^
  7012. configure:12140: $? = 1
  7013. configure: failed program was:
  7014. | /* confdefs.h */
  7015. | #define PACKAGE_NAME ""
  7016. | #define PACKAGE_TARNAME ""
  7017. | #define PACKAGE_VERSION ""
  7018. | #define PACKAGE_STRING ""
  7019. | #define PACKAGE_BUGREPORT ""
  7020. | #define PACKAGE_URL ""
  7021. | #define CANONICALIZATION_FOR_MATHN 1
  7022. | #define STDC_HEADERS 1
  7023. | #define HAVE_SYS_TYPES_H 1
  7024. | #define HAVE_SYS_STAT_H 1
  7025. | #define HAVE_STDLIB_H 1
  7026. | #define HAVE_STRING_H 1
  7027. | #define HAVE_MEMORY_H 1
  7028. | #define HAVE_STRINGS_H 1
  7029. | #define HAVE_INTTYPES_H 1
  7030. | #define HAVE_STDINT_H 1
  7031. | #define HAVE_UNISTD_H 1
  7032. | #define __EXTENSIONS__ 1
  7033. | #define _ALL_SOURCE 1
  7034. | #define _GNU_SOURCE 1
  7035. | #define _POSIX_PTHREAD_SEMANTICS 1
  7036. | #define _TANDEM_SOURCE 1
  7037. | #define HAVE_LONG_LONG 1
  7038. | #define HAVE_OFF_T 1
  7039. | #define SIZEOF_INT 4
  7040. | #define SIZEOF_SHORT 2
  7041. | #define SIZEOF_LONG 8
  7042. | #define SIZEOF_LONG_LONG 8
  7043. | #define SIZEOF___INT64 0
  7044. | #define SIZEOF_OFF_T 8
  7045. | #define SIZEOF_VOIDP 8
  7046. | #define SIZEOF_FLOAT 4
  7047. | #define SIZEOF_DOUBLE 8
  7048. | #define SIZEOF_TIME_T 8
  7049. | #define PRI_LL_PREFIX "ll"
  7050. | #define rb_pid_t pid_t
  7051. | #define PIDT2NUM(v) INT2NUM(v)
  7052. | #define NUM2PIDT(v) NUM2INT(v)
  7053. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7054. | #define rb_uid_t uid_t
  7055. | #define UIDT2NUM(v) UINT2NUM(v)
  7056. | #define NUM2UIDT(v) NUM2UINT(v)
  7057. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7058. | #define rb_gid_t gid_t
  7059. | #define GIDT2NUM(v) UINT2NUM(v)
  7060. | #define NUM2GIDT(v) NUM2UINT(v)
  7061. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7062. | #define rb_time_t time_t
  7063. | #define TIMET2NUM(v) LONG2NUM(v)
  7064. | #define NUM2TIMET(v) NUM2LONG(v)
  7065. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7066. | #define rb_dev_t dev_t
  7067. | #define DEVT2NUM(v) ULONG2NUM(v)
  7068. | #define NUM2DEVT(v) NUM2ULONG(v)
  7069. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7070. | #define rb_mode_t mode_t
  7071. | #define MODET2NUM(v) UINT2NUM(v)
  7072. | #define NUM2MODET(v) NUM2UINT(v)
  7073. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7074. | #define rb_rlim_t rlim_t
  7075. | #define RLIM2NUM(v) ULONG2NUM(v)
  7076. | #define NUM2RLIM(v) NUM2ULONG(v)
  7077. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7078. | #define HAVE_PROTOTYPES 1
  7079. | #define TOKEN_PASTE(x,y) x##y
  7080. | #define STRINGIZE(expr) STRINGIZE0(expr)
  7081. | #define HAVE_STDARG_PROTOTYPES 1
  7082. | #define HAVE_VA_ARGS_MACRO 1
  7083. | #define NORETURN(x) __attribute__ ((noreturn)) x
  7084. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  7085. | #define NOINLINE(x) __attribute__ ((noinline)) x
  7086. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  7087. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  7088. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  7089. | #define HAVE_GCC_SYNC_BUILTINS 1
  7090. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  7091. | #define HAVE_DECL_SYS_NERR 1
  7092. | #define HAVE_LIBCRYPT 1
  7093. | #define HAVE_LIBDL 1
  7094. | #define HAVE_LIBRT 1
  7095. | #define HAVE_DIRENT_H 1
  7096. | #define HAVE__BOOL 1
  7097. | #define HAVE_STDBOOL_H 1
  7098. | #define HAVE_SYS_WAIT_H 1
  7099. | #define HAVE_LIMITS_H 1
  7100. | #define HAVE_SYS_FILE_H 1
  7101. | #define HAVE_SYS_IOCTL_H 1
  7102. | #define HAVE_SYS_SYSCALL_H 1
  7103. | #define HAVE_FCNTL_H 1
  7104. | #define HAVE_SYS_FCNTL_H 1
  7105. | #define HAVE_SYS_SELECT_H 1
  7106. | #define HAVE_SYS_TIME_H 1
  7107. | #define HAVE_SYS_TIMES_H 1
  7108. | #define HAVE_SYS_PARAM_H 1
  7109. | #define HAVE_SYSCALL_H 1
  7110. | #define HAVE_PWD_H 1
  7111. | #define HAVE_GRP_H 1
  7112. | #define HAVE_A_OUT_H 1
  7113. | #define HAVE_UTIME_H 1
  7114. | #define HAVE_SYS_RESOURCE_H 1
  7115. | #define HAVE_NETINET_IN_SYSTM_H 1
  7116. | #define HAVE_FLOAT_H 1
  7117. | #define HAVE_UCONTEXT_H 1
  7118. | #define HAVE_LANGINFO_H 1
  7119. | #define HAVE_LOCALE_H 1
  7120. | #define HAVE_SYS_SENDFILE_H 1
  7121. | #define HAVE_TIME_H 1
  7122. | #define HAVE_SYS_SOCKET_H 1
  7123. | #define SIZEOF_SIZE_T 8
  7124. | #define SIZEOF_PTRDIFF_T 8
  7125. | #define PRI_SIZE_PREFIX "z"
  7126. | #define PRI_PTRDIFF_PREFIX "t"
  7127. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  7128. | #define HAVE_ST_BLKSIZE 1
  7129. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  7130. | #define HAVE_ST_BLOCKS 1
  7131. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  7132. | #define HAVE_ST_RDEV 1
  7133. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  7134. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  7135. | /* end confdefs.h. */
  7136. | #include <stdio.h>
  7137. | #ifdef HAVE_SYS_TYPES_H
  7138. | # include <sys/types.h>
  7139. | #endif
  7140. | #ifdef HAVE_SYS_STAT_H
  7141. | # include <sys/stat.h>
  7142. | #endif
  7143. | #ifdef STDC_HEADERS
  7144. | # include <stdlib.h>
  7145. | # include <stddef.h>
  7146. | #else
  7147. | # ifdef HAVE_STDLIB_H
  7148. | # include <stdlib.h>
  7149. | # endif
  7150. | #endif
  7151. | #ifdef HAVE_STRING_H
  7152. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7153. | # include <memory.h>
  7154. | # endif
  7155. | # include <string.h>
  7156. | #endif
  7157. | #ifdef HAVE_STRINGS_H
  7158. | # include <strings.h>
  7159. | #endif
  7160. | #ifdef HAVE_INTTYPES_H
  7161. | # include <inttypes.h>
  7162. | #endif
  7163. | #ifdef HAVE_STDINT_H
  7164. | # include <stdint.h>
  7165. | #endif
  7166. | #ifdef HAVE_UNISTD_H
  7167. | # include <unistd.h>
  7168. | #endif
  7169. | int
  7170. | main ()
  7171. | {
  7172. | static struct stat ac_aggr;
  7173. | if (ac_aggr.st_atim)
  7174. | return 0;
  7175. | ;
  7176. | return 0;
  7177. | }
  7178. configure:12140: gcc -c -O3 -ggdb conftest.c >&5
  7179. configure:12140: $? = 0
  7180. configure:12140: result: yes
  7181. configure:12150: checking for struct stat.st_atimespec
  7182. configure:12150: gcc -c -O3 -ggdb conftest.c >&5
  7183. conftest.c: In function 'main':
  7184. conftest.c:161:12: error: 'struct stat' has no member named 'st_atimespec'
  7185. if (ac_aggr.st_atimespec)
  7186. ^
  7187. configure:12150: $? = 1
  7188. configure: failed program was:
  7189. | /* confdefs.h */
  7190. | #define PACKAGE_NAME ""
  7191. | #define PACKAGE_TARNAME ""
  7192. | #define PACKAGE_VERSION ""
  7193. | #define PACKAGE_STRING ""
  7194. | #define PACKAGE_BUGREPORT ""
  7195. | #define PACKAGE_URL ""
  7196. | #define CANONICALIZATION_FOR_MATHN 1
  7197. | #define STDC_HEADERS 1
  7198. | #define HAVE_SYS_TYPES_H 1
  7199. | #define HAVE_SYS_STAT_H 1
  7200. | #define HAVE_STDLIB_H 1
  7201. | #define HAVE_STRING_H 1
  7202. | #define HAVE_MEMORY_H 1
  7203. | #define HAVE_STRINGS_H 1
  7204. | #define HAVE_INTTYPES_H 1
  7205. | #define HAVE_STDINT_H 1
  7206. | #define HAVE_UNISTD_H 1
  7207. | #define __EXTENSIONS__ 1
  7208. | #define _ALL_SOURCE 1
  7209. | #define _GNU_SOURCE 1
  7210. | #define _POSIX_PTHREAD_SEMANTICS 1
  7211. | #define _TANDEM_SOURCE 1
  7212. | #define HAVE_LONG_LONG 1
  7213. | #define HAVE_OFF_T 1
  7214. | #define SIZEOF_INT 4
  7215. | #define SIZEOF_SHORT 2
  7216. | #define SIZEOF_LONG 8
  7217. | #define SIZEOF_LONG_LONG 8
  7218. | #define SIZEOF___INT64 0
  7219. | #define SIZEOF_OFF_T 8
  7220. | #define SIZEOF_VOIDP 8
  7221. | #define SIZEOF_FLOAT 4
  7222. | #define SIZEOF_DOUBLE 8
  7223. | #define SIZEOF_TIME_T 8
  7224. | #define PRI_LL_PREFIX "ll"
  7225. | #define rb_pid_t pid_t
  7226. | #define PIDT2NUM(v) INT2NUM(v)
  7227. | #define NUM2PIDT(v) NUM2INT(v)
  7228. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7229. | #define rb_uid_t uid_t
  7230. | #define UIDT2NUM(v) UINT2NUM(v)
  7231. | #define NUM2UIDT(v) NUM2UINT(v)
  7232. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7233. | #define rb_gid_t gid_t
  7234. | #define GIDT2NUM(v) UINT2NUM(v)
  7235. | #define NUM2GIDT(v) NUM2UINT(v)
  7236. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7237. | #define rb_time_t time_t
  7238. | #define TIMET2NUM(v) LONG2NUM(v)
  7239. | #define NUM2TIMET(v) NUM2LONG(v)
  7240. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7241. | #define rb_dev_t dev_t
  7242. | #define DEVT2NUM(v) ULONG2NUM(v)
  7243. | #define NUM2DEVT(v) NUM2ULONG(v)
  7244. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7245. | #define rb_mode_t mode_t
  7246. | #define MODET2NUM(v) UINT2NUM(v)
  7247. | #define NUM2MODET(v) NUM2UINT(v)
  7248. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7249. | #define rb_rlim_t rlim_t
  7250. | #define RLIM2NUM(v) ULONG2NUM(v)
  7251. | #define NUM2RLIM(v) NUM2ULONG(v)
  7252. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7253. | #define HAVE_PROTOTYPES 1
  7254. | #define TOKEN_PASTE(x,y) x##y
  7255. | #define STRINGIZE(expr) STRINGIZE0(expr)
  7256. | #define HAVE_STDARG_PROTOTYPES 1
  7257. | #define HAVE_VA_ARGS_MACRO 1
  7258. | #define NORETURN(x) __attribute__ ((noreturn)) x
  7259. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  7260. | #define NOINLINE(x) __attribute__ ((noinline)) x
  7261. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  7262. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  7263. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  7264. | #define HAVE_GCC_SYNC_BUILTINS 1
  7265. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  7266. | #define HAVE_DECL_SYS_NERR 1
  7267. | #define HAVE_LIBCRYPT 1
  7268. | #define HAVE_LIBDL 1
  7269. | #define HAVE_LIBRT 1
  7270. | #define HAVE_DIRENT_H 1
  7271. | #define HAVE__BOOL 1
  7272. | #define HAVE_STDBOOL_H 1
  7273. | #define HAVE_SYS_WAIT_H 1
  7274. | #define HAVE_LIMITS_H 1
  7275. | #define HAVE_SYS_FILE_H 1
  7276. | #define HAVE_SYS_IOCTL_H 1
  7277. | #define HAVE_SYS_SYSCALL_H 1
  7278. | #define HAVE_FCNTL_H 1
  7279. | #define HAVE_SYS_FCNTL_H 1
  7280. | #define HAVE_SYS_SELECT_H 1
  7281. | #define HAVE_SYS_TIME_H 1
  7282. | #define HAVE_SYS_TIMES_H 1
  7283. | #define HAVE_SYS_PARAM_H 1
  7284. | #define HAVE_SYSCALL_H 1
  7285. | #define HAVE_PWD_H 1
  7286. | #define HAVE_GRP_H 1
  7287. | #define HAVE_A_OUT_H 1
  7288. | #define HAVE_UTIME_H 1
  7289. | #define HAVE_SYS_RESOURCE_H 1
  7290. | #define HAVE_NETINET_IN_SYSTM_H 1
  7291. | #define HAVE_FLOAT_H 1
  7292. | #define HAVE_UCONTEXT_H 1
  7293. | #define HAVE_LANGINFO_H 1
  7294. | #define HAVE_LOCALE_H 1
  7295. | #define HAVE_SYS_SENDFILE_H 1
  7296. | #define HAVE_TIME_H 1
  7297. | #define HAVE_SYS_SOCKET_H 1
  7298. | #define SIZEOF_SIZE_T 8
  7299. | #define SIZEOF_PTRDIFF_T 8
  7300. | #define PRI_SIZE_PREFIX "z"
  7301. | #define PRI_PTRDIFF_PREFIX "t"
  7302. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  7303. | #define HAVE_ST_BLKSIZE 1
  7304. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  7305. | #define HAVE_ST_BLOCKS 1
  7306. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  7307. | #define HAVE_ST_RDEV 1
  7308. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  7309. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  7310. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  7311. | /* end confdefs.h. */
  7312. | #include <stdio.h>
  7313. | #ifdef HAVE_SYS_TYPES_H
  7314. | # include <sys/types.h>
  7315. | #endif
  7316. | #ifdef HAVE_SYS_STAT_H
  7317. | # include <sys/stat.h>
  7318. | #endif
  7319. | #ifdef STDC_HEADERS
  7320. | # include <stdlib.h>
  7321. | # include <stddef.h>
  7322. | #else
  7323. | # ifdef HAVE_STDLIB_H
  7324. | # include <stdlib.h>
  7325. | # endif
  7326. | #endif
  7327. | #ifdef HAVE_STRING_H
  7328. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7329. | # include <memory.h>
  7330. | # endif
  7331. | # include <string.h>
  7332. | #endif
  7333. | #ifdef HAVE_STRINGS_H
  7334. | # include <strings.h>
  7335. | #endif
  7336. | #ifdef HAVE_INTTYPES_H
  7337. | # include <inttypes.h>
  7338. | #endif
  7339. | #ifdef HAVE_STDINT_H
  7340. | # include <stdint.h>
  7341. | #endif
  7342. | #ifdef HAVE_UNISTD_H
  7343. | # include <unistd.h>
  7344. | #endif
  7345. | int
  7346. | main ()
  7347. | {
  7348. | static struct stat ac_aggr;
  7349. | if (ac_aggr.st_atimespec)
  7350. | return 0;
  7351. | ;
  7352. | return 0;
  7353. | }
  7354. configure:12150: gcc -c -O3 -ggdb conftest.c >&5
  7355. conftest.c: In function 'main':
  7356. conftest.c:161:19: error: 'struct stat' has no member named 'st_atimespec'
  7357. if (sizeof ac_aggr.st_atimespec)
  7358. ^
  7359. configure:12150: $? = 1
  7360. configure: failed program was:
  7361. | /* confdefs.h */
  7362. | #define PACKAGE_NAME ""
  7363. | #define PACKAGE_TARNAME ""
  7364. | #define PACKAGE_VERSION ""
  7365. | #define PACKAGE_STRING ""
  7366. | #define PACKAGE_BUGREPORT ""
  7367. | #define PACKAGE_URL ""
  7368. | #define CANONICALIZATION_FOR_MATHN 1
  7369. | #define STDC_HEADERS 1
  7370. | #define HAVE_SYS_TYPES_H 1
  7371. | #define HAVE_SYS_STAT_H 1
  7372. | #define HAVE_STDLIB_H 1
  7373. | #define HAVE_STRING_H 1
  7374. | #define HAVE_MEMORY_H 1
  7375. | #define HAVE_STRINGS_H 1
  7376. | #define HAVE_INTTYPES_H 1
  7377. | #define HAVE_STDINT_H 1
  7378. | #define HAVE_UNISTD_H 1
  7379. | #define __EXTENSIONS__ 1
  7380. | #define _ALL_SOURCE 1
  7381. | #define _GNU_SOURCE 1
  7382. | #define _POSIX_PTHREAD_SEMANTICS 1
  7383. | #define _TANDEM_SOURCE 1
  7384. | #define HAVE_LONG_LONG 1
  7385. | #define HAVE_OFF_T 1
  7386. | #define SIZEOF_INT 4
  7387. | #define SIZEOF_SHORT 2
  7388. | #define SIZEOF_LONG 8
  7389. | #define SIZEOF_LONG_LONG 8
  7390. | #define SIZEOF___INT64 0
  7391. | #define SIZEOF_OFF_T 8
  7392. | #define SIZEOF_VOIDP 8
  7393. | #define SIZEOF_FLOAT 4
  7394. | #define SIZEOF_DOUBLE 8
  7395. | #define SIZEOF_TIME_T 8
  7396. | #define PRI_LL_PREFIX "ll"
  7397. | #define rb_pid_t pid_t
  7398. | #define PIDT2NUM(v) INT2NUM(v)
  7399. | #define NUM2PIDT(v) NUM2INT(v)
  7400. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7401. | #define rb_uid_t uid_t
  7402. | #define UIDT2NUM(v) UINT2NUM(v)
  7403. | #define NUM2UIDT(v) NUM2UINT(v)
  7404. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7405. | #define rb_gid_t gid_t
  7406. | #define GIDT2NUM(v) UINT2NUM(v)
  7407. | #define NUM2GIDT(v) NUM2UINT(v)
  7408. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7409. | #define rb_time_t time_t
  7410. | #define TIMET2NUM(v) LONG2NUM(v)
  7411. | #define NUM2TIMET(v) NUM2LONG(v)
  7412. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7413. | #define rb_dev_t dev_t
  7414. | #define DEVT2NUM(v) ULONG2NUM(v)
  7415. | #define NUM2DEVT(v) NUM2ULONG(v)
  7416. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7417. | #define rb_mode_t mode_t
  7418. | #define MODET2NUM(v) UINT2NUM(v)
  7419. | #define NUM2MODET(v) NUM2UINT(v)
  7420. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7421. | #define rb_rlim_t rlim_t
  7422. | #define RLIM2NUM(v) ULONG2NUM(v)
  7423. | #define NUM2RLIM(v) NUM2ULONG(v)
  7424. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7425. | #define HAVE_PROTOTYPES 1
  7426. | #define TOKEN_PASTE(x,y) x##y
  7427. | #define STRINGIZE(expr) STRINGIZE0(expr)
  7428. | #define HAVE_STDARG_PROTOTYPES 1
  7429. | #define HAVE_VA_ARGS_MACRO 1
  7430. | #define NORETURN(x) __attribute__ ((noreturn)) x
  7431. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  7432. | #define NOINLINE(x) __attribute__ ((noinline)) x
  7433. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  7434. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  7435. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  7436. | #define HAVE_GCC_SYNC_BUILTINS 1
  7437. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  7438. | #define HAVE_DECL_SYS_NERR 1
  7439. | #define HAVE_LIBCRYPT 1
  7440. | #define HAVE_LIBDL 1
  7441. | #define HAVE_LIBRT 1
  7442. | #define HAVE_DIRENT_H 1
  7443. | #define HAVE__BOOL 1
  7444. | #define HAVE_STDBOOL_H 1
  7445. | #define HAVE_SYS_WAIT_H 1
  7446. | #define HAVE_LIMITS_H 1
  7447. | #define HAVE_SYS_FILE_H 1
  7448. | #define HAVE_SYS_IOCTL_H 1
  7449. | #define HAVE_SYS_SYSCALL_H 1
  7450. | #define HAVE_FCNTL_H 1
  7451. | #define HAVE_SYS_FCNTL_H 1
  7452. | #define HAVE_SYS_SELECT_H 1
  7453. | #define HAVE_SYS_TIME_H 1
  7454. | #define HAVE_SYS_TIMES_H 1
  7455. | #define HAVE_SYS_PARAM_H 1
  7456. | #define HAVE_SYSCALL_H 1
  7457. | #define HAVE_PWD_H 1
  7458. | #define HAVE_GRP_H 1
  7459. | #define HAVE_A_OUT_H 1
  7460. | #define HAVE_UTIME_H 1
  7461. | #define HAVE_SYS_RESOURCE_H 1
  7462. | #define HAVE_NETINET_IN_SYSTM_H 1
  7463. | #define HAVE_FLOAT_H 1
  7464. | #define HAVE_UCONTEXT_H 1
  7465. | #define HAVE_LANGINFO_H 1
  7466. | #define HAVE_LOCALE_H 1
  7467. | #define HAVE_SYS_SENDFILE_H 1
  7468. | #define HAVE_TIME_H 1
  7469. | #define HAVE_SYS_SOCKET_H 1
  7470. | #define SIZEOF_SIZE_T 8
  7471. | #define SIZEOF_PTRDIFF_T 8
  7472. | #define PRI_SIZE_PREFIX "z"
  7473. | #define PRI_PTRDIFF_PREFIX "t"
  7474. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  7475. | #define HAVE_ST_BLKSIZE 1
  7476. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  7477. | #define HAVE_ST_BLOCKS 1
  7478. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  7479. | #define HAVE_ST_RDEV 1
  7480. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  7481. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  7482. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  7483. | /* end confdefs.h. */
  7484. | #include <stdio.h>
  7485. | #ifdef HAVE_SYS_TYPES_H
  7486. | # include <sys/types.h>
  7487. | #endif
  7488. | #ifdef HAVE_SYS_STAT_H
  7489. | # include <sys/stat.h>
  7490. | #endif
  7491. | #ifdef STDC_HEADERS
  7492. | # include <stdlib.h>
  7493. | # include <stddef.h>
  7494. | #else
  7495. | # ifdef HAVE_STDLIB_H
  7496. | # include <stdlib.h>
  7497. | # endif
  7498. | #endif
  7499. | #ifdef HAVE_STRING_H
  7500. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7501. | # include <memory.h>
  7502. | # endif
  7503. | # include <string.h>
  7504. | #endif
  7505. | #ifdef HAVE_STRINGS_H
  7506. | # include <strings.h>
  7507. | #endif
  7508. | #ifdef HAVE_INTTYPES_H
  7509. | # include <inttypes.h>
  7510. | #endif
  7511. | #ifdef HAVE_STDINT_H
  7512. | # include <stdint.h>
  7513. | #endif
  7514. | #ifdef HAVE_UNISTD_H
  7515. | # include <unistd.h>
  7516. | #endif
  7517. | int
  7518. | main ()
  7519. | {
  7520. | static struct stat ac_aggr;
  7521. | if (sizeof ac_aggr.st_atimespec)
  7522. | return 0;
  7523. | ;
  7524. | return 0;
  7525. | }
  7526. configure:12150: result: no
  7527. configure:12160: checking for struct stat.st_atimensec
  7528. configure:12160: gcc -c -O3 -ggdb conftest.c >&5
  7529. conftest.c: In function 'main':
  7530. conftest.c:161:12: error: 'struct stat' has no member named 'st_atimensec'
  7531. if (ac_aggr.st_atimensec)
  7532. ^
  7533. configure:12160: $? = 1
  7534. configure: failed program was:
  7535. | /* confdefs.h */
  7536. | #define PACKAGE_NAME ""
  7537. | #define PACKAGE_TARNAME ""
  7538. | #define PACKAGE_VERSION ""
  7539. | #define PACKAGE_STRING ""
  7540. | #define PACKAGE_BUGREPORT ""
  7541. | #define PACKAGE_URL ""
  7542. | #define CANONICALIZATION_FOR_MATHN 1
  7543. | #define STDC_HEADERS 1
  7544. | #define HAVE_SYS_TYPES_H 1
  7545. | #define HAVE_SYS_STAT_H 1
  7546. | #define HAVE_STDLIB_H 1
  7547. | #define HAVE_STRING_H 1
  7548. | #define HAVE_MEMORY_H 1
  7549. | #define HAVE_STRINGS_H 1
  7550. | #define HAVE_INTTYPES_H 1
  7551. | #define HAVE_STDINT_H 1
  7552. | #define HAVE_UNISTD_H 1
  7553. | #define __EXTENSIONS__ 1
  7554. | #define _ALL_SOURCE 1
  7555. | #define _GNU_SOURCE 1
  7556. | #define _POSIX_PTHREAD_SEMANTICS 1
  7557. | #define _TANDEM_SOURCE 1
  7558. | #define HAVE_LONG_LONG 1
  7559. | #define HAVE_OFF_T 1
  7560. | #define SIZEOF_INT 4
  7561. | #define SIZEOF_SHORT 2
  7562. | #define SIZEOF_LONG 8
  7563. | #define SIZEOF_LONG_LONG 8
  7564. | #define SIZEOF___INT64 0
  7565. | #define SIZEOF_OFF_T 8
  7566. | #define SIZEOF_VOIDP 8
  7567. | #define SIZEOF_FLOAT 4
  7568. | #define SIZEOF_DOUBLE 8
  7569. | #define SIZEOF_TIME_T 8
  7570. | #define PRI_LL_PREFIX "ll"
  7571. | #define rb_pid_t pid_t
  7572. | #define PIDT2NUM(v) INT2NUM(v)
  7573. | #define NUM2PIDT(v) NUM2INT(v)
  7574. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7575. | #define rb_uid_t uid_t
  7576. | #define UIDT2NUM(v) UINT2NUM(v)
  7577. | #define NUM2UIDT(v) NUM2UINT(v)
  7578. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7579. | #define rb_gid_t gid_t
  7580. | #define GIDT2NUM(v) UINT2NUM(v)
  7581. | #define NUM2GIDT(v) NUM2UINT(v)
  7582. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7583. | #define rb_time_t time_t
  7584. | #define TIMET2NUM(v) LONG2NUM(v)
  7585. | #define NUM2TIMET(v) NUM2LONG(v)
  7586. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7587. | #define rb_dev_t dev_t
  7588. | #define DEVT2NUM(v) ULONG2NUM(v)
  7589. | #define NUM2DEVT(v) NUM2ULONG(v)
  7590. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7591. | #define rb_mode_t mode_t
  7592. | #define MODET2NUM(v) UINT2NUM(v)
  7593. | #define NUM2MODET(v) NUM2UINT(v)
  7594. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7595. | #define rb_rlim_t rlim_t
  7596. | #define RLIM2NUM(v) ULONG2NUM(v)
  7597. | #define NUM2RLIM(v) NUM2ULONG(v)
  7598. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7599. | #define HAVE_PROTOTYPES 1
  7600. | #define TOKEN_PASTE(x,y) x##y
  7601. | #define STRINGIZE(expr) STRINGIZE0(expr)
  7602. | #define HAVE_STDARG_PROTOTYPES 1
  7603. | #define HAVE_VA_ARGS_MACRO 1
  7604. | #define NORETURN(x) __attribute__ ((noreturn)) x
  7605. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  7606. | #define NOINLINE(x) __attribute__ ((noinline)) x
  7607. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  7608. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  7609. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  7610. | #define HAVE_GCC_SYNC_BUILTINS 1
  7611. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  7612. | #define HAVE_DECL_SYS_NERR 1
  7613. | #define HAVE_LIBCRYPT 1
  7614. | #define HAVE_LIBDL 1
  7615. | #define HAVE_LIBRT 1
  7616. | #define HAVE_DIRENT_H 1
  7617. | #define HAVE__BOOL 1
  7618. | #define HAVE_STDBOOL_H 1
  7619. | #define HAVE_SYS_WAIT_H 1
  7620. | #define HAVE_LIMITS_H 1
  7621. | #define HAVE_SYS_FILE_H 1
  7622. | #define HAVE_SYS_IOCTL_H 1
  7623. | #define HAVE_SYS_SYSCALL_H 1
  7624. | #define HAVE_FCNTL_H 1
  7625. | #define HAVE_SYS_FCNTL_H 1
  7626. | #define HAVE_SYS_SELECT_H 1
  7627. | #define HAVE_SYS_TIME_H 1
  7628. | #define HAVE_SYS_TIMES_H 1
  7629. | #define HAVE_SYS_PARAM_H 1
  7630. | #define HAVE_SYSCALL_H 1
  7631. | #define HAVE_PWD_H 1
  7632. | #define HAVE_GRP_H 1
  7633. | #define HAVE_A_OUT_H 1
  7634. | #define HAVE_UTIME_H 1
  7635. | #define HAVE_SYS_RESOURCE_H 1
  7636. | #define HAVE_NETINET_IN_SYSTM_H 1
  7637. | #define HAVE_FLOAT_H 1
  7638. | #define HAVE_UCONTEXT_H 1
  7639. | #define HAVE_LANGINFO_H 1
  7640. | #define HAVE_LOCALE_H 1
  7641. | #define HAVE_SYS_SENDFILE_H 1
  7642. | #define HAVE_TIME_H 1
  7643. | #define HAVE_SYS_SOCKET_H 1
  7644. | #define SIZEOF_SIZE_T 8
  7645. | #define SIZEOF_PTRDIFF_T 8
  7646. | #define PRI_SIZE_PREFIX "z"
  7647. | #define PRI_PTRDIFF_PREFIX "t"
  7648. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  7649. | #define HAVE_ST_BLKSIZE 1
  7650. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  7651. | #define HAVE_ST_BLOCKS 1
  7652. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  7653. | #define HAVE_ST_RDEV 1
  7654. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  7655. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  7656. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  7657. | /* end confdefs.h. */
  7658. | #include <stdio.h>
  7659. | #ifdef HAVE_SYS_TYPES_H
  7660. | # include <sys/types.h>
  7661. | #endif
  7662. | #ifdef HAVE_SYS_STAT_H
  7663. | # include <sys/stat.h>
  7664. | #endif
  7665. | #ifdef STDC_HEADERS
  7666. | # include <stdlib.h>
  7667. | # include <stddef.h>
  7668. | #else
  7669. | # ifdef HAVE_STDLIB_H
  7670. | # include <stdlib.h>
  7671. | # endif
  7672. | #endif
  7673. | #ifdef HAVE_STRING_H
  7674. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7675. | # include <memory.h>
  7676. | # endif
  7677. | # include <string.h>
  7678. | #endif
  7679. | #ifdef HAVE_STRINGS_H
  7680. | # include <strings.h>
  7681. | #endif
  7682. | #ifdef HAVE_INTTYPES_H
  7683. | # include <inttypes.h>
  7684. | #endif
  7685. | #ifdef HAVE_STDINT_H
  7686. | # include <stdint.h>
  7687. | #endif
  7688. | #ifdef HAVE_UNISTD_H
  7689. | # include <unistd.h>
  7690. | #endif
  7691. | int
  7692. | main ()
  7693. | {
  7694. | static struct stat ac_aggr;
  7695. | if (ac_aggr.st_atimensec)
  7696. | return 0;
  7697. | ;
  7698. | return 0;
  7699. | }
  7700. configure:12160: gcc -c -O3 -ggdb conftest.c >&5
  7701. conftest.c: In function 'main':
  7702. conftest.c:161:19: error: 'struct stat' has no member named 'st_atimensec'
  7703. if (sizeof ac_aggr.st_atimensec)
  7704. ^
  7705. configure:12160: $? = 1
  7706. configure: failed program was:
  7707. | /* confdefs.h */
  7708. | #define PACKAGE_NAME ""
  7709. | #define PACKAGE_TARNAME ""
  7710. | #define PACKAGE_VERSION ""
  7711. | #define PACKAGE_STRING ""
  7712. | #define PACKAGE_BUGREPORT ""
  7713. | #define PACKAGE_URL ""
  7714. | #define CANONICALIZATION_FOR_MATHN 1
  7715. | #define STDC_HEADERS 1
  7716. | #define HAVE_SYS_TYPES_H 1
  7717. | #define HAVE_SYS_STAT_H 1
  7718. | #define HAVE_STDLIB_H 1
  7719. | #define HAVE_STRING_H 1
  7720. | #define HAVE_MEMORY_H 1
  7721. | #define HAVE_STRINGS_H 1
  7722. | #define HAVE_INTTYPES_H 1
  7723. | #define HAVE_STDINT_H 1
  7724. | #define HAVE_UNISTD_H 1
  7725. | #define __EXTENSIONS__ 1
  7726. | #define _ALL_SOURCE 1
  7727. | #define _GNU_SOURCE 1
  7728. | #define _POSIX_PTHREAD_SEMANTICS 1
  7729. | #define _TANDEM_SOURCE 1
  7730. | #define HAVE_LONG_LONG 1
  7731. | #define HAVE_OFF_T 1
  7732. | #define SIZEOF_INT 4
  7733. | #define SIZEOF_SHORT 2
  7734. | #define SIZEOF_LONG 8
  7735. | #define SIZEOF_LONG_LONG 8
  7736. | #define SIZEOF___INT64 0
  7737. | #define SIZEOF_OFF_T 8
  7738. | #define SIZEOF_VOIDP 8
  7739. | #define SIZEOF_FLOAT 4
  7740. | #define SIZEOF_DOUBLE 8
  7741. | #define SIZEOF_TIME_T 8
  7742. | #define PRI_LL_PREFIX "ll"
  7743. | #define rb_pid_t pid_t
  7744. | #define PIDT2NUM(v) INT2NUM(v)
  7745. | #define NUM2PIDT(v) NUM2INT(v)
  7746. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7747. | #define rb_uid_t uid_t
  7748. | #define UIDT2NUM(v) UINT2NUM(v)
  7749. | #define NUM2UIDT(v) NUM2UINT(v)
  7750. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7751. | #define rb_gid_t gid_t
  7752. | #define GIDT2NUM(v) UINT2NUM(v)
  7753. | #define NUM2GIDT(v) NUM2UINT(v)
  7754. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7755. | #define rb_time_t time_t
  7756. | #define TIMET2NUM(v) LONG2NUM(v)
  7757. | #define NUM2TIMET(v) NUM2LONG(v)
  7758. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7759. | #define rb_dev_t dev_t
  7760. | #define DEVT2NUM(v) ULONG2NUM(v)
  7761. | #define NUM2DEVT(v) NUM2ULONG(v)
  7762. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7763. | #define rb_mode_t mode_t
  7764. | #define MODET2NUM(v) UINT2NUM(v)
  7765. | #define NUM2MODET(v) NUM2UINT(v)
  7766. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7767. | #define rb_rlim_t rlim_t
  7768. | #define RLIM2NUM(v) ULONG2NUM(v)
  7769. | #define NUM2RLIM(v) NUM2ULONG(v)
  7770. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7771. | #define HAVE_PROTOTYPES 1
  7772. | #define TOKEN_PASTE(x,y) x##y
  7773. | #define STRINGIZE(expr) STRINGIZE0(expr)
  7774. | #define HAVE_STDARG_PROTOTYPES 1
  7775. | #define HAVE_VA_ARGS_MACRO 1
  7776. | #define NORETURN(x) __attribute__ ((noreturn)) x
  7777. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  7778. | #define NOINLINE(x) __attribute__ ((noinline)) x
  7779. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  7780. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  7781. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  7782. | #define HAVE_GCC_SYNC_BUILTINS 1
  7783. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  7784. | #define HAVE_DECL_SYS_NERR 1
  7785. | #define HAVE_LIBCRYPT 1
  7786. | #define HAVE_LIBDL 1
  7787. | #define HAVE_LIBRT 1
  7788. | #define HAVE_DIRENT_H 1
  7789. | #define HAVE__BOOL 1
  7790. | #define HAVE_STDBOOL_H 1
  7791. | #define HAVE_SYS_WAIT_H 1
  7792. | #define HAVE_LIMITS_H 1
  7793. | #define HAVE_SYS_FILE_H 1
  7794. | #define HAVE_SYS_IOCTL_H 1
  7795. | #define HAVE_SYS_SYSCALL_H 1
  7796. | #define HAVE_FCNTL_H 1
  7797. | #define HAVE_SYS_FCNTL_H 1
  7798. | #define HAVE_SYS_SELECT_H 1
  7799. | #define HAVE_SYS_TIME_H 1
  7800. | #define HAVE_SYS_TIMES_H 1
  7801. | #define HAVE_SYS_PARAM_H 1
  7802. | #define HAVE_SYSCALL_H 1
  7803. | #define HAVE_PWD_H 1
  7804. | #define HAVE_GRP_H 1
  7805. | #define HAVE_A_OUT_H 1
  7806. | #define HAVE_UTIME_H 1
  7807. | #define HAVE_SYS_RESOURCE_H 1
  7808. | #define HAVE_NETINET_IN_SYSTM_H 1
  7809. | #define HAVE_FLOAT_H 1
  7810. | #define HAVE_UCONTEXT_H 1
  7811. | #define HAVE_LANGINFO_H 1
  7812. | #define HAVE_LOCALE_H 1
  7813. | #define HAVE_SYS_SENDFILE_H 1
  7814. | #define HAVE_TIME_H 1
  7815. | #define HAVE_SYS_SOCKET_H 1
  7816. | #define SIZEOF_SIZE_T 8
  7817. | #define SIZEOF_PTRDIFF_T 8
  7818. | #define PRI_SIZE_PREFIX "z"
  7819. | #define PRI_PTRDIFF_PREFIX "t"
  7820. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  7821. | #define HAVE_ST_BLKSIZE 1
  7822. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  7823. | #define HAVE_ST_BLOCKS 1
  7824. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  7825. | #define HAVE_ST_RDEV 1
  7826. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  7827. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  7828. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  7829. | /* end confdefs.h. */
  7830. | #include <stdio.h>
  7831. | #ifdef HAVE_SYS_TYPES_H
  7832. | # include <sys/types.h>
  7833. | #endif
  7834. | #ifdef HAVE_SYS_STAT_H
  7835. | # include <sys/stat.h>
  7836. | #endif
  7837. | #ifdef STDC_HEADERS
  7838. | # include <stdlib.h>
  7839. | # include <stddef.h>
  7840. | #else
  7841. | # ifdef HAVE_STDLIB_H
  7842. | # include <stdlib.h>
  7843. | # endif
  7844. | #endif
  7845. | #ifdef HAVE_STRING_H
  7846. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7847. | # include <memory.h>
  7848. | # endif
  7849. | # include <string.h>
  7850. | #endif
  7851. | #ifdef HAVE_STRINGS_H
  7852. | # include <strings.h>
  7853. | #endif
  7854. | #ifdef HAVE_INTTYPES_H
  7855. | # include <inttypes.h>
  7856. | #endif
  7857. | #ifdef HAVE_STDINT_H
  7858. | # include <stdint.h>
  7859. | #endif
  7860. | #ifdef HAVE_UNISTD_H
  7861. | # include <unistd.h>
  7862. | #endif
  7863. | int
  7864. | main ()
  7865. | {
  7866. | static struct stat ac_aggr;
  7867. | if (sizeof ac_aggr.st_atimensec)
  7868. | return 0;
  7869. | ;
  7870. | return 0;
  7871. | }
  7872. configure:12160: result: no
  7873. configure:12170: checking for struct stat.st_mtim
  7874. configure:12170: gcc -c -O3 -ggdb conftest.c >&5
  7875. conftest.c: In function 'main':
  7876. conftest.c:161:5: error: used struct type value where scalar is required
  7877. if (ac_aggr.st_mtim)
  7878. ^
  7879. configure:12170: $? = 1
  7880. configure: failed program was:
  7881. | /* confdefs.h */
  7882. | #define PACKAGE_NAME ""
  7883. | #define PACKAGE_TARNAME ""
  7884. | #define PACKAGE_VERSION ""
  7885. | #define PACKAGE_STRING ""
  7886. | #define PACKAGE_BUGREPORT ""
  7887. | #define PACKAGE_URL ""
  7888. | #define CANONICALIZATION_FOR_MATHN 1
  7889. | #define STDC_HEADERS 1
  7890. | #define HAVE_SYS_TYPES_H 1
  7891. | #define HAVE_SYS_STAT_H 1
  7892. | #define HAVE_STDLIB_H 1
  7893. | #define HAVE_STRING_H 1
  7894. | #define HAVE_MEMORY_H 1
  7895. | #define HAVE_STRINGS_H 1
  7896. | #define HAVE_INTTYPES_H 1
  7897. | #define HAVE_STDINT_H 1
  7898. | #define HAVE_UNISTD_H 1
  7899. | #define __EXTENSIONS__ 1
  7900. | #define _ALL_SOURCE 1
  7901. | #define _GNU_SOURCE 1
  7902. | #define _POSIX_PTHREAD_SEMANTICS 1
  7903. | #define _TANDEM_SOURCE 1
  7904. | #define HAVE_LONG_LONG 1
  7905. | #define HAVE_OFF_T 1
  7906. | #define SIZEOF_INT 4
  7907. | #define SIZEOF_SHORT 2
  7908. | #define SIZEOF_LONG 8
  7909. | #define SIZEOF_LONG_LONG 8
  7910. | #define SIZEOF___INT64 0
  7911. | #define SIZEOF_OFF_T 8
  7912. | #define SIZEOF_VOIDP 8
  7913. | #define SIZEOF_FLOAT 4
  7914. | #define SIZEOF_DOUBLE 8
  7915. | #define SIZEOF_TIME_T 8
  7916. | #define PRI_LL_PREFIX "ll"
  7917. | #define rb_pid_t pid_t
  7918. | #define PIDT2NUM(v) INT2NUM(v)
  7919. | #define NUM2PIDT(v) NUM2INT(v)
  7920. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7921. | #define rb_uid_t uid_t
  7922. | #define UIDT2NUM(v) UINT2NUM(v)
  7923. | #define NUM2UIDT(v) NUM2UINT(v)
  7924. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7925. | #define rb_gid_t gid_t
  7926. | #define GIDT2NUM(v) UINT2NUM(v)
  7927. | #define NUM2GIDT(v) NUM2UINT(v)
  7928. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7929. | #define rb_time_t time_t
  7930. | #define TIMET2NUM(v) LONG2NUM(v)
  7931. | #define NUM2TIMET(v) NUM2LONG(v)
  7932. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7933. | #define rb_dev_t dev_t
  7934. | #define DEVT2NUM(v) ULONG2NUM(v)
  7935. | #define NUM2DEVT(v) NUM2ULONG(v)
  7936. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7937. | #define rb_mode_t mode_t
  7938. | #define MODET2NUM(v) UINT2NUM(v)
  7939. | #define NUM2MODET(v) NUM2UINT(v)
  7940. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7941. | #define rb_rlim_t rlim_t
  7942. | #define RLIM2NUM(v) ULONG2NUM(v)
  7943. | #define NUM2RLIM(v) NUM2ULONG(v)
  7944. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7945. | #define HAVE_PROTOTYPES 1
  7946. | #define TOKEN_PASTE(x,y) x##y
  7947. | #define STRINGIZE(expr) STRINGIZE0(expr)
  7948. | #define HAVE_STDARG_PROTOTYPES 1
  7949. | #define HAVE_VA_ARGS_MACRO 1
  7950. | #define NORETURN(x) __attribute__ ((noreturn)) x
  7951. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  7952. | #define NOINLINE(x) __attribute__ ((noinline)) x
  7953. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  7954. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  7955. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  7956. | #define HAVE_GCC_SYNC_BUILTINS 1
  7957. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  7958. | #define HAVE_DECL_SYS_NERR 1
  7959. | #define HAVE_LIBCRYPT 1
  7960. | #define HAVE_LIBDL 1
  7961. | #define HAVE_LIBRT 1
  7962. | #define HAVE_DIRENT_H 1
  7963. | #define HAVE__BOOL 1
  7964. | #define HAVE_STDBOOL_H 1
  7965. | #define HAVE_SYS_WAIT_H 1
  7966. | #define HAVE_LIMITS_H 1
  7967. | #define HAVE_SYS_FILE_H 1
  7968. | #define HAVE_SYS_IOCTL_H 1
  7969. | #define HAVE_SYS_SYSCALL_H 1
  7970. | #define HAVE_FCNTL_H 1
  7971. | #define HAVE_SYS_FCNTL_H 1
  7972. | #define HAVE_SYS_SELECT_H 1
  7973. | #define HAVE_SYS_TIME_H 1
  7974. | #define HAVE_SYS_TIMES_H 1
  7975. | #define HAVE_SYS_PARAM_H 1
  7976. | #define HAVE_SYSCALL_H 1
  7977. | #define HAVE_PWD_H 1
  7978. | #define HAVE_GRP_H 1
  7979. | #define HAVE_A_OUT_H 1
  7980. | #define HAVE_UTIME_H 1
  7981. | #define HAVE_SYS_RESOURCE_H 1
  7982. | #define HAVE_NETINET_IN_SYSTM_H 1
  7983. | #define HAVE_FLOAT_H 1
  7984. | #define HAVE_UCONTEXT_H 1
  7985. | #define HAVE_LANGINFO_H 1
  7986. | #define HAVE_LOCALE_H 1
  7987. | #define HAVE_SYS_SENDFILE_H 1
  7988. | #define HAVE_TIME_H 1
  7989. | #define HAVE_SYS_SOCKET_H 1
  7990. | #define SIZEOF_SIZE_T 8
  7991. | #define SIZEOF_PTRDIFF_T 8
  7992. | #define PRI_SIZE_PREFIX "z"
  7993. | #define PRI_PTRDIFF_PREFIX "t"
  7994. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  7995. | #define HAVE_ST_BLKSIZE 1
  7996. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  7997. | #define HAVE_ST_BLOCKS 1
  7998. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  7999. | #define HAVE_ST_RDEV 1
  8000. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  8001. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  8002. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  8003. | /* end confdefs.h. */
  8004. | #include <stdio.h>
  8005. | #ifdef HAVE_SYS_TYPES_H
  8006. | # include <sys/types.h>
  8007. | #endif
  8008. | #ifdef HAVE_SYS_STAT_H
  8009. | # include <sys/stat.h>
  8010. | #endif
  8011. | #ifdef STDC_HEADERS
  8012. | # include <stdlib.h>
  8013. | # include <stddef.h>
  8014. | #else
  8015. | # ifdef HAVE_STDLIB_H
  8016. | # include <stdlib.h>
  8017. | # endif
  8018. | #endif
  8019. | #ifdef HAVE_STRING_H
  8020. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8021. | # include <memory.h>
  8022. | # endif
  8023. | # include <string.h>
  8024. | #endif
  8025. | #ifdef HAVE_STRINGS_H
  8026. | # include <strings.h>
  8027. | #endif
  8028. | #ifdef HAVE_INTTYPES_H
  8029. | # include <inttypes.h>
  8030. | #endif
  8031. | #ifdef HAVE_STDINT_H
  8032. | # include <stdint.h>
  8033. | #endif
  8034. | #ifdef HAVE_UNISTD_H
  8035. | # include <unistd.h>
  8036. | #endif
  8037. | int
  8038. | main ()
  8039. | {
  8040. | static struct stat ac_aggr;
  8041. | if (ac_aggr.st_mtim)
  8042. | return 0;
  8043. | ;
  8044. | return 0;
  8045. | }
  8046. configure:12170: gcc -c -O3 -ggdb conftest.c >&5
  8047. configure:12170: $? = 0
  8048. configure:12170: result: yes
  8049. configure:12180: checking for struct stat.st_mtimespec
  8050. configure:12180: gcc -c -O3 -ggdb conftest.c >&5
  8051. conftest.c: In function 'main':
  8052. conftest.c:162:12: error: 'struct stat' has no member named 'st_mtimespec'
  8053. if (ac_aggr.st_mtimespec)
  8054. ^
  8055. configure:12180: $? = 1
  8056. configure: failed program was:
  8057. | /* confdefs.h */
  8058. | #define PACKAGE_NAME ""
  8059. | #define PACKAGE_TARNAME ""
  8060. | #define PACKAGE_VERSION ""
  8061. | #define PACKAGE_STRING ""
  8062. | #define PACKAGE_BUGREPORT ""
  8063. | #define PACKAGE_URL ""
  8064. | #define CANONICALIZATION_FOR_MATHN 1
  8065. | #define STDC_HEADERS 1
  8066. | #define HAVE_SYS_TYPES_H 1
  8067. | #define HAVE_SYS_STAT_H 1
  8068. | #define HAVE_STDLIB_H 1
  8069. | #define HAVE_STRING_H 1
  8070. | #define HAVE_MEMORY_H 1
  8071. | #define HAVE_STRINGS_H 1
  8072. | #define HAVE_INTTYPES_H 1
  8073. | #define HAVE_STDINT_H 1
  8074. | #define HAVE_UNISTD_H 1
  8075. | #define __EXTENSIONS__ 1
  8076. | #define _ALL_SOURCE 1
  8077. | #define _GNU_SOURCE 1
  8078. | #define _POSIX_PTHREAD_SEMANTICS 1
  8079. | #define _TANDEM_SOURCE 1
  8080. | #define HAVE_LONG_LONG 1
  8081. | #define HAVE_OFF_T 1
  8082. | #define SIZEOF_INT 4
  8083. | #define SIZEOF_SHORT 2
  8084. | #define SIZEOF_LONG 8
  8085. | #define SIZEOF_LONG_LONG 8
  8086. | #define SIZEOF___INT64 0
  8087. | #define SIZEOF_OFF_T 8
  8088. | #define SIZEOF_VOIDP 8
  8089. | #define SIZEOF_FLOAT 4
  8090. | #define SIZEOF_DOUBLE 8
  8091. | #define SIZEOF_TIME_T 8
  8092. | #define PRI_LL_PREFIX "ll"
  8093. | #define rb_pid_t pid_t
  8094. | #define PIDT2NUM(v) INT2NUM(v)
  8095. | #define NUM2PIDT(v) NUM2INT(v)
  8096. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8097. | #define rb_uid_t uid_t
  8098. | #define UIDT2NUM(v) UINT2NUM(v)
  8099. | #define NUM2UIDT(v) NUM2UINT(v)
  8100. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8101. | #define rb_gid_t gid_t
  8102. | #define GIDT2NUM(v) UINT2NUM(v)
  8103. | #define NUM2GIDT(v) NUM2UINT(v)
  8104. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8105. | #define rb_time_t time_t
  8106. | #define TIMET2NUM(v) LONG2NUM(v)
  8107. | #define NUM2TIMET(v) NUM2LONG(v)
  8108. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8109. | #define rb_dev_t dev_t
  8110. | #define DEVT2NUM(v) ULONG2NUM(v)
  8111. | #define NUM2DEVT(v) NUM2ULONG(v)
  8112. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8113. | #define rb_mode_t mode_t
  8114. | #define MODET2NUM(v) UINT2NUM(v)
  8115. | #define NUM2MODET(v) NUM2UINT(v)
  8116. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8117. | #define rb_rlim_t rlim_t
  8118. | #define RLIM2NUM(v) ULONG2NUM(v)
  8119. | #define NUM2RLIM(v) NUM2ULONG(v)
  8120. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8121. | #define HAVE_PROTOTYPES 1
  8122. | #define TOKEN_PASTE(x,y) x##y
  8123. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8124. | #define HAVE_STDARG_PROTOTYPES 1
  8125. | #define HAVE_VA_ARGS_MACRO 1
  8126. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8127. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8128. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8129. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  8130. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  8131. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  8132. | #define HAVE_GCC_SYNC_BUILTINS 1
  8133. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  8134. | #define HAVE_DECL_SYS_NERR 1
  8135. | #define HAVE_LIBCRYPT 1
  8136. | #define HAVE_LIBDL 1
  8137. | #define HAVE_LIBRT 1
  8138. | #define HAVE_DIRENT_H 1
  8139. | #define HAVE__BOOL 1
  8140. | #define HAVE_STDBOOL_H 1
  8141. | #define HAVE_SYS_WAIT_H 1
  8142. | #define HAVE_LIMITS_H 1
  8143. | #define HAVE_SYS_FILE_H 1
  8144. | #define HAVE_SYS_IOCTL_H 1
  8145. | #define HAVE_SYS_SYSCALL_H 1
  8146. | #define HAVE_FCNTL_H 1
  8147. | #define HAVE_SYS_FCNTL_H 1
  8148. | #define HAVE_SYS_SELECT_H 1
  8149. | #define HAVE_SYS_TIME_H 1
  8150. | #define HAVE_SYS_TIMES_H 1
  8151. | #define HAVE_SYS_PARAM_H 1
  8152. | #define HAVE_SYSCALL_H 1
  8153. | #define HAVE_PWD_H 1
  8154. | #define HAVE_GRP_H 1
  8155. | #define HAVE_A_OUT_H 1
  8156. | #define HAVE_UTIME_H 1
  8157. | #define HAVE_SYS_RESOURCE_H 1
  8158. | #define HAVE_NETINET_IN_SYSTM_H 1
  8159. | #define HAVE_FLOAT_H 1
  8160. | #define HAVE_UCONTEXT_H 1
  8161. | #define HAVE_LANGINFO_H 1
  8162. | #define HAVE_LOCALE_H 1
  8163. | #define HAVE_SYS_SENDFILE_H 1
  8164. | #define HAVE_TIME_H 1
  8165. | #define HAVE_SYS_SOCKET_H 1
  8166. | #define SIZEOF_SIZE_T 8
  8167. | #define SIZEOF_PTRDIFF_T 8
  8168. | #define PRI_SIZE_PREFIX "z"
  8169. | #define PRI_PTRDIFF_PREFIX "t"
  8170. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  8171. | #define HAVE_ST_BLKSIZE 1
  8172. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  8173. | #define HAVE_ST_BLOCKS 1
  8174. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  8175. | #define HAVE_ST_RDEV 1
  8176. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  8177. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  8178. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  8179. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  8180. | /* end confdefs.h. */
  8181. | #include <stdio.h>
  8182. | #ifdef HAVE_SYS_TYPES_H
  8183. | # include <sys/types.h>
  8184. | #endif
  8185. | #ifdef HAVE_SYS_STAT_H
  8186. | # include <sys/stat.h>
  8187. | #endif
  8188. | #ifdef STDC_HEADERS
  8189. | # include <stdlib.h>
  8190. | # include <stddef.h>
  8191. | #else
  8192. | # ifdef HAVE_STDLIB_H
  8193. | # include <stdlib.h>
  8194. | # endif
  8195. | #endif
  8196. | #ifdef HAVE_STRING_H
  8197. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8198. | # include <memory.h>
  8199. | # endif
  8200. | # include <string.h>
  8201. | #endif
  8202. | #ifdef HAVE_STRINGS_H
  8203. | # include <strings.h>
  8204. | #endif
  8205. | #ifdef HAVE_INTTYPES_H
  8206. | # include <inttypes.h>
  8207. | #endif
  8208. | #ifdef HAVE_STDINT_H
  8209. | # include <stdint.h>
  8210. | #endif
  8211. | #ifdef HAVE_UNISTD_H
  8212. | # include <unistd.h>
  8213. | #endif
  8214. | int
  8215. | main ()
  8216. | {
  8217. | static struct stat ac_aggr;
  8218. | if (ac_aggr.st_mtimespec)
  8219. | return 0;
  8220. | ;
  8221. | return 0;
  8222. | }
  8223. configure:12180: gcc -c -O3 -ggdb conftest.c >&5
  8224. conftest.c: In function 'main':
  8225. conftest.c:162:19: error: 'struct stat' has no member named 'st_mtimespec'
  8226. if (sizeof ac_aggr.st_mtimespec)
  8227. ^
  8228. configure:12180: $? = 1
  8229. configure: failed program was:
  8230. | /* confdefs.h */
  8231. | #define PACKAGE_NAME ""
  8232. | #define PACKAGE_TARNAME ""
  8233. | #define PACKAGE_VERSION ""
  8234. | #define PACKAGE_STRING ""
  8235. | #define PACKAGE_BUGREPORT ""
  8236. | #define PACKAGE_URL ""
  8237. | #define CANONICALIZATION_FOR_MATHN 1
  8238. | #define STDC_HEADERS 1
  8239. | #define HAVE_SYS_TYPES_H 1
  8240. | #define HAVE_SYS_STAT_H 1
  8241. | #define HAVE_STDLIB_H 1
  8242. | #define HAVE_STRING_H 1
  8243. | #define HAVE_MEMORY_H 1
  8244. | #define HAVE_STRINGS_H 1
  8245. | #define HAVE_INTTYPES_H 1
  8246. | #define HAVE_STDINT_H 1
  8247. | #define HAVE_UNISTD_H 1
  8248. | #define __EXTENSIONS__ 1
  8249. | #define _ALL_SOURCE 1
  8250. | #define _GNU_SOURCE 1
  8251. | #define _POSIX_PTHREAD_SEMANTICS 1
  8252. | #define _TANDEM_SOURCE 1
  8253. | #define HAVE_LONG_LONG 1
  8254. | #define HAVE_OFF_T 1
  8255. | #define SIZEOF_INT 4
  8256. | #define SIZEOF_SHORT 2
  8257. | #define SIZEOF_LONG 8
  8258. | #define SIZEOF_LONG_LONG 8
  8259. | #define SIZEOF___INT64 0
  8260. | #define SIZEOF_OFF_T 8
  8261. | #define SIZEOF_VOIDP 8
  8262. | #define SIZEOF_FLOAT 4
  8263. | #define SIZEOF_DOUBLE 8
  8264. | #define SIZEOF_TIME_T 8
  8265. | #define PRI_LL_PREFIX "ll"
  8266. | #define rb_pid_t pid_t
  8267. | #define PIDT2NUM(v) INT2NUM(v)
  8268. | #define NUM2PIDT(v) NUM2INT(v)
  8269. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8270. | #define rb_uid_t uid_t
  8271. | #define UIDT2NUM(v) UINT2NUM(v)
  8272. | #define NUM2UIDT(v) NUM2UINT(v)
  8273. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8274. | #define rb_gid_t gid_t
  8275. | #define GIDT2NUM(v) UINT2NUM(v)
  8276. | #define NUM2GIDT(v) NUM2UINT(v)
  8277. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8278. | #define rb_time_t time_t
  8279. | #define TIMET2NUM(v) LONG2NUM(v)
  8280. | #define NUM2TIMET(v) NUM2LONG(v)
  8281. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8282. | #define rb_dev_t dev_t
  8283. | #define DEVT2NUM(v) ULONG2NUM(v)
  8284. | #define NUM2DEVT(v) NUM2ULONG(v)
  8285. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8286. | #define rb_mode_t mode_t
  8287. | #define MODET2NUM(v) UINT2NUM(v)
  8288. | #define NUM2MODET(v) NUM2UINT(v)
  8289. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8290. | #define rb_rlim_t rlim_t
  8291. | #define RLIM2NUM(v) ULONG2NUM(v)
  8292. | #define NUM2RLIM(v) NUM2ULONG(v)
  8293. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8294. | #define HAVE_PROTOTYPES 1
  8295. | #define TOKEN_PASTE(x,y) x##y
  8296. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8297. | #define HAVE_STDARG_PROTOTYPES 1
  8298. | #define HAVE_VA_ARGS_MACRO 1
  8299. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8300. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8301. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8302. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  8303. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  8304. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  8305. | #define HAVE_GCC_SYNC_BUILTINS 1
  8306. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  8307. | #define HAVE_DECL_SYS_NERR 1
  8308. | #define HAVE_LIBCRYPT 1
  8309. | #define HAVE_LIBDL 1
  8310. | #define HAVE_LIBRT 1
  8311. | #define HAVE_DIRENT_H 1
  8312. | #define HAVE__BOOL 1
  8313. | #define HAVE_STDBOOL_H 1
  8314. | #define HAVE_SYS_WAIT_H 1
  8315. | #define HAVE_LIMITS_H 1
  8316. | #define HAVE_SYS_FILE_H 1
  8317. | #define HAVE_SYS_IOCTL_H 1
  8318. | #define HAVE_SYS_SYSCALL_H 1
  8319. | #define HAVE_FCNTL_H 1
  8320. | #define HAVE_SYS_FCNTL_H 1
  8321. | #define HAVE_SYS_SELECT_H 1
  8322. | #define HAVE_SYS_TIME_H 1
  8323. | #define HAVE_SYS_TIMES_H 1
  8324. | #define HAVE_SYS_PARAM_H 1
  8325. | #define HAVE_SYSCALL_H 1
  8326. | #define HAVE_PWD_H 1
  8327. | #define HAVE_GRP_H 1
  8328. | #define HAVE_A_OUT_H 1
  8329. | #define HAVE_UTIME_H 1
  8330. | #define HAVE_SYS_RESOURCE_H 1
  8331. | #define HAVE_NETINET_IN_SYSTM_H 1
  8332. | #define HAVE_FLOAT_H 1
  8333. | #define HAVE_UCONTEXT_H 1
  8334. | #define HAVE_LANGINFO_H 1
  8335. | #define HAVE_LOCALE_H 1
  8336. | #define HAVE_SYS_SENDFILE_H 1
  8337. | #define HAVE_TIME_H 1
  8338. | #define HAVE_SYS_SOCKET_H 1
  8339. | #define SIZEOF_SIZE_T 8
  8340. | #define SIZEOF_PTRDIFF_T 8
  8341. | #define PRI_SIZE_PREFIX "z"
  8342. | #define PRI_PTRDIFF_PREFIX "t"
  8343. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  8344. | #define HAVE_ST_BLKSIZE 1
  8345. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  8346. | #define HAVE_ST_BLOCKS 1
  8347. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  8348. | #define HAVE_ST_RDEV 1
  8349. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  8350. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  8351. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  8352. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  8353. | /* end confdefs.h. */
  8354. | #include <stdio.h>
  8355. | #ifdef HAVE_SYS_TYPES_H
  8356. | # include <sys/types.h>
  8357. | #endif
  8358. | #ifdef HAVE_SYS_STAT_H
  8359. | # include <sys/stat.h>
  8360. | #endif
  8361. | #ifdef STDC_HEADERS
  8362. | # include <stdlib.h>
  8363. | # include <stddef.h>
  8364. | #else
  8365. | # ifdef HAVE_STDLIB_H
  8366. | # include <stdlib.h>
  8367. | # endif
  8368. | #endif
  8369. | #ifdef HAVE_STRING_H
  8370. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8371. | # include <memory.h>
  8372. | # endif
  8373. | # include <string.h>
  8374. | #endif
  8375. | #ifdef HAVE_STRINGS_H
  8376. | # include <strings.h>
  8377. | #endif
  8378. | #ifdef HAVE_INTTYPES_H
  8379. | # include <inttypes.h>
  8380. | #endif
  8381. | #ifdef HAVE_STDINT_H
  8382. | # include <stdint.h>
  8383. | #endif
  8384. | #ifdef HAVE_UNISTD_H
  8385. | # include <unistd.h>
  8386. | #endif
  8387. | int
  8388. | main ()
  8389. | {
  8390. | static struct stat ac_aggr;
  8391. | if (sizeof ac_aggr.st_mtimespec)
  8392. | return 0;
  8393. | ;
  8394. | return 0;
  8395. | }
  8396. configure:12180: result: no
  8397. configure:12190: checking for struct stat.st_mtimensec
  8398. configure:12190: gcc -c -O3 -ggdb conftest.c >&5
  8399. conftest.c: In function 'main':
  8400. conftest.c:162:12: error: 'struct stat' has no member named 'st_mtimensec'
  8401. if (ac_aggr.st_mtimensec)
  8402. ^
  8403. configure:12190: $? = 1
  8404. configure: failed program was:
  8405. | /* confdefs.h */
  8406. | #define PACKAGE_NAME ""
  8407. | #define PACKAGE_TARNAME ""
  8408. | #define PACKAGE_VERSION ""
  8409. | #define PACKAGE_STRING ""
  8410. | #define PACKAGE_BUGREPORT ""
  8411. | #define PACKAGE_URL ""
  8412. | #define CANONICALIZATION_FOR_MATHN 1
  8413. | #define STDC_HEADERS 1
  8414. | #define HAVE_SYS_TYPES_H 1
  8415. | #define HAVE_SYS_STAT_H 1
  8416. | #define HAVE_STDLIB_H 1
  8417. | #define HAVE_STRING_H 1
  8418. | #define HAVE_MEMORY_H 1
  8419. | #define HAVE_STRINGS_H 1
  8420. | #define HAVE_INTTYPES_H 1
  8421. | #define HAVE_STDINT_H 1
  8422. | #define HAVE_UNISTD_H 1
  8423. | #define __EXTENSIONS__ 1
  8424. | #define _ALL_SOURCE 1
  8425. | #define _GNU_SOURCE 1
  8426. | #define _POSIX_PTHREAD_SEMANTICS 1
  8427. | #define _TANDEM_SOURCE 1
  8428. | #define HAVE_LONG_LONG 1
  8429. | #define HAVE_OFF_T 1
  8430. | #define SIZEOF_INT 4
  8431. | #define SIZEOF_SHORT 2
  8432. | #define SIZEOF_LONG 8
  8433. | #define SIZEOF_LONG_LONG 8
  8434. | #define SIZEOF___INT64 0
  8435. | #define SIZEOF_OFF_T 8
  8436. | #define SIZEOF_VOIDP 8
  8437. | #define SIZEOF_FLOAT 4
  8438. | #define SIZEOF_DOUBLE 8
  8439. | #define SIZEOF_TIME_T 8
  8440. | #define PRI_LL_PREFIX "ll"
  8441. | #define rb_pid_t pid_t
  8442. | #define PIDT2NUM(v) INT2NUM(v)
  8443. | #define NUM2PIDT(v) NUM2INT(v)
  8444. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8445. | #define rb_uid_t uid_t
  8446. | #define UIDT2NUM(v) UINT2NUM(v)
  8447. | #define NUM2UIDT(v) NUM2UINT(v)
  8448. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8449. | #define rb_gid_t gid_t
  8450. | #define GIDT2NUM(v) UINT2NUM(v)
  8451. | #define NUM2GIDT(v) NUM2UINT(v)
  8452. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8453. | #define rb_time_t time_t
  8454. | #define TIMET2NUM(v) LONG2NUM(v)
  8455. | #define NUM2TIMET(v) NUM2LONG(v)
  8456. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8457. | #define rb_dev_t dev_t
  8458. | #define DEVT2NUM(v) ULONG2NUM(v)
  8459. | #define NUM2DEVT(v) NUM2ULONG(v)
  8460. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8461. | #define rb_mode_t mode_t
  8462. | #define MODET2NUM(v) UINT2NUM(v)
  8463. | #define NUM2MODET(v) NUM2UINT(v)
  8464. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8465. | #define rb_rlim_t rlim_t
  8466. | #define RLIM2NUM(v) ULONG2NUM(v)
  8467. | #define NUM2RLIM(v) NUM2ULONG(v)
  8468. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8469. | #define HAVE_PROTOTYPES 1
  8470. | #define TOKEN_PASTE(x,y) x##y
  8471. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8472. | #define HAVE_STDARG_PROTOTYPES 1
  8473. | #define HAVE_VA_ARGS_MACRO 1
  8474. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8475. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8476. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8477. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  8478. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  8479. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  8480. | #define HAVE_GCC_SYNC_BUILTINS 1
  8481. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  8482. | #define HAVE_DECL_SYS_NERR 1
  8483. | #define HAVE_LIBCRYPT 1
  8484. | #define HAVE_LIBDL 1
  8485. | #define HAVE_LIBRT 1
  8486. | #define HAVE_DIRENT_H 1
  8487. | #define HAVE__BOOL 1
  8488. | #define HAVE_STDBOOL_H 1
  8489. | #define HAVE_SYS_WAIT_H 1
  8490. | #define HAVE_LIMITS_H 1
  8491. | #define HAVE_SYS_FILE_H 1
  8492. | #define HAVE_SYS_IOCTL_H 1
  8493. | #define HAVE_SYS_SYSCALL_H 1
  8494. | #define HAVE_FCNTL_H 1
  8495. | #define HAVE_SYS_FCNTL_H 1
  8496. | #define HAVE_SYS_SELECT_H 1
  8497. | #define HAVE_SYS_TIME_H 1
  8498. | #define HAVE_SYS_TIMES_H 1
  8499. | #define HAVE_SYS_PARAM_H 1
  8500. | #define HAVE_SYSCALL_H 1
  8501. | #define HAVE_PWD_H 1
  8502. | #define HAVE_GRP_H 1
  8503. | #define HAVE_A_OUT_H 1
  8504. | #define HAVE_UTIME_H 1
  8505. | #define HAVE_SYS_RESOURCE_H 1
  8506. | #define HAVE_NETINET_IN_SYSTM_H 1
  8507. | #define HAVE_FLOAT_H 1
  8508. | #define HAVE_UCONTEXT_H 1
  8509. | #define HAVE_LANGINFO_H 1
  8510. | #define HAVE_LOCALE_H 1
  8511. | #define HAVE_SYS_SENDFILE_H 1
  8512. | #define HAVE_TIME_H 1
  8513. | #define HAVE_SYS_SOCKET_H 1
  8514. | #define SIZEOF_SIZE_T 8
  8515. | #define SIZEOF_PTRDIFF_T 8
  8516. | #define PRI_SIZE_PREFIX "z"
  8517. | #define PRI_PTRDIFF_PREFIX "t"
  8518. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  8519. | #define HAVE_ST_BLKSIZE 1
  8520. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  8521. | #define HAVE_ST_BLOCKS 1
  8522. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  8523. | #define HAVE_ST_RDEV 1
  8524. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  8525. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  8526. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  8527. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  8528. | /* end confdefs.h. */
  8529. | #include <stdio.h>
  8530. | #ifdef HAVE_SYS_TYPES_H
  8531. | # include <sys/types.h>
  8532. | #endif
  8533. | #ifdef HAVE_SYS_STAT_H
  8534. | # include <sys/stat.h>
  8535. | #endif
  8536. | #ifdef STDC_HEADERS
  8537. | # include <stdlib.h>
  8538. | # include <stddef.h>
  8539. | #else
  8540. | # ifdef HAVE_STDLIB_H
  8541. | # include <stdlib.h>
  8542. | # endif
  8543. | #endif
  8544. | #ifdef HAVE_STRING_H
  8545. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8546. | # include <memory.h>
  8547. | # endif
  8548. | # include <string.h>
  8549. | #endif
  8550. | #ifdef HAVE_STRINGS_H
  8551. | # include <strings.h>
  8552. | #endif
  8553. | #ifdef HAVE_INTTYPES_H
  8554. | # include <inttypes.h>
  8555. | #endif
  8556. | #ifdef HAVE_STDINT_H
  8557. | # include <stdint.h>
  8558. | #endif
  8559. | #ifdef HAVE_UNISTD_H
  8560. | # include <unistd.h>
  8561. | #endif
  8562. | int
  8563. | main ()
  8564. | {
  8565. | static struct stat ac_aggr;
  8566. | if (ac_aggr.st_mtimensec)
  8567. | return 0;
  8568. | ;
  8569. | return 0;
  8570. | }
  8571. configure:12190: gcc -c -O3 -ggdb conftest.c >&5
  8572. conftest.c: In function 'main':
  8573. conftest.c:162:19: error: 'struct stat' has no member named 'st_mtimensec'
  8574. if (sizeof ac_aggr.st_mtimensec)
  8575. ^
  8576. configure:12190: $? = 1
  8577. configure: failed program was:
  8578. | /* confdefs.h */
  8579. | #define PACKAGE_NAME ""
  8580. | #define PACKAGE_TARNAME ""
  8581. | #define PACKAGE_VERSION ""
  8582. | #define PACKAGE_STRING ""
  8583. | #define PACKAGE_BUGREPORT ""
  8584. | #define PACKAGE_URL ""
  8585. | #define CANONICALIZATION_FOR_MATHN 1
  8586. | #define STDC_HEADERS 1
  8587. | #define HAVE_SYS_TYPES_H 1
  8588. | #define HAVE_SYS_STAT_H 1
  8589. | #define HAVE_STDLIB_H 1
  8590. | #define HAVE_STRING_H 1
  8591. | #define HAVE_MEMORY_H 1
  8592. | #define HAVE_STRINGS_H 1
  8593. | #define HAVE_INTTYPES_H 1
  8594. | #define HAVE_STDINT_H 1
  8595. | #define HAVE_UNISTD_H 1
  8596. | #define __EXTENSIONS__ 1
  8597. | #define _ALL_SOURCE 1
  8598. | #define _GNU_SOURCE 1
  8599. | #define _POSIX_PTHREAD_SEMANTICS 1
  8600. | #define _TANDEM_SOURCE 1
  8601. | #define HAVE_LONG_LONG 1
  8602. | #define HAVE_OFF_T 1
  8603. | #define SIZEOF_INT 4
  8604. | #define SIZEOF_SHORT 2
  8605. | #define SIZEOF_LONG 8
  8606. | #define SIZEOF_LONG_LONG 8
  8607. | #define SIZEOF___INT64 0
  8608. | #define SIZEOF_OFF_T 8
  8609. | #define SIZEOF_VOIDP 8
  8610. | #define SIZEOF_FLOAT 4
  8611. | #define SIZEOF_DOUBLE 8
  8612. | #define SIZEOF_TIME_T 8
  8613. | #define PRI_LL_PREFIX "ll"
  8614. | #define rb_pid_t pid_t
  8615. | #define PIDT2NUM(v) INT2NUM(v)
  8616. | #define NUM2PIDT(v) NUM2INT(v)
  8617. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8618. | #define rb_uid_t uid_t
  8619. | #define UIDT2NUM(v) UINT2NUM(v)
  8620. | #define NUM2UIDT(v) NUM2UINT(v)
  8621. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8622. | #define rb_gid_t gid_t
  8623. | #define GIDT2NUM(v) UINT2NUM(v)
  8624. | #define NUM2GIDT(v) NUM2UINT(v)
  8625. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8626. | #define rb_time_t time_t
  8627. | #define TIMET2NUM(v) LONG2NUM(v)
  8628. | #define NUM2TIMET(v) NUM2LONG(v)
  8629. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8630. | #define rb_dev_t dev_t
  8631. | #define DEVT2NUM(v) ULONG2NUM(v)
  8632. | #define NUM2DEVT(v) NUM2ULONG(v)
  8633. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8634. | #define rb_mode_t mode_t
  8635. | #define MODET2NUM(v) UINT2NUM(v)
  8636. | #define NUM2MODET(v) NUM2UINT(v)
  8637. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8638. | #define rb_rlim_t rlim_t
  8639. | #define RLIM2NUM(v) ULONG2NUM(v)
  8640. | #define NUM2RLIM(v) NUM2ULONG(v)
  8641. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8642. | #define HAVE_PROTOTYPES 1
  8643. | #define TOKEN_PASTE(x,y) x##y
  8644. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8645. | #define HAVE_STDARG_PROTOTYPES 1
  8646. | #define HAVE_VA_ARGS_MACRO 1
  8647. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8648. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8649. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8650. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  8651. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  8652. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  8653. | #define HAVE_GCC_SYNC_BUILTINS 1
  8654. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  8655. | #define HAVE_DECL_SYS_NERR 1
  8656. | #define HAVE_LIBCRYPT 1
  8657. | #define HAVE_LIBDL 1
  8658. | #define HAVE_LIBRT 1
  8659. | #define HAVE_DIRENT_H 1
  8660. | #define HAVE__BOOL 1
  8661. | #define HAVE_STDBOOL_H 1
  8662. | #define HAVE_SYS_WAIT_H 1
  8663. | #define HAVE_LIMITS_H 1
  8664. | #define HAVE_SYS_FILE_H 1
  8665. | #define HAVE_SYS_IOCTL_H 1
  8666. | #define HAVE_SYS_SYSCALL_H 1
  8667. | #define HAVE_FCNTL_H 1
  8668. | #define HAVE_SYS_FCNTL_H 1
  8669. | #define HAVE_SYS_SELECT_H 1
  8670. | #define HAVE_SYS_TIME_H 1
  8671. | #define HAVE_SYS_TIMES_H 1
  8672. | #define HAVE_SYS_PARAM_H 1
  8673. | #define HAVE_SYSCALL_H 1
  8674. | #define HAVE_PWD_H 1
  8675. | #define HAVE_GRP_H 1
  8676. | #define HAVE_A_OUT_H 1
  8677. | #define HAVE_UTIME_H 1
  8678. | #define HAVE_SYS_RESOURCE_H 1
  8679. | #define HAVE_NETINET_IN_SYSTM_H 1
  8680. | #define HAVE_FLOAT_H 1
  8681. | #define HAVE_UCONTEXT_H 1
  8682. | #define HAVE_LANGINFO_H 1
  8683. | #define HAVE_LOCALE_H 1
  8684. | #define HAVE_SYS_SENDFILE_H 1
  8685. | #define HAVE_TIME_H 1
  8686. | #define HAVE_SYS_SOCKET_H 1
  8687. | #define SIZEOF_SIZE_T 8
  8688. | #define SIZEOF_PTRDIFF_T 8
  8689. | #define PRI_SIZE_PREFIX "z"
  8690. | #define PRI_PTRDIFF_PREFIX "t"
  8691. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  8692. | #define HAVE_ST_BLKSIZE 1
  8693. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  8694. | #define HAVE_ST_BLOCKS 1
  8695. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  8696. | #define HAVE_ST_RDEV 1
  8697. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  8698. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  8699. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  8700. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  8701. | /* end confdefs.h. */
  8702. | #include <stdio.h>
  8703. | #ifdef HAVE_SYS_TYPES_H
  8704. | # include <sys/types.h>
  8705. | #endif
  8706. | #ifdef HAVE_SYS_STAT_H
  8707. | # include <sys/stat.h>
  8708. | #endif
  8709. | #ifdef STDC_HEADERS
  8710. | # include <stdlib.h>
  8711. | # include <stddef.h>
  8712. | #else
  8713. | # ifdef HAVE_STDLIB_H
  8714. | # include <stdlib.h>
  8715. | # endif
  8716. | #endif
  8717. | #ifdef HAVE_STRING_H
  8718. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8719. | # include <memory.h>
  8720. | # endif
  8721. | # include <string.h>
  8722. | #endif
  8723. | #ifdef HAVE_STRINGS_H
  8724. | # include <strings.h>
  8725. | #endif
  8726. | #ifdef HAVE_INTTYPES_H
  8727. | # include <inttypes.h>
  8728. | #endif
  8729. | #ifdef HAVE_STDINT_H
  8730. | # include <stdint.h>
  8731. | #endif
  8732. | #ifdef HAVE_UNISTD_H
  8733. | # include <unistd.h>
  8734. | #endif
  8735. | int
  8736. | main ()
  8737. | {
  8738. | static struct stat ac_aggr;
  8739. | if (sizeof ac_aggr.st_mtimensec)
  8740. | return 0;
  8741. | ;
  8742. | return 0;
  8743. | }
  8744. configure:12190: result: no
  8745. configure:12200: checking for struct stat.st_ctim
  8746. configure:12200: gcc -c -O3 -ggdb conftest.c >&5
  8747. conftest.c: In function 'main':
  8748. conftest.c:162:5: error: used struct type value where scalar is required
  8749. if (ac_aggr.st_ctim)
  8750. ^
  8751. configure:12200: $? = 1
  8752. configure: failed program was:
  8753. | /* confdefs.h */
  8754. | #define PACKAGE_NAME ""
  8755. | #define PACKAGE_TARNAME ""
  8756. | #define PACKAGE_VERSION ""
  8757. | #define PACKAGE_STRING ""
  8758. | #define PACKAGE_BUGREPORT ""
  8759. | #define PACKAGE_URL ""
  8760. | #define CANONICALIZATION_FOR_MATHN 1
  8761. | #define STDC_HEADERS 1
  8762. | #define HAVE_SYS_TYPES_H 1
  8763. | #define HAVE_SYS_STAT_H 1
  8764. | #define HAVE_STDLIB_H 1
  8765. | #define HAVE_STRING_H 1
  8766. | #define HAVE_MEMORY_H 1
  8767. | #define HAVE_STRINGS_H 1
  8768. | #define HAVE_INTTYPES_H 1
  8769. | #define HAVE_STDINT_H 1
  8770. | #define HAVE_UNISTD_H 1
  8771. | #define __EXTENSIONS__ 1
  8772. | #define _ALL_SOURCE 1
  8773. | #define _GNU_SOURCE 1
  8774. | #define _POSIX_PTHREAD_SEMANTICS 1
  8775. | #define _TANDEM_SOURCE 1
  8776. | #define HAVE_LONG_LONG 1
  8777. | #define HAVE_OFF_T 1
  8778. | #define SIZEOF_INT 4
  8779. | #define SIZEOF_SHORT 2
  8780. | #define SIZEOF_LONG 8
  8781. | #define SIZEOF_LONG_LONG 8
  8782. | #define SIZEOF___INT64 0
  8783. | #define SIZEOF_OFF_T 8
  8784. | #define SIZEOF_VOIDP 8
  8785. | #define SIZEOF_FLOAT 4
  8786. | #define SIZEOF_DOUBLE 8
  8787. | #define SIZEOF_TIME_T 8
  8788. | #define PRI_LL_PREFIX "ll"
  8789. | #define rb_pid_t pid_t
  8790. | #define PIDT2NUM(v) INT2NUM(v)
  8791. | #define NUM2PIDT(v) NUM2INT(v)
  8792. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8793. | #define rb_uid_t uid_t
  8794. | #define UIDT2NUM(v) UINT2NUM(v)
  8795. | #define NUM2UIDT(v) NUM2UINT(v)
  8796. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8797. | #define rb_gid_t gid_t
  8798. | #define GIDT2NUM(v) UINT2NUM(v)
  8799. | #define NUM2GIDT(v) NUM2UINT(v)
  8800. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8801. | #define rb_time_t time_t
  8802. | #define TIMET2NUM(v) LONG2NUM(v)
  8803. | #define NUM2TIMET(v) NUM2LONG(v)
  8804. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8805. | #define rb_dev_t dev_t
  8806. | #define DEVT2NUM(v) ULONG2NUM(v)
  8807. | #define NUM2DEVT(v) NUM2ULONG(v)
  8808. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8809. | #define rb_mode_t mode_t
  8810. | #define MODET2NUM(v) UINT2NUM(v)
  8811. | #define NUM2MODET(v) NUM2UINT(v)
  8812. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8813. | #define rb_rlim_t rlim_t
  8814. | #define RLIM2NUM(v) ULONG2NUM(v)
  8815. | #define NUM2RLIM(v) NUM2ULONG(v)
  8816. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8817. | #define HAVE_PROTOTYPES 1
  8818. | #define TOKEN_PASTE(x,y) x##y
  8819. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8820. | #define HAVE_STDARG_PROTOTYPES 1
  8821. | #define HAVE_VA_ARGS_MACRO 1
  8822. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8823. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8824. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8825. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  8826. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  8827. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  8828. | #define HAVE_GCC_SYNC_BUILTINS 1
  8829. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  8830. | #define HAVE_DECL_SYS_NERR 1
  8831. | #define HAVE_LIBCRYPT 1
  8832. | #define HAVE_LIBDL 1
  8833. | #define HAVE_LIBRT 1
  8834. | #define HAVE_DIRENT_H 1
  8835. | #define HAVE__BOOL 1
  8836. | #define HAVE_STDBOOL_H 1
  8837. | #define HAVE_SYS_WAIT_H 1
  8838. | #define HAVE_LIMITS_H 1
  8839. | #define HAVE_SYS_FILE_H 1
  8840. | #define HAVE_SYS_IOCTL_H 1
  8841. | #define HAVE_SYS_SYSCALL_H 1
  8842. | #define HAVE_FCNTL_H 1
  8843. | #define HAVE_SYS_FCNTL_H 1
  8844. | #define HAVE_SYS_SELECT_H 1
  8845. | #define HAVE_SYS_TIME_H 1
  8846. | #define HAVE_SYS_TIMES_H 1
  8847. | #define HAVE_SYS_PARAM_H 1
  8848. | #define HAVE_SYSCALL_H 1
  8849. | #define HAVE_PWD_H 1
  8850. | #define HAVE_GRP_H 1
  8851. | #define HAVE_A_OUT_H 1
  8852. | #define HAVE_UTIME_H 1
  8853. | #define HAVE_SYS_RESOURCE_H 1
  8854. | #define HAVE_NETINET_IN_SYSTM_H 1
  8855. | #define HAVE_FLOAT_H 1
  8856. | #define HAVE_UCONTEXT_H 1
  8857. | #define HAVE_LANGINFO_H 1
  8858. | #define HAVE_LOCALE_H 1
  8859. | #define HAVE_SYS_SENDFILE_H 1
  8860. | #define HAVE_TIME_H 1
  8861. | #define HAVE_SYS_SOCKET_H 1
  8862. | #define SIZEOF_SIZE_T 8
  8863. | #define SIZEOF_PTRDIFF_T 8
  8864. | #define PRI_SIZE_PREFIX "z"
  8865. | #define PRI_PTRDIFF_PREFIX "t"
  8866. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  8867. | #define HAVE_ST_BLKSIZE 1
  8868. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  8869. | #define HAVE_ST_BLOCKS 1
  8870. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  8871. | #define HAVE_ST_RDEV 1
  8872. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  8873. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  8874. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  8875. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  8876. | /* end confdefs.h. */
  8877. | #include <stdio.h>
  8878. | #ifdef HAVE_SYS_TYPES_H
  8879. | # include <sys/types.h>
  8880. | #endif
  8881. | #ifdef HAVE_SYS_STAT_H
  8882. | # include <sys/stat.h>
  8883. | #endif
  8884. | #ifdef STDC_HEADERS
  8885. | # include <stdlib.h>
  8886. | # include <stddef.h>
  8887. | #else
  8888. | # ifdef HAVE_STDLIB_H
  8889. | # include <stdlib.h>
  8890. | # endif
  8891. | #endif
  8892. | #ifdef HAVE_STRING_H
  8893. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8894. | # include <memory.h>
  8895. | # endif
  8896. | # include <string.h>
  8897. | #endif
  8898. | #ifdef HAVE_STRINGS_H
  8899. | # include <strings.h>
  8900. | #endif
  8901. | #ifdef HAVE_INTTYPES_H
  8902. | # include <inttypes.h>
  8903. | #endif
  8904. | #ifdef HAVE_STDINT_H
  8905. | # include <stdint.h>
  8906. | #endif
  8907. | #ifdef HAVE_UNISTD_H
  8908. | # include <unistd.h>
  8909. | #endif
  8910. | int
  8911. | main ()
  8912. | {
  8913. | static struct stat ac_aggr;
  8914. | if (ac_aggr.st_ctim)
  8915. | return 0;
  8916. | ;
  8917. | return 0;
  8918. | }
  8919. configure:12200: gcc -c -O3 -ggdb conftest.c >&5
  8920. configure:12200: $? = 0
  8921. configure:12200: result: yes
  8922. configure:12210: checking for struct stat.st_ctimespec
  8923. configure:12210: gcc -c -O3 -ggdb conftest.c >&5
  8924. conftest.c: In function 'main':
  8925. conftest.c:163:12: error: 'struct stat' has no member named 'st_ctimespec'
  8926. if (ac_aggr.st_ctimespec)
  8927. ^
  8928. configure:12210: $? = 1
  8929. configure: failed program was:
  8930. | /* confdefs.h */
  8931. | #define PACKAGE_NAME ""
  8932. | #define PACKAGE_TARNAME ""
  8933. | #define PACKAGE_VERSION ""
  8934. | #define PACKAGE_STRING ""
  8935. | #define PACKAGE_BUGREPORT ""
  8936. | #define PACKAGE_URL ""
  8937. | #define CANONICALIZATION_FOR_MATHN 1
  8938. | #define STDC_HEADERS 1
  8939. | #define HAVE_SYS_TYPES_H 1
  8940. | #define HAVE_SYS_STAT_H 1
  8941. | #define HAVE_STDLIB_H 1
  8942. | #define HAVE_STRING_H 1
  8943. | #define HAVE_MEMORY_H 1
  8944. | #define HAVE_STRINGS_H 1
  8945. | #define HAVE_INTTYPES_H 1
  8946. | #define HAVE_STDINT_H 1
  8947. | #define HAVE_UNISTD_H 1
  8948. | #define __EXTENSIONS__ 1
  8949. | #define _ALL_SOURCE 1
  8950. | #define _GNU_SOURCE 1
  8951. | #define _POSIX_PTHREAD_SEMANTICS 1
  8952. | #define _TANDEM_SOURCE 1
  8953. | #define HAVE_LONG_LONG 1
  8954. | #define HAVE_OFF_T 1
  8955. | #define SIZEOF_INT 4
  8956. | #define SIZEOF_SHORT 2
  8957. | #define SIZEOF_LONG 8
  8958. | #define SIZEOF_LONG_LONG 8
  8959. | #define SIZEOF___INT64 0
  8960. | #define SIZEOF_OFF_T 8
  8961. | #define SIZEOF_VOIDP 8
  8962. | #define SIZEOF_FLOAT 4
  8963. | #define SIZEOF_DOUBLE 8
  8964. | #define SIZEOF_TIME_T 8
  8965. | #define PRI_LL_PREFIX "ll"
  8966. | #define rb_pid_t pid_t
  8967. | #define PIDT2NUM(v) INT2NUM(v)
  8968. | #define NUM2PIDT(v) NUM2INT(v)
  8969. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8970. | #define rb_uid_t uid_t
  8971. | #define UIDT2NUM(v) UINT2NUM(v)
  8972. | #define NUM2UIDT(v) NUM2UINT(v)
  8973. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8974. | #define rb_gid_t gid_t
  8975. | #define GIDT2NUM(v) UINT2NUM(v)
  8976. | #define NUM2GIDT(v) NUM2UINT(v)
  8977. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8978. | #define rb_time_t time_t
  8979. | #define TIMET2NUM(v) LONG2NUM(v)
  8980. | #define NUM2TIMET(v) NUM2LONG(v)
  8981. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8982. | #define rb_dev_t dev_t
  8983. | #define DEVT2NUM(v) ULONG2NUM(v)
  8984. | #define NUM2DEVT(v) NUM2ULONG(v)
  8985. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8986. | #define rb_mode_t mode_t
  8987. | #define MODET2NUM(v) UINT2NUM(v)
  8988. | #define NUM2MODET(v) NUM2UINT(v)
  8989. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8990. | #define rb_rlim_t rlim_t
  8991. | #define RLIM2NUM(v) ULONG2NUM(v)
  8992. | #define NUM2RLIM(v) NUM2ULONG(v)
  8993. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8994. | #define HAVE_PROTOTYPES 1
  8995. | #define TOKEN_PASTE(x,y) x##y
  8996. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8997. | #define HAVE_STDARG_PROTOTYPES 1
  8998. | #define HAVE_VA_ARGS_MACRO 1
  8999. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9000. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9001. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9002. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  9003. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  9004. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  9005. | #define HAVE_GCC_SYNC_BUILTINS 1
  9006. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  9007. | #define HAVE_DECL_SYS_NERR 1
  9008. | #define HAVE_LIBCRYPT 1
  9009. | #define HAVE_LIBDL 1
  9010. | #define HAVE_LIBRT 1
  9011. | #define HAVE_DIRENT_H 1
  9012. | #define HAVE__BOOL 1
  9013. | #define HAVE_STDBOOL_H 1
  9014. | #define HAVE_SYS_WAIT_H 1
  9015. | #define HAVE_LIMITS_H 1
  9016. | #define HAVE_SYS_FILE_H 1
  9017. | #define HAVE_SYS_IOCTL_H 1
  9018. | #define HAVE_SYS_SYSCALL_H 1
  9019. | #define HAVE_FCNTL_H 1
  9020. | #define HAVE_SYS_FCNTL_H 1
  9021. | #define HAVE_SYS_SELECT_H 1
  9022. | #define HAVE_SYS_TIME_H 1
  9023. | #define HAVE_SYS_TIMES_H 1
  9024. | #define HAVE_SYS_PARAM_H 1
  9025. | #define HAVE_SYSCALL_H 1
  9026. | #define HAVE_PWD_H 1
  9027. | #define HAVE_GRP_H 1
  9028. | #define HAVE_A_OUT_H 1
  9029. | #define HAVE_UTIME_H 1
  9030. | #define HAVE_SYS_RESOURCE_H 1
  9031. | #define HAVE_NETINET_IN_SYSTM_H 1
  9032. | #define HAVE_FLOAT_H 1
  9033. | #define HAVE_UCONTEXT_H 1
  9034. | #define HAVE_LANGINFO_H 1
  9035. | #define HAVE_LOCALE_H 1
  9036. | #define HAVE_SYS_SENDFILE_H 1
  9037. | #define HAVE_TIME_H 1
  9038. | #define HAVE_SYS_SOCKET_H 1
  9039. | #define SIZEOF_SIZE_T 8
  9040. | #define SIZEOF_PTRDIFF_T 8
  9041. | #define PRI_SIZE_PREFIX "z"
  9042. | #define PRI_PTRDIFF_PREFIX "t"
  9043. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  9044. | #define HAVE_ST_BLKSIZE 1
  9045. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  9046. | #define HAVE_ST_BLOCKS 1
  9047. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  9048. | #define HAVE_ST_RDEV 1
  9049. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  9050. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  9051. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  9052. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  9053. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  9054. | /* end confdefs.h. */
  9055. | #include <stdio.h>
  9056. | #ifdef HAVE_SYS_TYPES_H
  9057. | # include <sys/types.h>
  9058. | #endif
  9059. | #ifdef HAVE_SYS_STAT_H
  9060. | # include <sys/stat.h>
  9061. | #endif
  9062. | #ifdef STDC_HEADERS
  9063. | # include <stdlib.h>
  9064. | # include <stddef.h>
  9065. | #else
  9066. | # ifdef HAVE_STDLIB_H
  9067. | # include <stdlib.h>
  9068. | # endif
  9069. | #endif
  9070. | #ifdef HAVE_STRING_H
  9071. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9072. | # include <memory.h>
  9073. | # endif
  9074. | # include <string.h>
  9075. | #endif
  9076. | #ifdef HAVE_STRINGS_H
  9077. | # include <strings.h>
  9078. | #endif
  9079. | #ifdef HAVE_INTTYPES_H
  9080. | # include <inttypes.h>
  9081. | #endif
  9082. | #ifdef HAVE_STDINT_H
  9083. | # include <stdint.h>
  9084. | #endif
  9085. | #ifdef HAVE_UNISTD_H
  9086. | # include <unistd.h>
  9087. | #endif
  9088. | int
  9089. | main ()
  9090. | {
  9091. | static struct stat ac_aggr;
  9092. | if (ac_aggr.st_ctimespec)
  9093. | return 0;
  9094. | ;
  9095. | return 0;
  9096. | }
  9097. configure:12210: gcc -c -O3 -ggdb conftest.c >&5
  9098. conftest.c: In function 'main':
  9099. conftest.c:163:19: error: 'struct stat' has no member named 'st_ctimespec'
  9100. if (sizeof ac_aggr.st_ctimespec)
  9101. ^
  9102. configure:12210: $? = 1
  9103. configure: failed program was:
  9104. | /* confdefs.h */
  9105. | #define PACKAGE_NAME ""
  9106. | #define PACKAGE_TARNAME ""
  9107. | #define PACKAGE_VERSION ""
  9108. | #define PACKAGE_STRING ""
  9109. | #define PACKAGE_BUGREPORT ""
  9110. | #define PACKAGE_URL ""
  9111. | #define CANONICALIZATION_FOR_MATHN 1
  9112. | #define STDC_HEADERS 1
  9113. | #define HAVE_SYS_TYPES_H 1
  9114. | #define HAVE_SYS_STAT_H 1
  9115. | #define HAVE_STDLIB_H 1
  9116. | #define HAVE_STRING_H 1
  9117. | #define HAVE_MEMORY_H 1
  9118. | #define HAVE_STRINGS_H 1
  9119. | #define HAVE_INTTYPES_H 1
  9120. | #define HAVE_STDINT_H 1
  9121. | #define HAVE_UNISTD_H 1
  9122. | #define __EXTENSIONS__ 1
  9123. | #define _ALL_SOURCE 1
  9124. | #define _GNU_SOURCE 1
  9125. | #define _POSIX_PTHREAD_SEMANTICS 1
  9126. | #define _TANDEM_SOURCE 1
  9127. | #define HAVE_LONG_LONG 1
  9128. | #define HAVE_OFF_T 1
  9129. | #define SIZEOF_INT 4
  9130. | #define SIZEOF_SHORT 2
  9131. | #define SIZEOF_LONG 8
  9132. | #define SIZEOF_LONG_LONG 8
  9133. | #define SIZEOF___INT64 0
  9134. | #define SIZEOF_OFF_T 8
  9135. | #define SIZEOF_VOIDP 8
  9136. | #define SIZEOF_FLOAT 4
  9137. | #define SIZEOF_DOUBLE 8
  9138. | #define SIZEOF_TIME_T 8
  9139. | #define PRI_LL_PREFIX "ll"
  9140. | #define rb_pid_t pid_t
  9141. | #define PIDT2NUM(v) INT2NUM(v)
  9142. | #define NUM2PIDT(v) NUM2INT(v)
  9143. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9144. | #define rb_uid_t uid_t
  9145. | #define UIDT2NUM(v) UINT2NUM(v)
  9146. | #define NUM2UIDT(v) NUM2UINT(v)
  9147. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9148. | #define rb_gid_t gid_t
  9149. | #define GIDT2NUM(v) UINT2NUM(v)
  9150. | #define NUM2GIDT(v) NUM2UINT(v)
  9151. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9152. | #define rb_time_t time_t
  9153. | #define TIMET2NUM(v) LONG2NUM(v)
  9154. | #define NUM2TIMET(v) NUM2LONG(v)
  9155. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9156. | #define rb_dev_t dev_t
  9157. | #define DEVT2NUM(v) ULONG2NUM(v)
  9158. | #define NUM2DEVT(v) NUM2ULONG(v)
  9159. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9160. | #define rb_mode_t mode_t
  9161. | #define MODET2NUM(v) UINT2NUM(v)
  9162. | #define NUM2MODET(v) NUM2UINT(v)
  9163. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9164. | #define rb_rlim_t rlim_t
  9165. | #define RLIM2NUM(v) ULONG2NUM(v)
  9166. | #define NUM2RLIM(v) NUM2ULONG(v)
  9167. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9168. | #define HAVE_PROTOTYPES 1
  9169. | #define TOKEN_PASTE(x,y) x##y
  9170. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9171. | #define HAVE_STDARG_PROTOTYPES 1
  9172. | #define HAVE_VA_ARGS_MACRO 1
  9173. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9174. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9175. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9176. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  9177. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  9178. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  9179. | #define HAVE_GCC_SYNC_BUILTINS 1
  9180. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  9181. | #define HAVE_DECL_SYS_NERR 1
  9182. | #define HAVE_LIBCRYPT 1
  9183. | #define HAVE_LIBDL 1
  9184. | #define HAVE_LIBRT 1
  9185. | #define HAVE_DIRENT_H 1
  9186. | #define HAVE__BOOL 1
  9187. | #define HAVE_STDBOOL_H 1
  9188. | #define HAVE_SYS_WAIT_H 1
  9189. | #define HAVE_LIMITS_H 1
  9190. | #define HAVE_SYS_FILE_H 1
  9191. | #define HAVE_SYS_IOCTL_H 1
  9192. | #define HAVE_SYS_SYSCALL_H 1
  9193. | #define HAVE_FCNTL_H 1
  9194. | #define HAVE_SYS_FCNTL_H 1
  9195. | #define HAVE_SYS_SELECT_H 1
  9196. | #define HAVE_SYS_TIME_H 1
  9197. | #define HAVE_SYS_TIMES_H 1
  9198. | #define HAVE_SYS_PARAM_H 1
  9199. | #define HAVE_SYSCALL_H 1
  9200. | #define HAVE_PWD_H 1
  9201. | #define HAVE_GRP_H 1
  9202. | #define HAVE_A_OUT_H 1
  9203. | #define HAVE_UTIME_H 1
  9204. | #define HAVE_SYS_RESOURCE_H 1
  9205. | #define HAVE_NETINET_IN_SYSTM_H 1
  9206. | #define HAVE_FLOAT_H 1
  9207. | #define HAVE_UCONTEXT_H 1
  9208. | #define HAVE_LANGINFO_H 1
  9209. | #define HAVE_LOCALE_H 1
  9210. | #define HAVE_SYS_SENDFILE_H 1
  9211. | #define HAVE_TIME_H 1
  9212. | #define HAVE_SYS_SOCKET_H 1
  9213. | #define SIZEOF_SIZE_T 8
  9214. | #define SIZEOF_PTRDIFF_T 8
  9215. | #define PRI_SIZE_PREFIX "z"
  9216. | #define PRI_PTRDIFF_PREFIX "t"
  9217. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  9218. | #define HAVE_ST_BLKSIZE 1
  9219. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  9220. | #define HAVE_ST_BLOCKS 1
  9221. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  9222. | #define HAVE_ST_RDEV 1
  9223. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  9224. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  9225. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  9226. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  9227. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  9228. | /* end confdefs.h. */
  9229. | #include <stdio.h>
  9230. | #ifdef HAVE_SYS_TYPES_H
  9231. | # include <sys/types.h>
  9232. | #endif
  9233. | #ifdef HAVE_SYS_STAT_H
  9234. | # include <sys/stat.h>
  9235. | #endif
  9236. | #ifdef STDC_HEADERS
  9237. | # include <stdlib.h>
  9238. | # include <stddef.h>
  9239. | #else
  9240. | # ifdef HAVE_STDLIB_H
  9241. | # include <stdlib.h>
  9242. | # endif
  9243. | #endif
  9244. | #ifdef HAVE_STRING_H
  9245. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9246. | # include <memory.h>
  9247. | # endif
  9248. | # include <string.h>
  9249. | #endif
  9250. | #ifdef HAVE_STRINGS_H
  9251. | # include <strings.h>
  9252. | #endif
  9253. | #ifdef HAVE_INTTYPES_H
  9254. | # include <inttypes.h>
  9255. | #endif
  9256. | #ifdef HAVE_STDINT_H
  9257. | # include <stdint.h>
  9258. | #endif
  9259. | #ifdef HAVE_UNISTD_H
  9260. | # include <unistd.h>
  9261. | #endif
  9262. | int
  9263. | main ()
  9264. | {
  9265. | static struct stat ac_aggr;
  9266. | if (sizeof ac_aggr.st_ctimespec)
  9267. | return 0;
  9268. | ;
  9269. | return 0;
  9270. | }
  9271. configure:12210: result: no
  9272. configure:12220: checking for struct stat.st_ctimensec
  9273. configure:12220: gcc -c -O3 -ggdb conftest.c >&5
  9274. conftest.c: In function 'main':
  9275. conftest.c:163:12: error: 'struct stat' has no member named 'st_ctimensec'
  9276. if (ac_aggr.st_ctimensec)
  9277. ^
  9278. configure:12220: $? = 1
  9279. configure: failed program was:
  9280. | /* confdefs.h */
  9281. | #define PACKAGE_NAME ""
  9282. | #define PACKAGE_TARNAME ""
  9283. | #define PACKAGE_VERSION ""
  9284. | #define PACKAGE_STRING ""
  9285. | #define PACKAGE_BUGREPORT ""
  9286. | #define PACKAGE_URL ""
  9287. | #define CANONICALIZATION_FOR_MATHN 1
  9288. | #define STDC_HEADERS 1
  9289. | #define HAVE_SYS_TYPES_H 1
  9290. | #define HAVE_SYS_STAT_H 1
  9291. | #define HAVE_STDLIB_H 1
  9292. | #define HAVE_STRING_H 1
  9293. | #define HAVE_MEMORY_H 1
  9294. | #define HAVE_STRINGS_H 1
  9295. | #define HAVE_INTTYPES_H 1
  9296. | #define HAVE_STDINT_H 1
  9297. | #define HAVE_UNISTD_H 1
  9298. | #define __EXTENSIONS__ 1
  9299. | #define _ALL_SOURCE 1
  9300. | #define _GNU_SOURCE 1
  9301. | #define _POSIX_PTHREAD_SEMANTICS 1
  9302. | #define _TANDEM_SOURCE 1
  9303. | #define HAVE_LONG_LONG 1
  9304. | #define HAVE_OFF_T 1
  9305. | #define SIZEOF_INT 4
  9306. | #define SIZEOF_SHORT 2
  9307. | #define SIZEOF_LONG 8
  9308. | #define SIZEOF_LONG_LONG 8
  9309. | #define SIZEOF___INT64 0
  9310. | #define SIZEOF_OFF_T 8
  9311. | #define SIZEOF_VOIDP 8
  9312. | #define SIZEOF_FLOAT 4
  9313. | #define SIZEOF_DOUBLE 8
  9314. | #define SIZEOF_TIME_T 8
  9315. | #define PRI_LL_PREFIX "ll"
  9316. | #define rb_pid_t pid_t
  9317. | #define PIDT2NUM(v) INT2NUM(v)
  9318. | #define NUM2PIDT(v) NUM2INT(v)
  9319. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9320. | #define rb_uid_t uid_t
  9321. | #define UIDT2NUM(v) UINT2NUM(v)
  9322. | #define NUM2UIDT(v) NUM2UINT(v)
  9323. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9324. | #define rb_gid_t gid_t
  9325. | #define GIDT2NUM(v) UINT2NUM(v)
  9326. | #define NUM2GIDT(v) NUM2UINT(v)
  9327. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9328. | #define rb_time_t time_t
  9329. | #define TIMET2NUM(v) LONG2NUM(v)
  9330. | #define NUM2TIMET(v) NUM2LONG(v)
  9331. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9332. | #define rb_dev_t dev_t
  9333. | #define DEVT2NUM(v) ULONG2NUM(v)
  9334. | #define NUM2DEVT(v) NUM2ULONG(v)
  9335. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9336. | #define rb_mode_t mode_t
  9337. | #define MODET2NUM(v) UINT2NUM(v)
  9338. | #define NUM2MODET(v) NUM2UINT(v)
  9339. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9340. | #define rb_rlim_t rlim_t
  9341. | #define RLIM2NUM(v) ULONG2NUM(v)
  9342. | #define NUM2RLIM(v) NUM2ULONG(v)
  9343. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9344. | #define HAVE_PROTOTYPES 1
  9345. | #define TOKEN_PASTE(x,y) x##y
  9346. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9347. | #define HAVE_STDARG_PROTOTYPES 1
  9348. | #define HAVE_VA_ARGS_MACRO 1
  9349. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9350. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9351. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9352. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  9353. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  9354. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  9355. | #define HAVE_GCC_SYNC_BUILTINS 1
  9356. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  9357. | #define HAVE_DECL_SYS_NERR 1
  9358. | #define HAVE_LIBCRYPT 1
  9359. | #define HAVE_LIBDL 1
  9360. | #define HAVE_LIBRT 1
  9361. | #define HAVE_DIRENT_H 1
  9362. | #define HAVE__BOOL 1
  9363. | #define HAVE_STDBOOL_H 1
  9364. | #define HAVE_SYS_WAIT_H 1
  9365. | #define HAVE_LIMITS_H 1
  9366. | #define HAVE_SYS_FILE_H 1
  9367. | #define HAVE_SYS_IOCTL_H 1
  9368. | #define HAVE_SYS_SYSCALL_H 1
  9369. | #define HAVE_FCNTL_H 1
  9370. | #define HAVE_SYS_FCNTL_H 1
  9371. | #define HAVE_SYS_SELECT_H 1
  9372. | #define HAVE_SYS_TIME_H 1
  9373. | #define HAVE_SYS_TIMES_H 1
  9374. | #define HAVE_SYS_PARAM_H 1
  9375. | #define HAVE_SYSCALL_H 1
  9376. | #define HAVE_PWD_H 1
  9377. | #define HAVE_GRP_H 1
  9378. | #define HAVE_A_OUT_H 1
  9379. | #define HAVE_UTIME_H 1
  9380. | #define HAVE_SYS_RESOURCE_H 1
  9381. | #define HAVE_NETINET_IN_SYSTM_H 1
  9382. | #define HAVE_FLOAT_H 1
  9383. | #define HAVE_UCONTEXT_H 1
  9384. | #define HAVE_LANGINFO_H 1
  9385. | #define HAVE_LOCALE_H 1
  9386. | #define HAVE_SYS_SENDFILE_H 1
  9387. | #define HAVE_TIME_H 1
  9388. | #define HAVE_SYS_SOCKET_H 1
  9389. | #define SIZEOF_SIZE_T 8
  9390. | #define SIZEOF_PTRDIFF_T 8
  9391. | #define PRI_SIZE_PREFIX "z"
  9392. | #define PRI_PTRDIFF_PREFIX "t"
  9393. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  9394. | #define HAVE_ST_BLKSIZE 1
  9395. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  9396. | #define HAVE_ST_BLOCKS 1
  9397. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  9398. | #define HAVE_ST_RDEV 1
  9399. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  9400. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  9401. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  9402. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  9403. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  9404. | /* end confdefs.h. */
  9405. | #include <stdio.h>
  9406. | #ifdef HAVE_SYS_TYPES_H
  9407. | # include <sys/types.h>
  9408. | #endif
  9409. | #ifdef HAVE_SYS_STAT_H
  9410. | # include <sys/stat.h>
  9411. | #endif
  9412. | #ifdef STDC_HEADERS
  9413. | # include <stdlib.h>
  9414. | # include <stddef.h>
  9415. | #else
  9416. | # ifdef HAVE_STDLIB_H
  9417. | # include <stdlib.h>
  9418. | # endif
  9419. | #endif
  9420. | #ifdef HAVE_STRING_H
  9421. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9422. | # include <memory.h>
  9423. | # endif
  9424. | # include <string.h>
  9425. | #endif
  9426. | #ifdef HAVE_STRINGS_H
  9427. | # include <strings.h>
  9428. | #endif
  9429. | #ifdef HAVE_INTTYPES_H
  9430. | # include <inttypes.h>
  9431. | #endif
  9432. | #ifdef HAVE_STDINT_H
  9433. | # include <stdint.h>
  9434. | #endif
  9435. | #ifdef HAVE_UNISTD_H
  9436. | # include <unistd.h>
  9437. | #endif
  9438. | int
  9439. | main ()
  9440. | {
  9441. | static struct stat ac_aggr;
  9442. | if (ac_aggr.st_ctimensec)
  9443. | return 0;
  9444. | ;
  9445. | return 0;
  9446. | }
  9447. configure:12220: gcc -c -O3 -ggdb conftest.c >&5
  9448. conftest.c: In function 'main':
  9449. conftest.c:163:19: error: 'struct stat' has no member named 'st_ctimensec'
  9450. if (sizeof ac_aggr.st_ctimensec)
  9451. ^
  9452. configure:12220: $? = 1
  9453. configure: failed program was:
  9454. | /* confdefs.h */
  9455. | #define PACKAGE_NAME ""
  9456. | #define PACKAGE_TARNAME ""
  9457. | #define PACKAGE_VERSION ""
  9458. | #define PACKAGE_STRING ""
  9459. | #define PACKAGE_BUGREPORT ""
  9460. | #define PACKAGE_URL ""
  9461. | #define CANONICALIZATION_FOR_MATHN 1
  9462. | #define STDC_HEADERS 1
  9463. | #define HAVE_SYS_TYPES_H 1
  9464. | #define HAVE_SYS_STAT_H 1
  9465. | #define HAVE_STDLIB_H 1
  9466. | #define HAVE_STRING_H 1
  9467. | #define HAVE_MEMORY_H 1
  9468. | #define HAVE_STRINGS_H 1
  9469. | #define HAVE_INTTYPES_H 1
  9470. | #define HAVE_STDINT_H 1
  9471. | #define HAVE_UNISTD_H 1
  9472. | #define __EXTENSIONS__ 1
  9473. | #define _ALL_SOURCE 1
  9474. | #define _GNU_SOURCE 1
  9475. | #define _POSIX_PTHREAD_SEMANTICS 1
  9476. | #define _TANDEM_SOURCE 1
  9477. | #define HAVE_LONG_LONG 1
  9478. | #define HAVE_OFF_T 1
  9479. | #define SIZEOF_INT 4
  9480. | #define SIZEOF_SHORT 2
  9481. | #define SIZEOF_LONG 8
  9482. | #define SIZEOF_LONG_LONG 8
  9483. | #define SIZEOF___INT64 0
  9484. | #define SIZEOF_OFF_T 8
  9485. | #define SIZEOF_VOIDP 8
  9486. | #define SIZEOF_FLOAT 4
  9487. | #define SIZEOF_DOUBLE 8
  9488. | #define SIZEOF_TIME_T 8
  9489. | #define PRI_LL_PREFIX "ll"
  9490. | #define rb_pid_t pid_t
  9491. | #define PIDT2NUM(v) INT2NUM(v)
  9492. | #define NUM2PIDT(v) NUM2INT(v)
  9493. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9494. | #define rb_uid_t uid_t
  9495. | #define UIDT2NUM(v) UINT2NUM(v)
  9496. | #define NUM2UIDT(v) NUM2UINT(v)
  9497. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9498. | #define rb_gid_t gid_t
  9499. | #define GIDT2NUM(v) UINT2NUM(v)
  9500. | #define NUM2GIDT(v) NUM2UINT(v)
  9501. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9502. | #define rb_time_t time_t
  9503. | #define TIMET2NUM(v) LONG2NUM(v)
  9504. | #define NUM2TIMET(v) NUM2LONG(v)
  9505. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9506. | #define rb_dev_t dev_t
  9507. | #define DEVT2NUM(v) ULONG2NUM(v)
  9508. | #define NUM2DEVT(v) NUM2ULONG(v)
  9509. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9510. | #define rb_mode_t mode_t
  9511. | #define MODET2NUM(v) UINT2NUM(v)
  9512. | #define NUM2MODET(v) NUM2UINT(v)
  9513. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9514. | #define rb_rlim_t rlim_t
  9515. | #define RLIM2NUM(v) ULONG2NUM(v)
  9516. | #define NUM2RLIM(v) NUM2ULONG(v)
  9517. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9518. | #define HAVE_PROTOTYPES 1
  9519. | #define TOKEN_PASTE(x,y) x##y
  9520. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9521. | #define HAVE_STDARG_PROTOTYPES 1
  9522. | #define HAVE_VA_ARGS_MACRO 1
  9523. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9524. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9525. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9526. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  9527. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  9528. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  9529. | #define HAVE_GCC_SYNC_BUILTINS 1
  9530. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  9531. | #define HAVE_DECL_SYS_NERR 1
  9532. | #define HAVE_LIBCRYPT 1
  9533. | #define HAVE_LIBDL 1
  9534. | #define HAVE_LIBRT 1
  9535. | #define HAVE_DIRENT_H 1
  9536. | #define HAVE__BOOL 1
  9537. | #define HAVE_STDBOOL_H 1
  9538. | #define HAVE_SYS_WAIT_H 1
  9539. | #define HAVE_LIMITS_H 1
  9540. | #define HAVE_SYS_FILE_H 1
  9541. | #define HAVE_SYS_IOCTL_H 1
  9542. | #define HAVE_SYS_SYSCALL_H 1
  9543. | #define HAVE_FCNTL_H 1
  9544. | #define HAVE_SYS_FCNTL_H 1
  9545. | #define HAVE_SYS_SELECT_H 1
  9546. | #define HAVE_SYS_TIME_H 1
  9547. | #define HAVE_SYS_TIMES_H 1
  9548. | #define HAVE_SYS_PARAM_H 1
  9549. | #define HAVE_SYSCALL_H 1
  9550. | #define HAVE_PWD_H 1
  9551. | #define HAVE_GRP_H 1
  9552. | #define HAVE_A_OUT_H 1
  9553. | #define HAVE_UTIME_H 1
  9554. | #define HAVE_SYS_RESOURCE_H 1
  9555. | #define HAVE_NETINET_IN_SYSTM_H 1
  9556. | #define HAVE_FLOAT_H 1
  9557. | #define HAVE_UCONTEXT_H 1
  9558. | #define HAVE_LANGINFO_H 1
  9559. | #define HAVE_LOCALE_H 1
  9560. | #define HAVE_SYS_SENDFILE_H 1
  9561. | #define HAVE_TIME_H 1
  9562. | #define HAVE_SYS_SOCKET_H 1
  9563. | #define SIZEOF_SIZE_T 8
  9564. | #define SIZEOF_PTRDIFF_T 8
  9565. | #define PRI_SIZE_PREFIX "z"
  9566. | #define PRI_PTRDIFF_PREFIX "t"
  9567. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  9568. | #define HAVE_ST_BLKSIZE 1
  9569. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  9570. | #define HAVE_ST_BLOCKS 1
  9571. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  9572. | #define HAVE_ST_RDEV 1
  9573. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  9574. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  9575. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  9576. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  9577. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  9578. | /* end confdefs.h. */
  9579. | #include <stdio.h>
  9580. | #ifdef HAVE_SYS_TYPES_H
  9581. | # include <sys/types.h>
  9582. | #endif
  9583. | #ifdef HAVE_SYS_STAT_H
  9584. | # include <sys/stat.h>
  9585. | #endif
  9586. | #ifdef STDC_HEADERS
  9587. | # include <stdlib.h>
  9588. | # include <stddef.h>
  9589. | #else
  9590. | # ifdef HAVE_STDLIB_H
  9591. | # include <stdlib.h>
  9592. | # endif
  9593. | #endif
  9594. | #ifdef HAVE_STRING_H
  9595. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9596. | # include <memory.h>
  9597. | # endif
  9598. | # include <string.h>
  9599. | #endif
  9600. | #ifdef HAVE_STRINGS_H
  9601. | # include <strings.h>
  9602. | #endif
  9603. | #ifdef HAVE_INTTYPES_H
  9604. | # include <inttypes.h>
  9605. | #endif
  9606. | #ifdef HAVE_STDINT_H
  9607. | # include <stdint.h>
  9608. | #endif
  9609. | #ifdef HAVE_UNISTD_H
  9610. | # include <unistd.h>
  9611. | #endif
  9612. | int
  9613. | main ()
  9614. | {
  9615. | static struct stat ac_aggr;
  9616. | if (sizeof ac_aggr.st_ctimensec)
  9617. | return 0;
  9618. | ;
  9619. | return 0;
  9620. | }
  9621. configure:12220: result: no
  9622. configure:12231: checking for struct timeval
  9623. configure:12231: gcc -c -O3 -ggdb conftest.c >&5
  9624. configure:12231: $? = 0
  9625. configure:12231: gcc -c -O3 -ggdb conftest.c >&5
  9626. conftest.c: In function 'main':
  9627. conftest.c:136:29: error: expected expression before ')' token
  9628. if (sizeof ((struct timeval)))
  9629. ^
  9630. configure:12231: $? = 1
  9631. configure: failed program was:
  9632. | /* confdefs.h */
  9633. | #define PACKAGE_NAME ""
  9634. | #define PACKAGE_TARNAME ""
  9635. | #define PACKAGE_VERSION ""
  9636. | #define PACKAGE_STRING ""
  9637. | #define PACKAGE_BUGREPORT ""
  9638. | #define PACKAGE_URL ""
  9639. | #define CANONICALIZATION_FOR_MATHN 1
  9640. | #define STDC_HEADERS 1
  9641. | #define HAVE_SYS_TYPES_H 1
  9642. | #define HAVE_SYS_STAT_H 1
  9643. | #define HAVE_STDLIB_H 1
  9644. | #define HAVE_STRING_H 1
  9645. | #define HAVE_MEMORY_H 1
  9646. | #define HAVE_STRINGS_H 1
  9647. | #define HAVE_INTTYPES_H 1
  9648. | #define HAVE_STDINT_H 1
  9649. | #define HAVE_UNISTD_H 1
  9650. | #define __EXTENSIONS__ 1
  9651. | #define _ALL_SOURCE 1
  9652. | #define _GNU_SOURCE 1
  9653. | #define _POSIX_PTHREAD_SEMANTICS 1
  9654. | #define _TANDEM_SOURCE 1
  9655. | #define HAVE_LONG_LONG 1
  9656. | #define HAVE_OFF_T 1
  9657. | #define SIZEOF_INT 4
  9658. | #define SIZEOF_SHORT 2
  9659. | #define SIZEOF_LONG 8
  9660. | #define SIZEOF_LONG_LONG 8
  9661. | #define SIZEOF___INT64 0
  9662. | #define SIZEOF_OFF_T 8
  9663. | #define SIZEOF_VOIDP 8
  9664. | #define SIZEOF_FLOAT 4
  9665. | #define SIZEOF_DOUBLE 8
  9666. | #define SIZEOF_TIME_T 8
  9667. | #define PRI_LL_PREFIX "ll"
  9668. | #define rb_pid_t pid_t
  9669. | #define PIDT2NUM(v) INT2NUM(v)
  9670. | #define NUM2PIDT(v) NUM2INT(v)
  9671. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9672. | #define rb_uid_t uid_t
  9673. | #define UIDT2NUM(v) UINT2NUM(v)
  9674. | #define NUM2UIDT(v) NUM2UINT(v)
  9675. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9676. | #define rb_gid_t gid_t
  9677. | #define GIDT2NUM(v) UINT2NUM(v)
  9678. | #define NUM2GIDT(v) NUM2UINT(v)
  9679. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9680. | #define rb_time_t time_t
  9681. | #define TIMET2NUM(v) LONG2NUM(v)
  9682. | #define NUM2TIMET(v) NUM2LONG(v)
  9683. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9684. | #define rb_dev_t dev_t
  9685. | #define DEVT2NUM(v) ULONG2NUM(v)
  9686. | #define NUM2DEVT(v) NUM2ULONG(v)
  9687. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9688. | #define rb_mode_t mode_t
  9689. | #define MODET2NUM(v) UINT2NUM(v)
  9690. | #define NUM2MODET(v) NUM2UINT(v)
  9691. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9692. | #define rb_rlim_t rlim_t
  9693. | #define RLIM2NUM(v) ULONG2NUM(v)
  9694. | #define NUM2RLIM(v) NUM2ULONG(v)
  9695. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9696. | #define HAVE_PROTOTYPES 1
  9697. | #define TOKEN_PASTE(x,y) x##y
  9698. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9699. | #define HAVE_STDARG_PROTOTYPES 1
  9700. | #define HAVE_VA_ARGS_MACRO 1
  9701. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9702. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9703. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9704. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  9705. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  9706. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  9707. | #define HAVE_GCC_SYNC_BUILTINS 1
  9708. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  9709. | #define HAVE_DECL_SYS_NERR 1
  9710. | #define HAVE_LIBCRYPT 1
  9711. | #define HAVE_LIBDL 1
  9712. | #define HAVE_LIBRT 1
  9713. | #define HAVE_DIRENT_H 1
  9714. | #define HAVE__BOOL 1
  9715. | #define HAVE_STDBOOL_H 1
  9716. | #define HAVE_SYS_WAIT_H 1
  9717. | #define HAVE_LIMITS_H 1
  9718. | #define HAVE_SYS_FILE_H 1
  9719. | #define HAVE_SYS_IOCTL_H 1
  9720. | #define HAVE_SYS_SYSCALL_H 1
  9721. | #define HAVE_FCNTL_H 1
  9722. | #define HAVE_SYS_FCNTL_H 1
  9723. | #define HAVE_SYS_SELECT_H 1
  9724. | #define HAVE_SYS_TIME_H 1
  9725. | #define HAVE_SYS_TIMES_H 1
  9726. | #define HAVE_SYS_PARAM_H 1
  9727. | #define HAVE_SYSCALL_H 1
  9728. | #define HAVE_PWD_H 1
  9729. | #define HAVE_GRP_H 1
  9730. | #define HAVE_A_OUT_H 1
  9731. | #define HAVE_UTIME_H 1
  9732. | #define HAVE_SYS_RESOURCE_H 1
  9733. | #define HAVE_NETINET_IN_SYSTM_H 1
  9734. | #define HAVE_FLOAT_H 1
  9735. | #define HAVE_UCONTEXT_H 1
  9736. | #define HAVE_LANGINFO_H 1
  9737. | #define HAVE_LOCALE_H 1
  9738. | #define HAVE_SYS_SENDFILE_H 1
  9739. | #define HAVE_TIME_H 1
  9740. | #define HAVE_SYS_SOCKET_H 1
  9741. | #define SIZEOF_SIZE_T 8
  9742. | #define SIZEOF_PTRDIFF_T 8
  9743. | #define PRI_SIZE_PREFIX "z"
  9744. | #define PRI_PTRDIFF_PREFIX "t"
  9745. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  9746. | #define HAVE_ST_BLKSIZE 1
  9747. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  9748. | #define HAVE_ST_BLOCKS 1
  9749. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  9750. | #define HAVE_ST_RDEV 1
  9751. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  9752. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  9753. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  9754. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  9755. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  9756. | /* end confdefs.h. */
  9757. | #ifdef HAVE_TIME_H
  9758. | #include <time.h>
  9759. | #endif
  9760. | #ifdef HAVE_SYS_TIME_H
  9761. | #include <sys/time.h>
  9762. | #endif
  9763. |
  9764. | int
  9765. | main ()
  9766. | {
  9767. | if (sizeof ((struct timeval)))
  9768. | return 0;
  9769. | ;
  9770. | return 0;
  9771. | }
  9772. configure:12231: result: yes
  9773. configure:12248: checking for struct timespec
  9774. configure:12248: gcc -c -O3 -ggdb conftest.c >&5
  9775. configure:12248: $? = 0
  9776. configure:12248: gcc -c -O3 -ggdb conftest.c >&5
  9777. conftest.c: In function 'main':
  9778. conftest.c:134:30: error: expected expression before ')' token
  9779. if (sizeof ((struct timespec)))
  9780. ^
  9781. configure:12248: $? = 1
  9782. configure: failed program was:
  9783. | /* confdefs.h */
  9784. | #define PACKAGE_NAME ""
  9785. | #define PACKAGE_TARNAME ""
  9786. | #define PACKAGE_VERSION ""
  9787. | #define PACKAGE_STRING ""
  9788. | #define PACKAGE_BUGREPORT ""
  9789. | #define PACKAGE_URL ""
  9790. | #define CANONICALIZATION_FOR_MATHN 1
  9791. | #define STDC_HEADERS 1
  9792. | #define HAVE_SYS_TYPES_H 1
  9793. | #define HAVE_SYS_STAT_H 1
  9794. | #define HAVE_STDLIB_H 1
  9795. | #define HAVE_STRING_H 1
  9796. | #define HAVE_MEMORY_H 1
  9797. | #define HAVE_STRINGS_H 1
  9798. | #define HAVE_INTTYPES_H 1
  9799. | #define HAVE_STDINT_H 1
  9800. | #define HAVE_UNISTD_H 1
  9801. | #define __EXTENSIONS__ 1
  9802. | #define _ALL_SOURCE 1
  9803. | #define _GNU_SOURCE 1
  9804. | #define _POSIX_PTHREAD_SEMANTICS 1
  9805. | #define _TANDEM_SOURCE 1
  9806. | #define HAVE_LONG_LONG 1
  9807. | #define HAVE_OFF_T 1
  9808. | #define SIZEOF_INT 4
  9809. | #define SIZEOF_SHORT 2
  9810. | #define SIZEOF_LONG 8
  9811. | #define SIZEOF_LONG_LONG 8
  9812. | #define SIZEOF___INT64 0
  9813. | #define SIZEOF_OFF_T 8
  9814. | #define SIZEOF_VOIDP 8
  9815. | #define SIZEOF_FLOAT 4
  9816. | #define SIZEOF_DOUBLE 8
  9817. | #define SIZEOF_TIME_T 8
  9818. | #define PRI_LL_PREFIX "ll"
  9819. | #define rb_pid_t pid_t
  9820. | #define PIDT2NUM(v) INT2NUM(v)
  9821. | #define NUM2PIDT(v) NUM2INT(v)
  9822. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9823. | #define rb_uid_t uid_t
  9824. | #define UIDT2NUM(v) UINT2NUM(v)
  9825. | #define NUM2UIDT(v) NUM2UINT(v)
  9826. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9827. | #define rb_gid_t gid_t
  9828. | #define GIDT2NUM(v) UINT2NUM(v)
  9829. | #define NUM2GIDT(v) NUM2UINT(v)
  9830. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9831. | #define rb_time_t time_t
  9832. | #define TIMET2NUM(v) LONG2NUM(v)
  9833. | #define NUM2TIMET(v) NUM2LONG(v)
  9834. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9835. | #define rb_dev_t dev_t
  9836. | #define DEVT2NUM(v) ULONG2NUM(v)
  9837. | #define NUM2DEVT(v) NUM2ULONG(v)
  9838. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9839. | #define rb_mode_t mode_t
  9840. | #define MODET2NUM(v) UINT2NUM(v)
  9841. | #define NUM2MODET(v) NUM2UINT(v)
  9842. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9843. | #define rb_rlim_t rlim_t
  9844. | #define RLIM2NUM(v) ULONG2NUM(v)
  9845. | #define NUM2RLIM(v) NUM2ULONG(v)
  9846. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9847. | #define HAVE_PROTOTYPES 1
  9848. | #define TOKEN_PASTE(x,y) x##y
  9849. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9850. | #define HAVE_STDARG_PROTOTYPES 1
  9851. | #define HAVE_VA_ARGS_MACRO 1
  9852. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9853. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9854. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9855. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  9856. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  9857. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  9858. | #define HAVE_GCC_SYNC_BUILTINS 1
  9859. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  9860. | #define HAVE_DECL_SYS_NERR 1
  9861. | #define HAVE_LIBCRYPT 1
  9862. | #define HAVE_LIBDL 1
  9863. | #define HAVE_LIBRT 1
  9864. | #define HAVE_DIRENT_H 1
  9865. | #define HAVE__BOOL 1
  9866. | #define HAVE_STDBOOL_H 1
  9867. | #define HAVE_SYS_WAIT_H 1
  9868. | #define HAVE_LIMITS_H 1
  9869. | #define HAVE_SYS_FILE_H 1
  9870. | #define HAVE_SYS_IOCTL_H 1
  9871. | #define HAVE_SYS_SYSCALL_H 1
  9872. | #define HAVE_FCNTL_H 1
  9873. | #define HAVE_SYS_FCNTL_H 1
  9874. | #define HAVE_SYS_SELECT_H 1
  9875. | #define HAVE_SYS_TIME_H 1
  9876. | #define HAVE_SYS_TIMES_H 1
  9877. | #define HAVE_SYS_PARAM_H 1
  9878. | #define HAVE_SYSCALL_H 1
  9879. | #define HAVE_PWD_H 1
  9880. | #define HAVE_GRP_H 1
  9881. | #define HAVE_A_OUT_H 1
  9882. | #define HAVE_UTIME_H 1
  9883. | #define HAVE_SYS_RESOURCE_H 1
  9884. | #define HAVE_NETINET_IN_SYSTM_H 1
  9885. | #define HAVE_FLOAT_H 1
  9886. | #define HAVE_UCONTEXT_H 1
  9887. | #define HAVE_LANGINFO_H 1
  9888. | #define HAVE_LOCALE_H 1
  9889. | #define HAVE_SYS_SENDFILE_H 1
  9890. | #define HAVE_TIME_H 1
  9891. | #define HAVE_SYS_SOCKET_H 1
  9892. | #define SIZEOF_SIZE_T 8
  9893. | #define SIZEOF_PTRDIFF_T 8
  9894. | #define PRI_SIZE_PREFIX "z"
  9895. | #define PRI_PTRDIFF_PREFIX "t"
  9896. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  9897. | #define HAVE_ST_BLKSIZE 1
  9898. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  9899. | #define HAVE_ST_BLOCKS 1
  9900. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  9901. | #define HAVE_ST_RDEV 1
  9902. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  9903. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  9904. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  9905. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  9906. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  9907. | #define HAVE_STRUCT_TIMEVAL 1
  9908. | /* end confdefs.h. */
  9909. | #ifdef HAVE_TIME_H
  9910. | #include <time.h>
  9911. | #endif
  9912. |
  9913. | int
  9914. | main ()
  9915. | {
  9916. | if (sizeof ((struct timespec)))
  9917. | return 0;
  9918. | ;
  9919. | return 0;
  9920. | }
  9921. configure:12248: result: yes
  9922. configure:12262: checking for struct timezone
  9923. configure:12262: gcc -c -O3 -ggdb conftest.c >&5
  9924. configure:12262: $? = 0
  9925. configure:12262: gcc -c -O3 -ggdb conftest.c >&5
  9926. conftest.c: In function 'main':
  9927. conftest.c:138:30: error: expected expression before ')' token
  9928. if (sizeof ((struct timezone)))
  9929. ^
  9930. configure:12262: $? = 1
  9931. configure: failed program was:
  9932. | /* confdefs.h */
  9933. | #define PACKAGE_NAME ""
  9934. | #define PACKAGE_TARNAME ""
  9935. | #define PACKAGE_VERSION ""
  9936. | #define PACKAGE_STRING ""
  9937. | #define PACKAGE_BUGREPORT ""
  9938. | #define PACKAGE_URL ""
  9939. | #define CANONICALIZATION_FOR_MATHN 1
  9940. | #define STDC_HEADERS 1
  9941. | #define HAVE_SYS_TYPES_H 1
  9942. | #define HAVE_SYS_STAT_H 1
  9943. | #define HAVE_STDLIB_H 1
  9944. | #define HAVE_STRING_H 1
  9945. | #define HAVE_MEMORY_H 1
  9946. | #define HAVE_STRINGS_H 1
  9947. | #define HAVE_INTTYPES_H 1
  9948. | #define HAVE_STDINT_H 1
  9949. | #define HAVE_UNISTD_H 1
  9950. | #define __EXTENSIONS__ 1
  9951. | #define _ALL_SOURCE 1
  9952. | #define _GNU_SOURCE 1
  9953. | #define _POSIX_PTHREAD_SEMANTICS 1
  9954. | #define _TANDEM_SOURCE 1
  9955. | #define HAVE_LONG_LONG 1
  9956. | #define HAVE_OFF_T 1
  9957. | #define SIZEOF_INT 4
  9958. | #define SIZEOF_SHORT 2
  9959. | #define SIZEOF_LONG 8
  9960. | #define SIZEOF_LONG_LONG 8
  9961. | #define SIZEOF___INT64 0
  9962. | #define SIZEOF_OFF_T 8
  9963. | #define SIZEOF_VOIDP 8
  9964. | #define SIZEOF_FLOAT 4
  9965. | #define SIZEOF_DOUBLE 8
  9966. | #define SIZEOF_TIME_T 8
  9967. | #define PRI_LL_PREFIX "ll"
  9968. | #define rb_pid_t pid_t
  9969. | #define PIDT2NUM(v) INT2NUM(v)
  9970. | #define NUM2PIDT(v) NUM2INT(v)
  9971. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9972. | #define rb_uid_t uid_t
  9973. | #define UIDT2NUM(v) UINT2NUM(v)
  9974. | #define NUM2UIDT(v) NUM2UINT(v)
  9975. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9976. | #define rb_gid_t gid_t
  9977. | #define GIDT2NUM(v) UINT2NUM(v)
  9978. | #define NUM2GIDT(v) NUM2UINT(v)
  9979. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9980. | #define rb_time_t time_t
  9981. | #define TIMET2NUM(v) LONG2NUM(v)
  9982. | #define NUM2TIMET(v) NUM2LONG(v)
  9983. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9984. | #define rb_dev_t dev_t
  9985. | #define DEVT2NUM(v) ULONG2NUM(v)
  9986. | #define NUM2DEVT(v) NUM2ULONG(v)
  9987. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9988. | #define rb_mode_t mode_t
  9989. | #define MODET2NUM(v) UINT2NUM(v)
  9990. | #define NUM2MODET(v) NUM2UINT(v)
  9991. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9992. | #define rb_rlim_t rlim_t
  9993. | #define RLIM2NUM(v) ULONG2NUM(v)
  9994. | #define NUM2RLIM(v) NUM2ULONG(v)
  9995. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9996. | #define HAVE_PROTOTYPES 1
  9997. | #define TOKEN_PASTE(x,y) x##y
  9998. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9999. | #define HAVE_STDARG_PROTOTYPES 1
  10000. | #define HAVE_VA_ARGS_MACRO 1
  10001. | #define NORETURN(x) __attribute__ ((noreturn)) x
  10002. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  10003. | #define NOINLINE(x) __attribute__ ((noinline)) x
  10004. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  10005. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  10006. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  10007. | #define HAVE_GCC_SYNC_BUILTINS 1
  10008. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  10009. | #define HAVE_DECL_SYS_NERR 1
  10010. | #define HAVE_LIBCRYPT 1
  10011. | #define HAVE_LIBDL 1
  10012. | #define HAVE_LIBRT 1
  10013. | #define HAVE_DIRENT_H 1
  10014. | #define HAVE__BOOL 1
  10015. | #define HAVE_STDBOOL_H 1
  10016. | #define HAVE_SYS_WAIT_H 1
  10017. | #define HAVE_LIMITS_H 1
  10018. | #define HAVE_SYS_FILE_H 1
  10019. | #define HAVE_SYS_IOCTL_H 1
  10020. | #define HAVE_SYS_SYSCALL_H 1
  10021. | #define HAVE_FCNTL_H 1
  10022. | #define HAVE_SYS_FCNTL_H 1
  10023. | #define HAVE_SYS_SELECT_H 1
  10024. | #define HAVE_SYS_TIME_H 1
  10025. | #define HAVE_SYS_TIMES_H 1
  10026. | #define HAVE_SYS_PARAM_H 1
  10027. | #define HAVE_SYSCALL_H 1
  10028. | #define HAVE_PWD_H 1
  10029. | #define HAVE_GRP_H 1
  10030. | #define HAVE_A_OUT_H 1
  10031. | #define HAVE_UTIME_H 1
  10032. | #define HAVE_SYS_RESOURCE_H 1
  10033. | #define HAVE_NETINET_IN_SYSTM_H 1
  10034. | #define HAVE_FLOAT_H 1
  10035. | #define HAVE_UCONTEXT_H 1
  10036. | #define HAVE_LANGINFO_H 1
  10037. | #define HAVE_LOCALE_H 1
  10038. | #define HAVE_SYS_SENDFILE_H 1
  10039. | #define HAVE_TIME_H 1
  10040. | #define HAVE_SYS_SOCKET_H 1
  10041. | #define SIZEOF_SIZE_T 8
  10042. | #define SIZEOF_PTRDIFF_T 8
  10043. | #define PRI_SIZE_PREFIX "z"
  10044. | #define PRI_PTRDIFF_PREFIX "t"
  10045. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  10046. | #define HAVE_ST_BLKSIZE 1
  10047. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  10048. | #define HAVE_ST_BLOCKS 1
  10049. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  10050. | #define HAVE_ST_RDEV 1
  10051. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  10052. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  10053. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  10054. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  10055. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  10056. | #define HAVE_STRUCT_TIMEVAL 1
  10057. | #define HAVE_STRUCT_TIMESPEC 1
  10058. | /* end confdefs.h. */
  10059. | #ifdef HAVE_TIME_H
  10060. | # include <time.h>
  10061. | #endif
  10062. | #ifdef HAVE_SYS_TIME_H
  10063. | # include <sys/time.h>
  10064. | #endif
  10065. |
  10066. | int
  10067. | main ()
  10068. | {
  10069. | if (sizeof ((struct timezone)))
  10070. | return 0;
  10071. | ;
  10072. | return 0;
  10073. | }
  10074. configure:12262: result: yes
  10075. configure:12279: checking for clockid_t
  10076. configure:12279: gcc -c -O3 -ggdb conftest.c >&5
  10077. configure:12279: $? = 0
  10078. configure:12279: gcc -c -O3 -ggdb conftest.c >&5
  10079. conftest.c: In function 'main':
  10080. conftest.c:139:24: error: expected expression before ')' token
  10081. if (sizeof ((clockid_t)))
  10082. ^
  10083. configure:12279: $? = 1
  10084. configure: failed program was:
  10085. | /* confdefs.h */
  10086. | #define PACKAGE_NAME ""
  10087. | #define PACKAGE_TARNAME ""
  10088. | #define PACKAGE_VERSION ""
  10089. | #define PACKAGE_STRING ""
  10090. | #define PACKAGE_BUGREPORT ""
  10091. | #define PACKAGE_URL ""
  10092. | #define CANONICALIZATION_FOR_MATHN 1
  10093. | #define STDC_HEADERS 1
  10094. | #define HAVE_SYS_TYPES_H 1
  10095. | #define HAVE_SYS_STAT_H 1
  10096. | #define HAVE_STDLIB_H 1
  10097. | #define HAVE_STRING_H 1
  10098. | #define HAVE_MEMORY_H 1
  10099. | #define HAVE_STRINGS_H 1
  10100. | #define HAVE_INTTYPES_H 1
  10101. | #define HAVE_STDINT_H 1
  10102. | #define HAVE_UNISTD_H 1
  10103. | #define __EXTENSIONS__ 1
  10104. | #define _ALL_SOURCE 1
  10105. | #define _GNU_SOURCE 1
  10106. | #define _POSIX_PTHREAD_SEMANTICS 1
  10107. | #define _TANDEM_SOURCE 1
  10108. | #define HAVE_LONG_LONG 1
  10109. | #define HAVE_OFF_T 1
  10110. | #define SIZEOF_INT 4
  10111. | #define SIZEOF_SHORT 2
  10112. | #define SIZEOF_LONG 8
  10113. | #define SIZEOF_LONG_LONG 8
  10114. | #define SIZEOF___INT64 0
  10115. | #define SIZEOF_OFF_T 8
  10116. | #define SIZEOF_VOIDP 8
  10117. | #define SIZEOF_FLOAT 4
  10118. | #define SIZEOF_DOUBLE 8
  10119. | #define SIZEOF_TIME_T 8
  10120. | #define PRI_LL_PREFIX "ll"
  10121. | #define rb_pid_t pid_t
  10122. | #define PIDT2NUM(v) INT2NUM(v)
  10123. | #define NUM2PIDT(v) NUM2INT(v)
  10124. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10125. | #define rb_uid_t uid_t
  10126. | #define UIDT2NUM(v) UINT2NUM(v)
  10127. | #define NUM2UIDT(v) NUM2UINT(v)
  10128. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10129. | #define rb_gid_t gid_t
  10130. | #define GIDT2NUM(v) UINT2NUM(v)
  10131. | #define NUM2GIDT(v) NUM2UINT(v)
  10132. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  10133. | #define rb_time_t time_t
  10134. | #define TIMET2NUM(v) LONG2NUM(v)
  10135. | #define NUM2TIMET(v) NUM2LONG(v)
  10136. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  10137. | #define rb_dev_t dev_t
  10138. | #define DEVT2NUM(v) ULONG2NUM(v)
  10139. | #define NUM2DEVT(v) NUM2ULONG(v)
  10140. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  10141. | #define rb_mode_t mode_t
  10142. | #define MODET2NUM(v) UINT2NUM(v)
  10143. | #define NUM2MODET(v) NUM2UINT(v)
  10144. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  10145. | #define rb_rlim_t rlim_t
  10146. | #define RLIM2NUM(v) ULONG2NUM(v)
  10147. | #define NUM2RLIM(v) NUM2ULONG(v)
  10148. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  10149. | #define HAVE_PROTOTYPES 1
  10150. | #define TOKEN_PASTE(x,y) x##y
  10151. | #define STRINGIZE(expr) STRINGIZE0(expr)
  10152. | #define HAVE_STDARG_PROTOTYPES 1
  10153. | #define HAVE_VA_ARGS_MACRO 1
  10154. | #define NORETURN(x) __attribute__ ((noreturn)) x
  10155. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  10156. | #define NOINLINE(x) __attribute__ ((noinline)) x
  10157. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  10158. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  10159. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  10160. | #define HAVE_GCC_SYNC_BUILTINS 1
  10161. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  10162. | #define HAVE_DECL_SYS_NERR 1
  10163. | #define HAVE_LIBCRYPT 1
  10164. | #define HAVE_LIBDL 1
  10165. | #define HAVE_LIBRT 1
  10166. | #define HAVE_DIRENT_H 1
  10167. | #define HAVE__BOOL 1
  10168. | #define HAVE_STDBOOL_H 1
  10169. | #define HAVE_SYS_WAIT_H 1
  10170. | #define HAVE_LIMITS_H 1
  10171. | #define HAVE_SYS_FILE_H 1
  10172. | #define HAVE_SYS_IOCTL_H 1
  10173. | #define HAVE_SYS_SYSCALL_H 1
  10174. | #define HAVE_FCNTL_H 1
  10175. | #define HAVE_SYS_FCNTL_H 1
  10176. | #define HAVE_SYS_SELECT_H 1
  10177. | #define HAVE_SYS_TIME_H 1
  10178. | #define HAVE_SYS_TIMES_H 1
  10179. | #define HAVE_SYS_PARAM_H 1
  10180. | #define HAVE_SYSCALL_H 1
  10181. | #define HAVE_PWD_H 1
  10182. | #define HAVE_GRP_H 1
  10183. | #define HAVE_A_OUT_H 1
  10184. | #define HAVE_UTIME_H 1
  10185. | #define HAVE_SYS_RESOURCE_H 1
  10186. | #define HAVE_NETINET_IN_SYSTM_H 1
  10187. | #define HAVE_FLOAT_H 1
  10188. | #define HAVE_UCONTEXT_H 1
  10189. | #define HAVE_LANGINFO_H 1
  10190. | #define HAVE_LOCALE_H 1
  10191. | #define HAVE_SYS_SENDFILE_H 1
  10192. | #define HAVE_TIME_H 1
  10193. | #define HAVE_SYS_SOCKET_H 1
  10194. | #define SIZEOF_SIZE_T 8
  10195. | #define SIZEOF_PTRDIFF_T 8
  10196. | #define PRI_SIZE_PREFIX "z"
  10197. | #define PRI_PTRDIFF_PREFIX "t"
  10198. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  10199. | #define HAVE_ST_BLKSIZE 1
  10200. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  10201. | #define HAVE_ST_BLOCKS 1
  10202. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  10203. | #define HAVE_ST_RDEV 1
  10204. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  10205. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  10206. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  10207. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  10208. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  10209. | #define HAVE_STRUCT_TIMEVAL 1
  10210. | #define HAVE_STRUCT_TIMESPEC 1
  10211. | #define HAVE_STRUCT_TIMEZONE 1
  10212. | /* end confdefs.h. */
  10213. | #ifdef HAVE_TIME_H
  10214. | # include <time.h>
  10215. | #endif
  10216. | #ifdef HAVE_SYS_TIME_H
  10217. | # include <sys/time.h>
  10218. | #endif
  10219. |
  10220. | int
  10221. | main ()
  10222. | {
  10223. | if (sizeof ((clockid_t)))
  10224. | return 0;
  10225. | ;
  10226. | return 0;
  10227. | }
  10228. configure:12279: result: yes
  10229. configure:12299: checking for fd_mask
  10230. configure:12299: gcc -c -O3 -ggdb conftest.c >&5
  10231. configure:12299: $? = 0
  10232. configure:12299: gcc -c -O3 -ggdb conftest.c >&5
  10233. conftest.c: In function 'main':
  10234. conftest.c:166:22: error: expected expression before ')' token
  10235. if (sizeof ((fd_mask)))
  10236. ^
  10237. configure:12299: $? = 1
  10238. configure: failed program was:
  10239. | /* confdefs.h */
  10240. | #define PACKAGE_NAME ""
  10241. | #define PACKAGE_TARNAME ""
  10242. | #define PACKAGE_VERSION ""
  10243. | #define PACKAGE_STRING ""
  10244. | #define PACKAGE_BUGREPORT ""
  10245. | #define PACKAGE_URL ""
  10246. | #define CANONICALIZATION_FOR_MATHN 1
  10247. | #define STDC_HEADERS 1
  10248. | #define HAVE_SYS_TYPES_H 1
  10249. | #define HAVE_SYS_STAT_H 1
  10250. | #define HAVE_STDLIB_H 1
  10251. | #define HAVE_STRING_H 1
  10252. | #define HAVE_MEMORY_H 1
  10253. | #define HAVE_STRINGS_H 1
  10254. | #define HAVE_INTTYPES_H 1
  10255. | #define HAVE_STDINT_H 1
  10256. | #define HAVE_UNISTD_H 1
  10257. | #define __EXTENSIONS__ 1
  10258. | #define _ALL_SOURCE 1
  10259. | #define _GNU_SOURCE 1
  10260. | #define _POSIX_PTHREAD_SEMANTICS 1
  10261. | #define _TANDEM_SOURCE 1
  10262. | #define HAVE_LONG_LONG 1
  10263. | #define HAVE_OFF_T 1
  10264. | #define SIZEOF_INT 4
  10265. | #define SIZEOF_SHORT 2
  10266. | #define SIZEOF_LONG 8
  10267. | #define SIZEOF_LONG_LONG 8
  10268. | #define SIZEOF___INT64 0
  10269. | #define SIZEOF_OFF_T 8
  10270. | #define SIZEOF_VOIDP 8
  10271. | #define SIZEOF_FLOAT 4
  10272. | #define SIZEOF_DOUBLE 8
  10273. | #define SIZEOF_TIME_T 8
  10274. | #define PRI_LL_PREFIX "ll"
  10275. | #define rb_pid_t pid_t
  10276. | #define PIDT2NUM(v) INT2NUM(v)
  10277. | #define NUM2PIDT(v) NUM2INT(v)
  10278. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10279. | #define rb_uid_t uid_t
  10280. | #define UIDT2NUM(v) UINT2NUM(v)
  10281. | #define NUM2UIDT(v) NUM2UINT(v)
  10282. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10283. | #define rb_gid_t gid_t
  10284. | #define GIDT2NUM(v) UINT2NUM(v)
  10285. | #define NUM2GIDT(v) NUM2UINT(v)
  10286. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  10287. | #define rb_time_t time_t
  10288. | #define TIMET2NUM(v) LONG2NUM(v)
  10289. | #define NUM2TIMET(v) NUM2LONG(v)
  10290. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  10291. | #define rb_dev_t dev_t
  10292. | #define DEVT2NUM(v) ULONG2NUM(v)
  10293. | #define NUM2DEVT(v) NUM2ULONG(v)
  10294. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  10295. | #define rb_mode_t mode_t
  10296. | #define MODET2NUM(v) UINT2NUM(v)
  10297. | #define NUM2MODET(v) NUM2UINT(v)
  10298. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  10299. | #define rb_rlim_t rlim_t
  10300. | #define RLIM2NUM(v) ULONG2NUM(v)
  10301. | #define NUM2RLIM(v) NUM2ULONG(v)
  10302. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  10303. | #define HAVE_PROTOTYPES 1
  10304. | #define TOKEN_PASTE(x,y) x##y
  10305. | #define STRINGIZE(expr) STRINGIZE0(expr)
  10306. | #define HAVE_STDARG_PROTOTYPES 1
  10307. | #define HAVE_VA_ARGS_MACRO 1
  10308. | #define NORETURN(x) __attribute__ ((noreturn)) x
  10309. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  10310. | #define NOINLINE(x) __attribute__ ((noinline)) x
  10311. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  10312. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  10313. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  10314. | #define HAVE_GCC_SYNC_BUILTINS 1
  10315. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  10316. | #define HAVE_DECL_SYS_NERR 1
  10317. | #define HAVE_LIBCRYPT 1
  10318. | #define HAVE_LIBDL 1
  10319. | #define HAVE_LIBRT 1
  10320. | #define HAVE_DIRENT_H 1
  10321. | #define HAVE__BOOL 1
  10322. | #define HAVE_STDBOOL_H 1
  10323. | #define HAVE_SYS_WAIT_H 1
  10324. | #define HAVE_LIMITS_H 1
  10325. | #define HAVE_SYS_FILE_H 1
  10326. | #define HAVE_SYS_IOCTL_H 1
  10327. | #define HAVE_SYS_SYSCALL_H 1
  10328. | #define HAVE_FCNTL_H 1
  10329. | #define HAVE_SYS_FCNTL_H 1
  10330. | #define HAVE_SYS_SELECT_H 1
  10331. | #define HAVE_SYS_TIME_H 1
  10332. | #define HAVE_SYS_TIMES_H 1
  10333. | #define HAVE_SYS_PARAM_H 1
  10334. | #define HAVE_SYSCALL_H 1
  10335. | #define HAVE_PWD_H 1
  10336. | #define HAVE_GRP_H 1
  10337. | #define HAVE_A_OUT_H 1
  10338. | #define HAVE_UTIME_H 1
  10339. | #define HAVE_SYS_RESOURCE_H 1
  10340. | #define HAVE_NETINET_IN_SYSTM_H 1
  10341. | #define HAVE_FLOAT_H 1
  10342. | #define HAVE_UCONTEXT_H 1
  10343. | #define HAVE_LANGINFO_H 1
  10344. | #define HAVE_LOCALE_H 1
  10345. | #define HAVE_SYS_SENDFILE_H 1
  10346. | #define HAVE_TIME_H 1
  10347. | #define HAVE_SYS_SOCKET_H 1
  10348. | #define SIZEOF_SIZE_T 8
  10349. | #define SIZEOF_PTRDIFF_T 8
  10350. | #define PRI_SIZE_PREFIX "z"
  10351. | #define PRI_PTRDIFF_PREFIX "t"
  10352. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  10353. | #define HAVE_ST_BLKSIZE 1
  10354. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  10355. | #define HAVE_ST_BLOCKS 1
  10356. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  10357. | #define HAVE_ST_RDEV 1
  10358. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  10359. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  10360. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  10361. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  10362. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  10363. | #define HAVE_STRUCT_TIMEVAL 1
  10364. | #define HAVE_STRUCT_TIMESPEC 1
  10365. | #define HAVE_STRUCT_TIMEZONE 1
  10366. | #define HAVE_CLOCKID_T 1
  10367. | /* end confdefs.h. */
  10368. | #include <stdio.h>
  10369. | #ifdef HAVE_SYS_TYPES_H
  10370. | # include <sys/types.h>
  10371. | #endif
  10372. | #ifdef HAVE_SYS_STAT_H
  10373. | # include <sys/stat.h>
  10374. | #endif
  10375. | #ifdef STDC_HEADERS
  10376. | # include <stdlib.h>
  10377. | # include <stddef.h>
  10378. | #else
  10379. | # ifdef HAVE_STDLIB_H
  10380. | # include <stdlib.h>
  10381. | # endif
  10382. | #endif
  10383. | #ifdef HAVE_STRING_H
  10384. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10385. | # include <memory.h>
  10386. | # endif
  10387. | # include <string.h>
  10388. | #endif
  10389. | #ifdef HAVE_STRINGS_H
  10390. | # include <strings.h>
  10391. | #endif
  10392. | #ifdef HAVE_INTTYPES_H
  10393. | # include <inttypes.h>
  10394. | #endif
  10395. | #ifdef HAVE_STDINT_H
  10396. | # include <stdint.h>
  10397. | #endif
  10398. | #ifdef HAVE_UNISTD_H
  10399. | # include <unistd.h>
  10400. | #endif
  10401. | int
  10402. | main ()
  10403. | {
  10404. | if (sizeof ((fd_mask)))
  10405. | return 0;
  10406. | ;
  10407. | return 0;
  10408. | }
  10409. configure:12299: result: yes
  10410. configure:12315: checking for int8_t
  10411. configure:12332: gcc -c -O3 -ggdb conftest.c >&5
  10412. configure:12332: $? = 0
  10413. configure:12354: result: yes
  10414. configure:12364: checking size of int8_t
  10415. configure:12369: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10416. configure:12369: $? = 0
  10417. configure:12369: ./conftest
  10418. configure:12369: $? = 0
  10419. configure:12384: result: 1
  10420. configure:12406: checking for uint8_t
  10421. configure:12423: gcc -c -O3 -ggdb conftest.c >&5
  10422. configure:12423: $? = 0
  10423. configure:12445: result: yes
  10424. configure:12455: checking size of uint8_t
  10425. configure:12460: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10426. configure:12460: $? = 0
  10427. configure:12460: ./conftest
  10428. configure:12460: $? = 0
  10429. configure:12475: result: 1
  10430. configure:12497: checking for int16_t
  10431. configure:12514: gcc -c -O3 -ggdb conftest.c >&5
  10432. configure:12514: $? = 0
  10433. configure:12536: result: yes
  10434. configure:12546: checking size of int16_t
  10435. configure:12551: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10436. configure:12551: $? = 0
  10437. configure:12551: ./conftest
  10438. configure:12551: $? = 0
  10439. configure:12566: result: 2
  10440. configure:12588: checking for uint16_t
  10441. configure:12605: gcc -c -O3 -ggdb conftest.c >&5
  10442. configure:12605: $? = 0
  10443. configure:12627: result: yes
  10444. configure:12637: checking size of uint16_t
  10445. configure:12642: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10446. configure:12642: $? = 0
  10447. configure:12642: ./conftest
  10448. configure:12642: $? = 0
  10449. configure:12657: result: 2
  10450. configure:12679: checking for int32_t
  10451. configure:12696: gcc -c -O3 -ggdb conftest.c >&5
  10452. configure:12696: $? = 0
  10453. configure:12718: result: yes
  10454. configure:12728: checking size of int32_t
  10455. configure:12733: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10456. configure:12733: $? = 0
  10457. configure:12733: ./conftest
  10458. configure:12733: $? = 0
  10459. configure:12748: result: 4
  10460. configure:12770: checking for uint32_t
  10461. configure:12787: gcc -c -O3 -ggdb conftest.c >&5
  10462. configure:12787: $? = 0
  10463. configure:12809: result: yes
  10464. configure:12819: checking size of uint32_t
  10465. configure:12824: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10466. configure:12824: $? = 0
  10467. configure:12824: ./conftest
  10468. configure:12824: $? = 0
  10469. configure:12839: result: 4
  10470. configure:12861: checking for int64_t
  10471. configure:12878: gcc -c -O3 -ggdb conftest.c >&5
  10472. configure:12878: $? = 0
  10473. configure:12900: result: yes
  10474. configure:12910: checking size of int64_t
  10475. configure:12915: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10476. configure:12915: $? = 0
  10477. configure:12915: ./conftest
  10478. configure:12915: $? = 0
  10479. configure:12930: result: 8
  10480. configure:12952: checking for uint64_t
  10481. configure:12969: gcc -c -O3 -ggdb conftest.c >&5
  10482. configure:12969: $? = 0
  10483. configure:12991: result: yes
  10484. configure:13001: checking size of uint64_t
  10485. configure:13006: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10486. configure:13006: $? = 0
  10487. configure:13006: ./conftest
  10488. configure:13006: $? = 0
  10489. configure:13021: result: 8
  10490. configure:13043: checking for int128_t
  10491. configure:13060: gcc -c -O3 -ggdb conftest.c >&5
  10492. conftest.c:180:9: error: unknown type name 'int128_t'
  10493. typedef int128_t t; int s = sizeof(t) == 42;
  10494. ^
  10495. configure:13060: $? = 1
  10496. configure: failed program was:
  10497. | /* confdefs.h */
  10498. | #define PACKAGE_NAME ""
  10499. | #define PACKAGE_TARNAME ""
  10500. | #define PACKAGE_VERSION ""
  10501. | #define PACKAGE_STRING ""
  10502. | #define PACKAGE_BUGREPORT ""
  10503. | #define PACKAGE_URL ""
  10504. | #define CANONICALIZATION_FOR_MATHN 1
  10505. | #define STDC_HEADERS 1
  10506. | #define HAVE_SYS_TYPES_H 1
  10507. | #define HAVE_SYS_STAT_H 1
  10508. | #define HAVE_STDLIB_H 1
  10509. | #define HAVE_STRING_H 1
  10510. | #define HAVE_MEMORY_H 1
  10511. | #define HAVE_STRINGS_H 1
  10512. | #define HAVE_INTTYPES_H 1
  10513. | #define HAVE_STDINT_H 1
  10514. | #define HAVE_UNISTD_H 1
  10515. | #define __EXTENSIONS__ 1
  10516. | #define _ALL_SOURCE 1
  10517. | #define _GNU_SOURCE 1
  10518. | #define _POSIX_PTHREAD_SEMANTICS 1
  10519. | #define _TANDEM_SOURCE 1
  10520. | #define HAVE_LONG_LONG 1
  10521. | #define HAVE_OFF_T 1
  10522. | #define SIZEOF_INT 4
  10523. | #define SIZEOF_SHORT 2
  10524. | #define SIZEOF_LONG 8
  10525. | #define SIZEOF_LONG_LONG 8
  10526. | #define SIZEOF___INT64 0
  10527. | #define SIZEOF_OFF_T 8
  10528. | #define SIZEOF_VOIDP 8
  10529. | #define SIZEOF_FLOAT 4
  10530. | #define SIZEOF_DOUBLE 8
  10531. | #define SIZEOF_TIME_T 8
  10532. | #define PRI_LL_PREFIX "ll"
  10533. | #define rb_pid_t pid_t
  10534. | #define PIDT2NUM(v) INT2NUM(v)
  10535. | #define NUM2PIDT(v) NUM2INT(v)
  10536. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10537. | #define rb_uid_t uid_t
  10538. | #define UIDT2NUM(v) UINT2NUM(v)
  10539. | #define NUM2UIDT(v) NUM2UINT(v)
  10540. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10541. | #define rb_gid_t gid_t
  10542. | #define GIDT2NUM(v) UINT2NUM(v)
  10543. | #define NUM2GIDT(v) NUM2UINT(v)
  10544. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  10545. | #define rb_time_t time_t
  10546. | #define TIMET2NUM(v) LONG2NUM(v)
  10547. | #define NUM2TIMET(v) NUM2LONG(v)
  10548. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  10549. | #define rb_dev_t dev_t
  10550. | #define DEVT2NUM(v) ULONG2NUM(v)
  10551. | #define NUM2DEVT(v) NUM2ULONG(v)
  10552. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  10553. | #define rb_mode_t mode_t
  10554. | #define MODET2NUM(v) UINT2NUM(v)
  10555. | #define NUM2MODET(v) NUM2UINT(v)
  10556. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  10557. | #define rb_rlim_t rlim_t
  10558. | #define RLIM2NUM(v) ULONG2NUM(v)
  10559. | #define NUM2RLIM(v) NUM2ULONG(v)
  10560. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  10561. | #define HAVE_PROTOTYPES 1
  10562. | #define TOKEN_PASTE(x,y) x##y
  10563. | #define STRINGIZE(expr) STRINGIZE0(expr)
  10564. | #define HAVE_STDARG_PROTOTYPES 1
  10565. | #define HAVE_VA_ARGS_MACRO 1
  10566. | #define NORETURN(x) __attribute__ ((noreturn)) x
  10567. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  10568. | #define NOINLINE(x) __attribute__ ((noinline)) x
  10569. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  10570. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  10571. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  10572. | #define HAVE_GCC_SYNC_BUILTINS 1
  10573. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  10574. | #define HAVE_DECL_SYS_NERR 1
  10575. | #define HAVE_LIBCRYPT 1
  10576. | #define HAVE_LIBDL 1
  10577. | #define HAVE_LIBRT 1
  10578. | #define HAVE_DIRENT_H 1
  10579. | #define HAVE__BOOL 1
  10580. | #define HAVE_STDBOOL_H 1
  10581. | #define HAVE_SYS_WAIT_H 1
  10582. | #define HAVE_LIMITS_H 1
  10583. | #define HAVE_SYS_FILE_H 1
  10584. | #define HAVE_SYS_IOCTL_H 1
  10585. | #define HAVE_SYS_SYSCALL_H 1
  10586. | #define HAVE_FCNTL_H 1
  10587. | #define HAVE_SYS_FCNTL_H 1
  10588. | #define HAVE_SYS_SELECT_H 1
  10589. | #define HAVE_SYS_TIME_H 1
  10590. | #define HAVE_SYS_TIMES_H 1
  10591. | #define HAVE_SYS_PARAM_H 1
  10592. | #define HAVE_SYSCALL_H 1
  10593. | #define HAVE_PWD_H 1
  10594. | #define HAVE_GRP_H 1
  10595. | #define HAVE_A_OUT_H 1
  10596. | #define HAVE_UTIME_H 1
  10597. | #define HAVE_SYS_RESOURCE_H 1
  10598. | #define HAVE_NETINET_IN_SYSTM_H 1
  10599. | #define HAVE_FLOAT_H 1
  10600. | #define HAVE_UCONTEXT_H 1
  10601. | #define HAVE_LANGINFO_H 1
  10602. | #define HAVE_LOCALE_H 1
  10603. | #define HAVE_SYS_SENDFILE_H 1
  10604. | #define HAVE_TIME_H 1
  10605. | #define HAVE_SYS_SOCKET_H 1
  10606. | #define SIZEOF_SIZE_T 8
  10607. | #define SIZEOF_PTRDIFF_T 8
  10608. | #define PRI_SIZE_PREFIX "z"
  10609. | #define PRI_PTRDIFF_PREFIX "t"
  10610. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  10611. | #define HAVE_ST_BLKSIZE 1
  10612. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  10613. | #define HAVE_ST_BLOCKS 1
  10614. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  10615. | #define HAVE_ST_RDEV 1
  10616. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  10617. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  10618. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  10619. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  10620. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  10621. | #define HAVE_STRUCT_TIMEVAL 1
  10622. | #define HAVE_STRUCT_TIMESPEC 1
  10623. | #define HAVE_STRUCT_TIMEZONE 1
  10624. | #define HAVE_CLOCKID_T 1
  10625. | #define HAVE_RB_FD_INIT 1
  10626. | #define HAVE_INT8_T 1
  10627. | #define SIZEOF_INT8_T 1
  10628. | #define HAVE_UINT8_T 1
  10629. | #define SIZEOF_UINT8_T 1
  10630. | #define HAVE_INT16_T 1
  10631. | #define SIZEOF_INT16_T 2
  10632. | #define HAVE_UINT16_T 1
  10633. | #define SIZEOF_UINT16_T 2
  10634. | #define HAVE_INT32_T 1
  10635. | #define SIZEOF_INT32_T 4
  10636. | #define HAVE_UINT32_T 1
  10637. | #define SIZEOF_UINT32_T 4
  10638. | #define HAVE_INT64_T 1
  10639. | #define SIZEOF_INT64_T 8
  10640. | #define HAVE_UINT64_T 1
  10641. | #define SIZEOF_UINT64_T 8
  10642. | /* end confdefs.h. */
  10643. | #include <stdio.h>
  10644. | #ifdef HAVE_SYS_TYPES_H
  10645. | # include <sys/types.h>
  10646. | #endif
  10647. | #ifdef HAVE_SYS_STAT_H
  10648. | # include <sys/stat.h>
  10649. | #endif
  10650. | #ifdef STDC_HEADERS
  10651. | # include <stdlib.h>
  10652. | # include <stddef.h>
  10653. | #else
  10654. | # ifdef HAVE_STDLIB_H
  10655. | # include <stdlib.h>
  10656. | # endif
  10657. | #endif
  10658. | #ifdef HAVE_STRING_H
  10659. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10660. | # include <memory.h>
  10661. | # endif
  10662. | # include <string.h>
  10663. | #endif
  10664. | #ifdef HAVE_STRINGS_H
  10665. | # include <strings.h>
  10666. | #endif
  10667. | #ifdef HAVE_INTTYPES_H
  10668. | # include <inttypes.h>
  10669. | #endif
  10670. | #ifdef HAVE_STDINT_H
  10671. | # include <stdint.h>
  10672. | #endif
  10673. | #ifdef HAVE_UNISTD_H
  10674. | # include <unistd.h>
  10675. | #endif
  10676. | typedef int128_t t; int s = sizeof(t) == 42;
  10677. | int
  10678. | main ()
  10679. | {
  10680. |
  10681. | ;
  10682. | return 0;
  10683. | }
  10684. configure:13082: result: no
  10685. configure:13134: checking for uint128_t
  10686. configure:13151: gcc -c -O3 -ggdb conftest.c >&5
  10687. conftest.c:180:9: error: unknown type name 'uint128_t'
  10688. typedef uint128_t t; int s = sizeof(t) == 42;
  10689. ^
  10690. configure:13151: $? = 1
  10691. configure: failed program was:
  10692. | /* confdefs.h */
  10693. | #define PACKAGE_NAME ""
  10694. | #define PACKAGE_TARNAME ""
  10695. | #define PACKAGE_VERSION ""
  10696. | #define PACKAGE_STRING ""
  10697. | #define PACKAGE_BUGREPORT ""
  10698. | #define PACKAGE_URL ""
  10699. | #define CANONICALIZATION_FOR_MATHN 1
  10700. | #define STDC_HEADERS 1
  10701. | #define HAVE_SYS_TYPES_H 1
  10702. | #define HAVE_SYS_STAT_H 1
  10703. | #define HAVE_STDLIB_H 1
  10704. | #define HAVE_STRING_H 1
  10705. | #define HAVE_MEMORY_H 1
  10706. | #define HAVE_STRINGS_H 1
  10707. | #define HAVE_INTTYPES_H 1
  10708. | #define HAVE_STDINT_H 1
  10709. | #define HAVE_UNISTD_H 1
  10710. | #define __EXTENSIONS__ 1
  10711. | #define _ALL_SOURCE 1
  10712. | #define _GNU_SOURCE 1
  10713. | #define _POSIX_PTHREAD_SEMANTICS 1
  10714. | #define _TANDEM_SOURCE 1
  10715. | #define HAVE_LONG_LONG 1
  10716. | #define HAVE_OFF_T 1
  10717. | #define SIZEOF_INT 4
  10718. | #define SIZEOF_SHORT 2
  10719. | #define SIZEOF_LONG 8
  10720. | #define SIZEOF_LONG_LONG 8
  10721. | #define SIZEOF___INT64 0
  10722. | #define SIZEOF_OFF_T 8
  10723. | #define SIZEOF_VOIDP 8
  10724. | #define SIZEOF_FLOAT 4
  10725. | #define SIZEOF_DOUBLE 8
  10726. | #define SIZEOF_TIME_T 8
  10727. | #define PRI_LL_PREFIX "ll"
  10728. | #define rb_pid_t pid_t
  10729. | #define PIDT2NUM(v) INT2NUM(v)
  10730. | #define NUM2PIDT(v) NUM2INT(v)
  10731. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10732. | #define rb_uid_t uid_t
  10733. | #define UIDT2NUM(v) UINT2NUM(v)
  10734. | #define NUM2UIDT(v) NUM2UINT(v)
  10735. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10736. | #define rb_gid_t gid_t
  10737. | #define GIDT2NUM(v) UINT2NUM(v)
  10738. | #define NUM2GIDT(v) NUM2UINT(v)
  10739. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  10740. | #define rb_time_t time_t
  10741. | #define TIMET2NUM(v) LONG2NUM(v)
  10742. | #define NUM2TIMET(v) NUM2LONG(v)
  10743. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  10744. | #define rb_dev_t dev_t
  10745. | #define DEVT2NUM(v) ULONG2NUM(v)
  10746. | #define NUM2DEVT(v) NUM2ULONG(v)
  10747. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  10748. | #define rb_mode_t mode_t
  10749. | #define MODET2NUM(v) UINT2NUM(v)
  10750. | #define NUM2MODET(v) NUM2UINT(v)
  10751. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  10752. | #define rb_rlim_t rlim_t
  10753. | #define RLIM2NUM(v) ULONG2NUM(v)
  10754. | #define NUM2RLIM(v) NUM2ULONG(v)
  10755. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  10756. | #define HAVE_PROTOTYPES 1
  10757. | #define TOKEN_PASTE(x,y) x##y
  10758. | #define STRINGIZE(expr) STRINGIZE0(expr)
  10759. | #define HAVE_STDARG_PROTOTYPES 1
  10760. | #define HAVE_VA_ARGS_MACRO 1
  10761. | #define NORETURN(x) __attribute__ ((noreturn)) x
  10762. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  10763. | #define NOINLINE(x) __attribute__ ((noinline)) x
  10764. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  10765. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  10766. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  10767. | #define HAVE_GCC_SYNC_BUILTINS 1
  10768. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  10769. | #define HAVE_DECL_SYS_NERR 1
  10770. | #define HAVE_LIBCRYPT 1
  10771. | #define HAVE_LIBDL 1
  10772. | #define HAVE_LIBRT 1
  10773. | #define HAVE_DIRENT_H 1
  10774. | #define HAVE__BOOL 1
  10775. | #define HAVE_STDBOOL_H 1
  10776. | #define HAVE_SYS_WAIT_H 1
  10777. | #define HAVE_LIMITS_H 1
  10778. | #define HAVE_SYS_FILE_H 1
  10779. | #define HAVE_SYS_IOCTL_H 1
  10780. | #define HAVE_SYS_SYSCALL_H 1
  10781. | #define HAVE_FCNTL_H 1
  10782. | #define HAVE_SYS_FCNTL_H 1
  10783. | #define HAVE_SYS_SELECT_H 1
  10784. | #define HAVE_SYS_TIME_H 1
  10785. | #define HAVE_SYS_TIMES_H 1
  10786. | #define HAVE_SYS_PARAM_H 1
  10787. | #define HAVE_SYSCALL_H 1
  10788. | #define HAVE_PWD_H 1
  10789. | #define HAVE_GRP_H 1
  10790. | #define HAVE_A_OUT_H 1
  10791. | #define HAVE_UTIME_H 1
  10792. | #define HAVE_SYS_RESOURCE_H 1
  10793. | #define HAVE_NETINET_IN_SYSTM_H 1
  10794. | #define HAVE_FLOAT_H 1
  10795. | #define HAVE_UCONTEXT_H 1
  10796. | #define HAVE_LANGINFO_H 1
  10797. | #define HAVE_LOCALE_H 1
  10798. | #define HAVE_SYS_SENDFILE_H 1
  10799. | #define HAVE_TIME_H 1
  10800. | #define HAVE_SYS_SOCKET_H 1
  10801. | #define SIZEOF_SIZE_T 8
  10802. | #define SIZEOF_PTRDIFF_T 8
  10803. | #define PRI_SIZE_PREFIX "z"
  10804. | #define PRI_PTRDIFF_PREFIX "t"
  10805. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  10806. | #define HAVE_ST_BLKSIZE 1
  10807. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  10808. | #define HAVE_ST_BLOCKS 1
  10809. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  10810. | #define HAVE_ST_RDEV 1
  10811. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  10812. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  10813. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  10814. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  10815. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  10816. | #define HAVE_STRUCT_TIMEVAL 1
  10817. | #define HAVE_STRUCT_TIMESPEC 1
  10818. | #define HAVE_STRUCT_TIMEZONE 1
  10819. | #define HAVE_CLOCKID_T 1
  10820. | #define HAVE_RB_FD_INIT 1
  10821. | #define HAVE_INT8_T 1
  10822. | #define SIZEOF_INT8_T 1
  10823. | #define HAVE_UINT8_T 1
  10824. | #define SIZEOF_UINT8_T 1
  10825. | #define HAVE_INT16_T 1
  10826. | #define SIZEOF_INT16_T 2
  10827. | #define HAVE_UINT16_T 1
  10828. | #define SIZEOF_UINT16_T 2
  10829. | #define HAVE_INT32_T 1
  10830. | #define SIZEOF_INT32_T 4
  10831. | #define HAVE_UINT32_T 1
  10832. | #define SIZEOF_UINT32_T 4
  10833. | #define HAVE_INT64_T 1
  10834. | #define SIZEOF_INT64_T 8
  10835. | #define HAVE_UINT64_T 1
  10836. | #define SIZEOF_UINT64_T 8
  10837. | /* end confdefs.h. */
  10838. | #include <stdio.h>
  10839. | #ifdef HAVE_SYS_TYPES_H
  10840. | # include <sys/types.h>
  10841. | #endif
  10842. | #ifdef HAVE_SYS_STAT_H
  10843. | # include <sys/stat.h>
  10844. | #endif
  10845. | #ifdef STDC_HEADERS
  10846. | # include <stdlib.h>
  10847. | # include <stddef.h>
  10848. | #else
  10849. | # ifdef HAVE_STDLIB_H
  10850. | # include <stdlib.h>
  10851. | # endif
  10852. | #endif
  10853. | #ifdef HAVE_STRING_H
  10854. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10855. | # include <memory.h>
  10856. | # endif
  10857. | # include <string.h>
  10858. | #endif
  10859. | #ifdef HAVE_STRINGS_H
  10860. | # include <strings.h>
  10861. | #endif
  10862. | #ifdef HAVE_INTTYPES_H
  10863. | # include <inttypes.h>
  10864. | #endif
  10865. | #ifdef HAVE_STDINT_H
  10866. | # include <stdint.h>
  10867. | #endif
  10868. | #ifdef HAVE_UNISTD_H
  10869. | # include <unistd.h>
  10870. | #endif
  10871. | typedef uint128_t t; int s = sizeof(t) == 42;
  10872. | int
  10873. | main ()
  10874. | {
  10875. |
  10876. | ;
  10877. | return 0;
  10878. | }
  10879. configure:13173: result: no
  10880. configure:13225: checking for intptr_t
  10881. configure:13242: gcc -c -O3 -ggdb conftest.c >&5
  10882. configure:13242: $? = 0
  10883. configure:13264: result: yes
  10884. configure:13367: checking size of intptr_t
  10885. configure:13372: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10886. configure:13372: $? = 0
  10887. configure:13372: ./conftest
  10888. configure:13372: $? = 0
  10889. configure:13387: result: 8
  10890. configure:13411: checking for uintptr_t
  10891. configure:13428: gcc -c -O3 -ggdb conftest.c >&5
  10892. configure:13428: $? = 0
  10893. configure:13450: result: yes
  10894. configure:13553: checking size of uintptr_t
  10895. configure:13558: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10896. configure:13558: $? = 0
  10897. configure:13558: ./conftest
  10898. configure:13558: $? = 0
  10899. configure:13573: result: 8
  10900. configure:13597: checking for ssize_t
  10901. configure:13615: gcc -c -O3 -ggdb conftest.c >&5
  10902. configure:13615: $? = 0
  10903. configure:13637: result: yes
  10904. configure:13742: checking size of ssize_t
  10905. configure:13747: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10906. configure:13747: $? = 0
  10907. configure:13747: ./conftest
  10908. configure:13747: $? = 0
  10909. configure:13763: result: 8
  10910. configure:13787: checking for stack end address
  10911. configure:13805: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10912. configure:13805: $? = 0
  10913. configure:13812: result: __libc_stack_end
  10914. configure:13821: checking for uid_t in sys/types.h
  10915. configure:13840: result: yes
  10916. configure:13851: checking type of array argument to getgroups
  10917. configure:13885: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  10918. configure:13885: $? = 0
  10919. configure:13885: ./conftest
  10920. configure:13885: $? = 0
  10921. configure:13910: result: gid_t
  10922. configure:13918: checking return type of signal handlers
  10923. configure:13936: gcc -c -O3 -ggdb conftest.c >&5
  10924. conftest.c: In function 'main':
  10925. conftest.c:161:9: error: void value not ignored as it ought to be
  10926. return *(signal (0, 0)) (0) == 1;
  10927. ^
  10928. configure:13936: $? = 1
  10929. configure: failed program was:
  10930. | /* confdefs.h */
  10931. | #define PACKAGE_NAME ""
  10932. | #define PACKAGE_TARNAME ""
  10933. | #define PACKAGE_VERSION ""
  10934. | #define PACKAGE_STRING ""
  10935. | #define PACKAGE_BUGREPORT ""
  10936. | #define PACKAGE_URL ""
  10937. | #define CANONICALIZATION_FOR_MATHN 1
  10938. | #define STDC_HEADERS 1
  10939. | #define HAVE_SYS_TYPES_H 1
  10940. | #define HAVE_SYS_STAT_H 1
  10941. | #define HAVE_STDLIB_H 1
  10942. | #define HAVE_STRING_H 1
  10943. | #define HAVE_MEMORY_H 1
  10944. | #define HAVE_STRINGS_H 1
  10945. | #define HAVE_INTTYPES_H 1
  10946. | #define HAVE_STDINT_H 1
  10947. | #define HAVE_UNISTD_H 1
  10948. | #define __EXTENSIONS__ 1
  10949. | #define _ALL_SOURCE 1
  10950. | #define _GNU_SOURCE 1
  10951. | #define _POSIX_PTHREAD_SEMANTICS 1
  10952. | #define _TANDEM_SOURCE 1
  10953. | #define HAVE_LONG_LONG 1
  10954. | #define HAVE_OFF_T 1
  10955. | #define SIZEOF_INT 4
  10956. | #define SIZEOF_SHORT 2
  10957. | #define SIZEOF_LONG 8
  10958. | #define SIZEOF_LONG_LONG 8
  10959. | #define SIZEOF___INT64 0
  10960. | #define SIZEOF_OFF_T 8
  10961. | #define SIZEOF_VOIDP 8
  10962. | #define SIZEOF_FLOAT 4
  10963. | #define SIZEOF_DOUBLE 8
  10964. | #define SIZEOF_TIME_T 8
  10965. | #define PRI_LL_PREFIX "ll"
  10966. | #define rb_pid_t pid_t
  10967. | #define PIDT2NUM(v) INT2NUM(v)
  10968. | #define NUM2PIDT(v) NUM2INT(v)
  10969. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10970. | #define rb_uid_t uid_t
  10971. | #define UIDT2NUM(v) UINT2NUM(v)
  10972. | #define NUM2UIDT(v) NUM2UINT(v)
  10973. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10974. | #define rb_gid_t gid_t
  10975. | #define GIDT2NUM(v) UINT2NUM(v)
  10976. | #define NUM2GIDT(v) NUM2UINT(v)
  10977. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  10978. | #define rb_time_t time_t
  10979. | #define TIMET2NUM(v) LONG2NUM(v)
  10980. | #define NUM2TIMET(v) NUM2LONG(v)
  10981. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  10982. | #define rb_dev_t dev_t
  10983. | #define DEVT2NUM(v) ULONG2NUM(v)
  10984. | #define NUM2DEVT(v) NUM2ULONG(v)
  10985. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  10986. | #define rb_mode_t mode_t
  10987. | #define MODET2NUM(v) UINT2NUM(v)
  10988. | #define NUM2MODET(v) NUM2UINT(v)
  10989. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  10990. | #define rb_rlim_t rlim_t
  10991. | #define RLIM2NUM(v) ULONG2NUM(v)
  10992. | #define NUM2RLIM(v) NUM2ULONG(v)
  10993. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  10994. | #define HAVE_PROTOTYPES 1
  10995. | #define TOKEN_PASTE(x,y) x##y
  10996. | #define STRINGIZE(expr) STRINGIZE0(expr)
  10997. | #define HAVE_STDARG_PROTOTYPES 1
  10998. | #define HAVE_VA_ARGS_MACRO 1
  10999. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11000. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11001. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11002. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11003. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11004. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11005. | #define HAVE_GCC_SYNC_BUILTINS 1
  11006. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11007. | #define HAVE_DECL_SYS_NERR 1
  11008. | #define HAVE_LIBCRYPT 1
  11009. | #define HAVE_LIBDL 1
  11010. | #define HAVE_LIBRT 1
  11011. | #define HAVE_DIRENT_H 1
  11012. | #define HAVE__BOOL 1
  11013. | #define HAVE_STDBOOL_H 1
  11014. | #define HAVE_SYS_WAIT_H 1
  11015. | #define HAVE_LIMITS_H 1
  11016. | #define HAVE_SYS_FILE_H 1
  11017. | #define HAVE_SYS_IOCTL_H 1
  11018. | #define HAVE_SYS_SYSCALL_H 1
  11019. | #define HAVE_FCNTL_H 1
  11020. | #define HAVE_SYS_FCNTL_H 1
  11021. | #define HAVE_SYS_SELECT_H 1
  11022. | #define HAVE_SYS_TIME_H 1
  11023. | #define HAVE_SYS_TIMES_H 1
  11024. | #define HAVE_SYS_PARAM_H 1
  11025. | #define HAVE_SYSCALL_H 1
  11026. | #define HAVE_PWD_H 1
  11027. | #define HAVE_GRP_H 1
  11028. | #define HAVE_A_OUT_H 1
  11029. | #define HAVE_UTIME_H 1
  11030. | #define HAVE_SYS_RESOURCE_H 1
  11031. | #define HAVE_NETINET_IN_SYSTM_H 1
  11032. | #define HAVE_FLOAT_H 1
  11033. | #define HAVE_UCONTEXT_H 1
  11034. | #define HAVE_LANGINFO_H 1
  11035. | #define HAVE_LOCALE_H 1
  11036. | #define HAVE_SYS_SENDFILE_H 1
  11037. | #define HAVE_TIME_H 1
  11038. | #define HAVE_SYS_SOCKET_H 1
  11039. | #define SIZEOF_SIZE_T 8
  11040. | #define SIZEOF_PTRDIFF_T 8
  11041. | #define PRI_SIZE_PREFIX "z"
  11042. | #define PRI_PTRDIFF_PREFIX "t"
  11043. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  11044. | #define HAVE_ST_BLKSIZE 1
  11045. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  11046. | #define HAVE_ST_BLOCKS 1
  11047. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  11048. | #define HAVE_ST_RDEV 1
  11049. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  11050. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  11051. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  11052. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  11053. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  11054. | #define HAVE_STRUCT_TIMEVAL 1
  11055. | #define HAVE_STRUCT_TIMESPEC 1
  11056. | #define HAVE_STRUCT_TIMEZONE 1
  11057. | #define HAVE_CLOCKID_T 1
  11058. | #define HAVE_RB_FD_INIT 1
  11059. | #define HAVE_INT8_T 1
  11060. | #define SIZEOF_INT8_T 1
  11061. | #define HAVE_UINT8_T 1
  11062. | #define SIZEOF_UINT8_T 1
  11063. | #define HAVE_INT16_T 1
  11064. | #define SIZEOF_INT16_T 2
  11065. | #define HAVE_UINT16_T 1
  11066. | #define SIZEOF_UINT16_T 2
  11067. | #define HAVE_INT32_T 1
  11068. | #define SIZEOF_INT32_T 4
  11069. | #define HAVE_UINT32_T 1
  11070. | #define SIZEOF_UINT32_T 4
  11071. | #define HAVE_INT64_T 1
  11072. | #define SIZEOF_INT64_T 8
  11073. | #define HAVE_UINT64_T 1
  11074. | #define SIZEOF_UINT64_T 8
  11075. | #define HAVE_INTPTR_T 1
  11076. | #define SIZEOF_INTPTR_T 8
  11077. | #define HAVE_UINTPTR_T 1
  11078. | #define SIZEOF_UINTPTR_T 8
  11079. | #define HAVE_SSIZE_T 1
  11080. | #define SIZEOF_SSIZE_T 8
  11081. | #define STACK_END_ADDRESS __libc_stack_end
  11082. | #define GETGROUPS_T gid_t
  11083. | /* end confdefs.h. */
  11084. | #include <sys/types.h>
  11085. | #include <signal.h>
  11086. |
  11087. | int
  11088. | main ()
  11089. | {
  11090. | return *(signal (0, 0)) (0) == 1;
  11091. | ;
  11092. | return 0;
  11093. | }
  11094. configure:13943: result: void
  11095. configure:13996: checking for working alloca.h
  11096. configure:14013: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11097. configure:14013: $? = 0
  11098. configure:14021: result: yes
  11099. configure:14029: checking for alloca
  11100. configure:14066: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11101. configure:14066: $? = 0
  11102. configure:14074: result: yes
  11103. configure:14183: checking for dynamic size alloca
  11104. configure:14207: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11105. configure:14207: $? = 0
  11106. configure:14214: result: ok
  11107. configure:14232: checking for working memcmp
  11108. configure:14275: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11109. configure:14275: $? = 0
  11110. configure:14275: ./conftest
  11111. configure:14275: $? = 0
  11112. configure:14285: result: yes
  11113. configure:14298: checking for broken erfc of glibc-2.3.6 on IA64
  11114. configure:14318: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11115. configure:14318: $? = 0
  11116. configure:14318: ./conftest
  11117. configure:14318: $? = 0
  11118. configure:14328: result: no
  11119. configure:14360: checking for dup2
  11120. configure:14360: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11121. configure:14360: $? = 0
  11122. configure:14360: result: yes
  11123. configure:14373: checking for memmove
  11124. configure:14373: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11125. conftest.c:182:6: warning: conflicting types for built-in function 'memmove'
  11126. char memmove ();
  11127. ^
  11128. configure:14373: $? = 0
  11129. configure:14373: result: yes
  11130. configure:14386: checking for strerror
  11131. configure:14386: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11132. configure:14386: $? = 0
  11133. configure:14386: result: yes
  11134. configure:14399: checking for strchr
  11135. configure:14399: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11136. conftest.c:184:6: warning: conflicting types for built-in function 'strchr'
  11137. char strchr ();
  11138. ^
  11139. configure:14399: $? = 0
  11140. configure:14399: result: yes
  11141. configure:14412: checking for strstr
  11142. configure:14412: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11143. conftest.c:185:6: warning: conflicting types for built-in function 'strstr'
  11144. char strstr ();
  11145. ^
  11146. configure:14412: $? = 0
  11147. configure:14412: result: yes
  11148. configure:14425: checking for crypt
  11149. configure:14425: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11150. configure:14425: $? = 0
  11151. configure:14425: result: yes
  11152. configure:14438: checking for flock
  11153. configure:14438: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11154. configure:14438: $? = 0
  11155. configure:14438: result: yes
  11156. configure:14451: checking for isnan
  11157. configure:14451: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11158. conftest.c:188:6: warning: conflicting types for built-in function 'isnan'
  11159. char isnan ();
  11160. ^
  11161. configure:14451: $? = 0
  11162. configure:14451: result: yes
  11163. configure:14464: checking for finite
  11164. configure:14464: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11165. conftest.c:189:6: warning: conflicting types for built-in function 'finite'
  11166. char finite ();
  11167. ^
  11168. configure:14464: $? = 0
  11169. configure:14464: result: yes
  11170. configure:14477: checking for isinf
  11171. configure:14477: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11172. conftest.c:190:6: warning: conflicting types for built-in function 'isinf'
  11173. char isinf ();
  11174. ^
  11175. configure:14477: $? = 0
  11176. configure:14477: result: yes
  11177. configure:14490: checking for hypot
  11178. configure:14490: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11179. conftest.c:191:6: warning: conflicting types for built-in function 'hypot'
  11180. char hypot ();
  11181. ^
  11182. configure:14490: $? = 0
  11183. configure:14490: result: yes
  11184. configure:14503: checking for acosh
  11185. configure:14503: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11186. conftest.c:192:6: warning: conflicting types for built-in function 'acosh'
  11187. char acosh ();
  11188. ^
  11189. configure:14503: $? = 0
  11190. configure:14503: result: yes
  11191. configure:14516: checking for erf
  11192. configure:14516: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11193. conftest.c:193:6: warning: conflicting types for built-in function 'erf'
  11194. char erf ();
  11195. ^
  11196. configure:14516: $? = 0
  11197. configure:14516: result: yes
  11198. configure:14529: checking for tgamma
  11199. configure:14529: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11200. conftest.c:194:6: warning: conflicting types for built-in function 'tgamma'
  11201. char tgamma ();
  11202. ^
  11203. configure:14529: $? = 0
  11204. configure:14529: result: yes
  11205. configure:14542: checking for lgamma_r
  11206. configure:14542: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11207. conftest.c:195:6: warning: conflicting types for built-in function 'lgamma_r'
  11208. char lgamma_r ();
  11209. ^
  11210. configure:14542: $? = 0
  11211. configure:14542: result: yes
  11212. configure:14555: checking for cbrt
  11213. configure:14555: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11214. conftest.c:196:6: warning: conflicting types for built-in function 'cbrt'
  11215. char cbrt ();
  11216. ^
  11217. configure:14555: $? = 0
  11218. configure:14555: result: yes
  11219. configure:14568: checking for strlcpy
  11220. configure:14568: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11221. /tmp/ccnbP6nB.o: In function `main':
  11222. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:208: undefined reference to `strlcpy'
  11223. collect2: error: ld returned 1 exit status
  11224. configure:14568: $? = 1
  11225. configure: failed program was:
  11226. | /* confdefs.h */
  11227. | #define PACKAGE_NAME ""
  11228. | #define PACKAGE_TARNAME ""
  11229. | #define PACKAGE_VERSION ""
  11230. | #define PACKAGE_STRING ""
  11231. | #define PACKAGE_BUGREPORT ""
  11232. | #define PACKAGE_URL ""
  11233. | #define CANONICALIZATION_FOR_MATHN 1
  11234. | #define STDC_HEADERS 1
  11235. | #define HAVE_SYS_TYPES_H 1
  11236. | #define HAVE_SYS_STAT_H 1
  11237. | #define HAVE_STDLIB_H 1
  11238. | #define HAVE_STRING_H 1
  11239. | #define HAVE_MEMORY_H 1
  11240. | #define HAVE_STRINGS_H 1
  11241. | #define HAVE_INTTYPES_H 1
  11242. | #define HAVE_STDINT_H 1
  11243. | #define HAVE_UNISTD_H 1
  11244. | #define __EXTENSIONS__ 1
  11245. | #define _ALL_SOURCE 1
  11246. | #define _GNU_SOURCE 1
  11247. | #define _POSIX_PTHREAD_SEMANTICS 1
  11248. | #define _TANDEM_SOURCE 1
  11249. | #define HAVE_LONG_LONG 1
  11250. | #define HAVE_OFF_T 1
  11251. | #define SIZEOF_INT 4
  11252. | #define SIZEOF_SHORT 2
  11253. | #define SIZEOF_LONG 8
  11254. | #define SIZEOF_LONG_LONG 8
  11255. | #define SIZEOF___INT64 0
  11256. | #define SIZEOF_OFF_T 8
  11257. | #define SIZEOF_VOIDP 8
  11258. | #define SIZEOF_FLOAT 4
  11259. | #define SIZEOF_DOUBLE 8
  11260. | #define SIZEOF_TIME_T 8
  11261. | #define PRI_LL_PREFIX "ll"
  11262. | #define rb_pid_t pid_t
  11263. | #define PIDT2NUM(v) INT2NUM(v)
  11264. | #define NUM2PIDT(v) NUM2INT(v)
  11265. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  11266. | #define rb_uid_t uid_t
  11267. | #define UIDT2NUM(v) UINT2NUM(v)
  11268. | #define NUM2UIDT(v) NUM2UINT(v)
  11269. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  11270. | #define rb_gid_t gid_t
  11271. | #define GIDT2NUM(v) UINT2NUM(v)
  11272. | #define NUM2GIDT(v) NUM2UINT(v)
  11273. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  11274. | #define rb_time_t time_t
  11275. | #define TIMET2NUM(v) LONG2NUM(v)
  11276. | #define NUM2TIMET(v) NUM2LONG(v)
  11277. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  11278. | #define rb_dev_t dev_t
  11279. | #define DEVT2NUM(v) ULONG2NUM(v)
  11280. | #define NUM2DEVT(v) NUM2ULONG(v)
  11281. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  11282. | #define rb_mode_t mode_t
  11283. | #define MODET2NUM(v) UINT2NUM(v)
  11284. | #define NUM2MODET(v) NUM2UINT(v)
  11285. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  11286. | #define rb_rlim_t rlim_t
  11287. | #define RLIM2NUM(v) ULONG2NUM(v)
  11288. | #define NUM2RLIM(v) NUM2ULONG(v)
  11289. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  11290. | #define HAVE_PROTOTYPES 1
  11291. | #define TOKEN_PASTE(x,y) x##y
  11292. | #define STRINGIZE(expr) STRINGIZE0(expr)
  11293. | #define HAVE_STDARG_PROTOTYPES 1
  11294. | #define HAVE_VA_ARGS_MACRO 1
  11295. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11296. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11297. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11298. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11299. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11300. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11301. | #define HAVE_GCC_SYNC_BUILTINS 1
  11302. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11303. | #define HAVE_DECL_SYS_NERR 1
  11304. | #define HAVE_LIBCRYPT 1
  11305. | #define HAVE_LIBDL 1
  11306. | #define HAVE_LIBRT 1
  11307. | #define HAVE_DIRENT_H 1
  11308. | #define HAVE__BOOL 1
  11309. | #define HAVE_STDBOOL_H 1
  11310. | #define HAVE_SYS_WAIT_H 1
  11311. | #define HAVE_LIMITS_H 1
  11312. | #define HAVE_SYS_FILE_H 1
  11313. | #define HAVE_SYS_IOCTL_H 1
  11314. | #define HAVE_SYS_SYSCALL_H 1
  11315. | #define HAVE_FCNTL_H 1
  11316. | #define HAVE_SYS_FCNTL_H 1
  11317. | #define HAVE_SYS_SELECT_H 1
  11318. | #define HAVE_SYS_TIME_H 1
  11319. | #define HAVE_SYS_TIMES_H 1
  11320. | #define HAVE_SYS_PARAM_H 1
  11321. | #define HAVE_SYSCALL_H 1
  11322. | #define HAVE_PWD_H 1
  11323. | #define HAVE_GRP_H 1
  11324. | #define HAVE_A_OUT_H 1
  11325. | #define HAVE_UTIME_H 1
  11326. | #define HAVE_SYS_RESOURCE_H 1
  11327. | #define HAVE_NETINET_IN_SYSTM_H 1
  11328. | #define HAVE_FLOAT_H 1
  11329. | #define HAVE_UCONTEXT_H 1
  11330. | #define HAVE_LANGINFO_H 1
  11331. | #define HAVE_LOCALE_H 1
  11332. | #define HAVE_SYS_SENDFILE_H 1
  11333. | #define HAVE_TIME_H 1
  11334. | #define HAVE_SYS_SOCKET_H 1
  11335. | #define SIZEOF_SIZE_T 8
  11336. | #define SIZEOF_PTRDIFF_T 8
  11337. | #define PRI_SIZE_PREFIX "z"
  11338. | #define PRI_PTRDIFF_PREFIX "t"
  11339. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  11340. | #define HAVE_ST_BLKSIZE 1
  11341. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  11342. | #define HAVE_ST_BLOCKS 1
  11343. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  11344. | #define HAVE_ST_RDEV 1
  11345. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  11346. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  11347. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  11348. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  11349. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  11350. | #define HAVE_STRUCT_TIMEVAL 1
  11351. | #define HAVE_STRUCT_TIMESPEC 1
  11352. | #define HAVE_STRUCT_TIMEZONE 1
  11353. | #define HAVE_CLOCKID_T 1
  11354. | #define HAVE_RB_FD_INIT 1
  11355. | #define HAVE_INT8_T 1
  11356. | #define SIZEOF_INT8_T 1
  11357. | #define HAVE_UINT8_T 1
  11358. | #define SIZEOF_UINT8_T 1
  11359. | #define HAVE_INT16_T 1
  11360. | #define SIZEOF_INT16_T 2
  11361. | #define HAVE_UINT16_T 1
  11362. | #define SIZEOF_UINT16_T 2
  11363. | #define HAVE_INT32_T 1
  11364. | #define SIZEOF_INT32_T 4
  11365. | #define HAVE_UINT32_T 1
  11366. | #define SIZEOF_UINT32_T 4
  11367. | #define HAVE_INT64_T 1
  11368. | #define SIZEOF_INT64_T 8
  11369. | #define HAVE_UINT64_T 1
  11370. | #define SIZEOF_UINT64_T 8
  11371. | #define HAVE_INTPTR_T 1
  11372. | #define SIZEOF_INTPTR_T 8
  11373. | #define HAVE_UINTPTR_T 1
  11374. | #define SIZEOF_UINTPTR_T 8
  11375. | #define HAVE_SSIZE_T 1
  11376. | #define SIZEOF_SSIZE_T 8
  11377. | #define STACK_END_ADDRESS __libc_stack_end
  11378. | #define GETGROUPS_T gid_t
  11379. | #define RETSIGTYPE void
  11380. | #define HAVE_ALLOCA_H 1
  11381. | #define HAVE_ALLOCA 1
  11382. | #define HAVE_DUP2 1
  11383. | #define HAVE_MEMMOVE 1
  11384. | #define HAVE_STRERROR 1
  11385. | #define HAVE_STRCHR 1
  11386. | #define HAVE_STRSTR 1
  11387. | #define HAVE_CRYPT 1
  11388. | #define HAVE_FLOCK 1
  11389. | #define HAVE_ISNAN 1
  11390. | #define HAVE_FINITE 1
  11391. | #define HAVE_ISINF 1
  11392. | #define HAVE_HYPOT 1
  11393. | #define HAVE_ACOSH 1
  11394. | #define HAVE_ERF 1
  11395. | #define HAVE_TGAMMA 1
  11396. | #define HAVE_LGAMMA_R 1
  11397. | #define HAVE_CBRT 1
  11398. | /* end confdefs.h. */
  11399. | /* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy.
  11400. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  11401. | #define strlcpy innocuous_strlcpy
  11402. |
  11403. | /* System header to define __stub macros and hopefully few prototypes,
  11404. | which can conflict with char strlcpy (); below.
  11405. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11406. | <limits.h> exists even on freestanding compilers. */
  11407. |
  11408. | #ifdef __STDC__
  11409. | # include <limits.h>
  11410. | #else
  11411. | # include <assert.h>
  11412. | #endif
  11413. |
  11414. | #undef strlcpy
  11415. |
  11416. | /* Override any GCC internal prototype to avoid an error.
  11417. | Use char because int might match the return type of a GCC
  11418. | builtin and then its argument prototype would still apply. */
  11419. | #ifdef __cplusplus
  11420. | extern "C"
  11421. | #endif
  11422. | char strlcpy ();
  11423. | /* The GNU C library defines this for functions which it implements
  11424. | to always fail with ENOSYS. Some functions are actually named
  11425. | something starting with __ and the normal name is an alias. */
  11426. | #if defined __stub_strlcpy || defined __stub___strlcpy
  11427. | choke me
  11428. | #endif
  11429. |
  11430. | int
  11431. | main ()
  11432. | {
  11433. | return strlcpy ();
  11434. | ;
  11435. | return 0;
  11436. | }
  11437. configure:14568: result: no
  11438. configure:14581: checking for strlcat
  11439. configure:14581: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11440. /tmp/ccrj8S9F.o: In function `main':
  11441. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:208: undefined reference to `strlcat'
  11442. collect2: error: ld returned 1 exit status
  11443. configure:14581: $? = 1
  11444. configure: failed program was:
  11445. | /* confdefs.h */
  11446. | #define PACKAGE_NAME ""
  11447. | #define PACKAGE_TARNAME ""
  11448. | #define PACKAGE_VERSION ""
  11449. | #define PACKAGE_STRING ""
  11450. | #define PACKAGE_BUGREPORT ""
  11451. | #define PACKAGE_URL ""
  11452. | #define CANONICALIZATION_FOR_MATHN 1
  11453. | #define STDC_HEADERS 1
  11454. | #define HAVE_SYS_TYPES_H 1
  11455. | #define HAVE_SYS_STAT_H 1
  11456. | #define HAVE_STDLIB_H 1
  11457. | #define HAVE_STRING_H 1
  11458. | #define HAVE_MEMORY_H 1
  11459. | #define HAVE_STRINGS_H 1
  11460. | #define HAVE_INTTYPES_H 1
  11461. | #define HAVE_STDINT_H 1
  11462. | #define HAVE_UNISTD_H 1
  11463. | #define __EXTENSIONS__ 1
  11464. | #define _ALL_SOURCE 1
  11465. | #define _GNU_SOURCE 1
  11466. | #define _POSIX_PTHREAD_SEMANTICS 1
  11467. | #define _TANDEM_SOURCE 1
  11468. | #define HAVE_LONG_LONG 1
  11469. | #define HAVE_OFF_T 1
  11470. | #define SIZEOF_INT 4
  11471. | #define SIZEOF_SHORT 2
  11472. | #define SIZEOF_LONG 8
  11473. | #define SIZEOF_LONG_LONG 8
  11474. | #define SIZEOF___INT64 0
  11475. | #define SIZEOF_OFF_T 8
  11476. | #define SIZEOF_VOIDP 8
  11477. | #define SIZEOF_FLOAT 4
  11478. | #define SIZEOF_DOUBLE 8
  11479. | #define SIZEOF_TIME_T 8
  11480. | #define PRI_LL_PREFIX "ll"
  11481. | #define rb_pid_t pid_t
  11482. | #define PIDT2NUM(v) INT2NUM(v)
  11483. | #define NUM2PIDT(v) NUM2INT(v)
  11484. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  11485. | #define rb_uid_t uid_t
  11486. | #define UIDT2NUM(v) UINT2NUM(v)
  11487. | #define NUM2UIDT(v) NUM2UINT(v)
  11488. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  11489. | #define rb_gid_t gid_t
  11490. | #define GIDT2NUM(v) UINT2NUM(v)
  11491. | #define NUM2GIDT(v) NUM2UINT(v)
  11492. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  11493. | #define rb_time_t time_t
  11494. | #define TIMET2NUM(v) LONG2NUM(v)
  11495. | #define NUM2TIMET(v) NUM2LONG(v)
  11496. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  11497. | #define rb_dev_t dev_t
  11498. | #define DEVT2NUM(v) ULONG2NUM(v)
  11499. | #define NUM2DEVT(v) NUM2ULONG(v)
  11500. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  11501. | #define rb_mode_t mode_t
  11502. | #define MODET2NUM(v) UINT2NUM(v)
  11503. | #define NUM2MODET(v) NUM2UINT(v)
  11504. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  11505. | #define rb_rlim_t rlim_t
  11506. | #define RLIM2NUM(v) ULONG2NUM(v)
  11507. | #define NUM2RLIM(v) NUM2ULONG(v)
  11508. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  11509. | #define HAVE_PROTOTYPES 1
  11510. | #define TOKEN_PASTE(x,y) x##y
  11511. | #define STRINGIZE(expr) STRINGIZE0(expr)
  11512. | #define HAVE_STDARG_PROTOTYPES 1
  11513. | #define HAVE_VA_ARGS_MACRO 1
  11514. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11515. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11516. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11517. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11518. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11519. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11520. | #define HAVE_GCC_SYNC_BUILTINS 1
  11521. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11522. | #define HAVE_DECL_SYS_NERR 1
  11523. | #define HAVE_LIBCRYPT 1
  11524. | #define HAVE_LIBDL 1
  11525. | #define HAVE_LIBRT 1
  11526. | #define HAVE_DIRENT_H 1
  11527. | #define HAVE__BOOL 1
  11528. | #define HAVE_STDBOOL_H 1
  11529. | #define HAVE_SYS_WAIT_H 1
  11530. | #define HAVE_LIMITS_H 1
  11531. | #define HAVE_SYS_FILE_H 1
  11532. | #define HAVE_SYS_IOCTL_H 1
  11533. | #define HAVE_SYS_SYSCALL_H 1
  11534. | #define HAVE_FCNTL_H 1
  11535. | #define HAVE_SYS_FCNTL_H 1
  11536. | #define HAVE_SYS_SELECT_H 1
  11537. | #define HAVE_SYS_TIME_H 1
  11538. | #define HAVE_SYS_TIMES_H 1
  11539. | #define HAVE_SYS_PARAM_H 1
  11540. | #define HAVE_SYSCALL_H 1
  11541. | #define HAVE_PWD_H 1
  11542. | #define HAVE_GRP_H 1
  11543. | #define HAVE_A_OUT_H 1
  11544. | #define HAVE_UTIME_H 1
  11545. | #define HAVE_SYS_RESOURCE_H 1
  11546. | #define HAVE_NETINET_IN_SYSTM_H 1
  11547. | #define HAVE_FLOAT_H 1
  11548. | #define HAVE_UCONTEXT_H 1
  11549. | #define HAVE_LANGINFO_H 1
  11550. | #define HAVE_LOCALE_H 1
  11551. | #define HAVE_SYS_SENDFILE_H 1
  11552. | #define HAVE_TIME_H 1
  11553. | #define HAVE_SYS_SOCKET_H 1
  11554. | #define SIZEOF_SIZE_T 8
  11555. | #define SIZEOF_PTRDIFF_T 8
  11556. | #define PRI_SIZE_PREFIX "z"
  11557. | #define PRI_PTRDIFF_PREFIX "t"
  11558. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  11559. | #define HAVE_ST_BLKSIZE 1
  11560. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  11561. | #define HAVE_ST_BLOCKS 1
  11562. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  11563. | #define HAVE_ST_RDEV 1
  11564. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  11565. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  11566. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  11567. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  11568. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  11569. | #define HAVE_STRUCT_TIMEVAL 1
  11570. | #define HAVE_STRUCT_TIMESPEC 1
  11571. | #define HAVE_STRUCT_TIMEZONE 1
  11572. | #define HAVE_CLOCKID_T 1
  11573. | #define HAVE_RB_FD_INIT 1
  11574. | #define HAVE_INT8_T 1
  11575. | #define SIZEOF_INT8_T 1
  11576. | #define HAVE_UINT8_T 1
  11577. | #define SIZEOF_UINT8_T 1
  11578. | #define HAVE_INT16_T 1
  11579. | #define SIZEOF_INT16_T 2
  11580. | #define HAVE_UINT16_T 1
  11581. | #define SIZEOF_UINT16_T 2
  11582. | #define HAVE_INT32_T 1
  11583. | #define SIZEOF_INT32_T 4
  11584. | #define HAVE_UINT32_T 1
  11585. | #define SIZEOF_UINT32_T 4
  11586. | #define HAVE_INT64_T 1
  11587. | #define SIZEOF_INT64_T 8
  11588. | #define HAVE_UINT64_T 1
  11589. | #define SIZEOF_UINT64_T 8
  11590. | #define HAVE_INTPTR_T 1
  11591. | #define SIZEOF_INTPTR_T 8
  11592. | #define HAVE_UINTPTR_T 1
  11593. | #define SIZEOF_UINTPTR_T 8
  11594. | #define HAVE_SSIZE_T 1
  11595. | #define SIZEOF_SSIZE_T 8
  11596. | #define STACK_END_ADDRESS __libc_stack_end
  11597. | #define GETGROUPS_T gid_t
  11598. | #define RETSIGTYPE void
  11599. | #define HAVE_ALLOCA_H 1
  11600. | #define HAVE_ALLOCA 1
  11601. | #define HAVE_DUP2 1
  11602. | #define HAVE_MEMMOVE 1
  11603. | #define HAVE_STRERROR 1
  11604. | #define HAVE_STRCHR 1
  11605. | #define HAVE_STRSTR 1
  11606. | #define HAVE_CRYPT 1
  11607. | #define HAVE_FLOCK 1
  11608. | #define HAVE_ISNAN 1
  11609. | #define HAVE_FINITE 1
  11610. | #define HAVE_ISINF 1
  11611. | #define HAVE_HYPOT 1
  11612. | #define HAVE_ACOSH 1
  11613. | #define HAVE_ERF 1
  11614. | #define HAVE_TGAMMA 1
  11615. | #define HAVE_LGAMMA_R 1
  11616. | #define HAVE_CBRT 1
  11617. | /* end confdefs.h. */
  11618. | /* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
  11619. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  11620. | #define strlcat innocuous_strlcat
  11621. |
  11622. | /* System header to define __stub macros and hopefully few prototypes,
  11623. | which can conflict with char strlcat (); below.
  11624. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11625. | <limits.h> exists even on freestanding compilers. */
  11626. |
  11627. | #ifdef __STDC__
  11628. | # include <limits.h>
  11629. | #else
  11630. | # include <assert.h>
  11631. | #endif
  11632. |
  11633. | #undef strlcat
  11634. |
  11635. | /* Override any GCC internal prototype to avoid an error.
  11636. | Use char because int might match the return type of a GCC
  11637. | builtin and then its argument prototype would still apply. */
  11638. | #ifdef __cplusplus
  11639. | extern "C"
  11640. | #endif
  11641. | char strlcat ();
  11642. | /* The GNU C library defines this for functions which it implements
  11643. | to always fail with ENOSYS. Some functions are actually named
  11644. | something starting with __ and the normal name is an alias. */
  11645. | #if defined __stub_strlcat || defined __stub___strlcat
  11646. | choke me
  11647. | #endif
  11648. |
  11649. | int
  11650. | main ()
  11651. | {
  11652. | return strlcat ();
  11653. | ;
  11654. | return 0;
  11655. | }
  11656. configure:14581: result: no
  11657. configure:14594: checking for ffs
  11658. configure:14594: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11659. conftest.c:197:6: warning: conflicting types for built-in function 'ffs'
  11660. char ffs ();
  11661. ^
  11662. configure:14594: $? = 0
  11663. configure:14594: result: yes
  11664. configure:14607: checking for setproctitle
  11665. configure:14607: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  11666. /tmp/cc4DtITN.o: In function `main':
  11667. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:209: undefined reference to `setproctitle'
  11668. collect2: error: ld returned 1 exit status
  11669. configure:14607: $? = 1
  11670. configure: failed program was:
  11671. | /* confdefs.h */
  11672. | #define PACKAGE_NAME ""
  11673. | #define PACKAGE_TARNAME ""
  11674. | #define PACKAGE_VERSION ""
  11675. | #define PACKAGE_STRING ""
  11676. | #define PACKAGE_BUGREPORT ""
  11677. | #define PACKAGE_URL ""
  11678. | #define CANONICALIZATION_FOR_MATHN 1
  11679. | #define STDC_HEADERS 1
  11680. | #define HAVE_SYS_TYPES_H 1
  11681. | #define HAVE_SYS_STAT_H 1
  11682. | #define HAVE_STDLIB_H 1
  11683. | #define HAVE_STRING_H 1
  11684. | #define HAVE_MEMORY_H 1
  11685. | #define HAVE_STRINGS_H 1
  11686. | #define HAVE_INTTYPES_H 1
  11687. | #define HAVE_STDINT_H 1
  11688. | #define HAVE_UNISTD_H 1
  11689. | #define __EXTENSIONS__ 1
  11690. | #define _ALL_SOURCE 1
  11691. | #define _GNU_SOURCE 1
  11692. | #define _POSIX_PTHREAD_SEMANTICS 1
  11693. | #define _TANDEM_SOURCE 1
  11694. | #define HAVE_LONG_LONG 1
  11695. | #define HAVE_OFF_T 1
  11696. | #define SIZEOF_INT 4
  11697. | #define SIZEOF_SHORT 2
  11698. | #define SIZEOF_LONG 8
  11699. | #define SIZEOF_LONG_LONG 8
  11700. | #define SIZEOF___INT64 0
  11701. | #define SIZEOF_OFF_T 8
  11702. | #define SIZEOF_VOIDP 8
  11703. | #define SIZEOF_FLOAT 4
  11704. | #define SIZEOF_DOUBLE 8
  11705. | #define SIZEOF_TIME_T 8
  11706. | #define PRI_LL_PREFIX "ll"
  11707. | #define rb_pid_t pid_t
  11708. | #define PIDT2NUM(v) INT2NUM(v)
  11709. | #define NUM2PIDT(v) NUM2INT(v)
  11710. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  11711. | #define rb_uid_t uid_t
  11712. | #define UIDT2NUM(v) UINT2NUM(v)
  11713. | #define NUM2UIDT(v) NUM2UINT(v)
  11714. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  11715. | #define rb_gid_t gid_t
  11716. | #define GIDT2NUM(v) UINT2NUM(v)
  11717. | #define NUM2GIDT(v) NUM2UINT(v)
  11718. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  11719. | #define rb_time_t time_t
  11720. | #define TIMET2NUM(v) LONG2NUM(v)
  11721. | #define NUM2TIMET(v) NUM2LONG(v)
  11722. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  11723. | #define rb_dev_t dev_t
  11724. | #define DEVT2NUM(v) ULONG2NUM(v)
  11725. | #define NUM2DEVT(v) NUM2ULONG(v)
  11726. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  11727. | #define rb_mode_t mode_t
  11728. | #define MODET2NUM(v) UINT2NUM(v)
  11729. | #define NUM2MODET(v) NUM2UINT(v)
  11730. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  11731. | #define rb_rlim_t rlim_t
  11732. | #define RLIM2NUM(v) ULONG2NUM(v)
  11733. | #define NUM2RLIM(v) NUM2ULONG(v)
  11734. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  11735. | #define HAVE_PROTOTYPES 1
  11736. | #define TOKEN_PASTE(x,y) x##y
  11737. | #define STRINGIZE(expr) STRINGIZE0(expr)
  11738. | #define HAVE_STDARG_PROTOTYPES 1
  11739. | #define HAVE_VA_ARGS_MACRO 1
  11740. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11741. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11742. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11743. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11744. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11745. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11746. | #define HAVE_GCC_SYNC_BUILTINS 1
  11747. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11748. | #define HAVE_DECL_SYS_NERR 1
  11749. | #define HAVE_LIBCRYPT 1
  11750. | #define HAVE_LIBDL 1
  11751. | #define HAVE_LIBRT 1
  11752. | #define HAVE_DIRENT_H 1
  11753. | #define HAVE__BOOL 1
  11754. | #define HAVE_STDBOOL_H 1
  11755. | #define HAVE_SYS_WAIT_H 1
  11756. | #define HAVE_LIMITS_H 1
  11757. | #define HAVE_SYS_FILE_H 1
  11758. | #define HAVE_SYS_IOCTL_H 1
  11759. | #define HAVE_SYS_SYSCALL_H 1
  11760. | #define HAVE_FCNTL_H 1
  11761. | #define HAVE_SYS_FCNTL_H 1
  11762. | #define HAVE_SYS_SELECT_H 1
  11763. | #define HAVE_SYS_TIME_H 1
  11764. | #define HAVE_SYS_TIMES_H 1
  11765. | #define HAVE_SYS_PARAM_H 1
  11766. | #define HAVE_SYSCALL_H 1
  11767. | #define HAVE_PWD_H 1
  11768. | #define HAVE_GRP_H 1
  11769. | #define HAVE_A_OUT_H 1
  11770. | #define HAVE_UTIME_H 1
  11771. | #define HAVE_SYS_RESOURCE_H 1
  11772. | #define HAVE_NETINET_IN_SYSTM_H 1
  11773. | #define HAVE_FLOAT_H 1
  11774. | #define HAVE_UCONTEXT_H 1
  11775. | #define HAVE_LANGINFO_H 1
  11776. | #define HAVE_LOCALE_H 1
  11777. | #define HAVE_SYS_SENDFILE_H 1
  11778. | #define HAVE_TIME_H 1
  11779. | #define HAVE_SYS_SOCKET_H 1
  11780. | #define SIZEOF_SIZE_T 8
  11781. | #define SIZEOF_PTRDIFF_T 8
  11782. | #define PRI_SIZE_PREFIX "z"
  11783. | #define PRI_PTRDIFF_PREFIX "t"
  11784. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  11785. | #define HAVE_ST_BLKSIZE 1
  11786. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  11787. | #define HAVE_ST_BLOCKS 1
  11788. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  11789. | #define HAVE_ST_RDEV 1
  11790. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  11791. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  11792. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  11793. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  11794. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  11795. | #define HAVE_STRUCT_TIMEVAL 1
  11796. | #define HAVE_STRUCT_TIMESPEC 1
  11797. | #define HAVE_STRUCT_TIMEZONE 1
  11798. | #define HAVE_CLOCKID_T 1
  11799. | #define HAVE_RB_FD_INIT 1
  11800. | #define HAVE_INT8_T 1
  11801. | #define SIZEOF_INT8_T 1
  11802. | #define HAVE_UINT8_T 1
  11803. | #define SIZEOF_UINT8_T 1
  11804. | #define HAVE_INT16_T 1
  11805. | #define SIZEOF_INT16_T 2
  11806. | #define HAVE_UINT16_T 1
  11807. | #define SIZEOF_UINT16_T 2
  11808. | #define HAVE_INT32_T 1
  11809. | #define SIZEOF_INT32_T 4
  11810. | #define HAVE_UINT32_T 1
  11811. | #define SIZEOF_UINT32_T 4
  11812. | #define HAVE_INT64_T 1
  11813. | #define SIZEOF_INT64_T 8
  11814. | #define HAVE_UINT64_T 1
  11815. | #define SIZEOF_UINT64_T 8
  11816. | #define HAVE_INTPTR_T 1
  11817. | #define SIZEOF_INTPTR_T 8
  11818. | #define HAVE_UINTPTR_T 1
  11819. | #define SIZEOF_UINTPTR_T 8
  11820. | #define HAVE_SSIZE_T 1
  11821. | #define SIZEOF_SSIZE_T 8
  11822. | #define STACK_END_ADDRESS __libc_stack_end
  11823. | #define GETGROUPS_T gid_t
  11824. | #define RETSIGTYPE void
  11825. | #define HAVE_ALLOCA_H 1
  11826. | #define HAVE_ALLOCA 1
  11827. | #define HAVE_DUP2 1
  11828. | #define HAVE_MEMMOVE 1
  11829. | #define HAVE_STRERROR 1
  11830. | #define HAVE_STRCHR 1
  11831. | #define HAVE_STRSTR 1
  11832. | #define HAVE_CRYPT 1
  11833. | #define HAVE_FLOCK 1
  11834. | #define HAVE_ISNAN 1
  11835. | #define HAVE_FINITE 1
  11836. | #define HAVE_ISINF 1
  11837. | #define HAVE_HYPOT 1
  11838. | #define HAVE_ACOSH 1
  11839. | #define HAVE_ERF 1
  11840. | #define HAVE_TGAMMA 1
  11841. | #define HAVE_LGAMMA_R 1
  11842. | #define HAVE_CBRT 1
  11843. | #define HAVE_FFS 1
  11844. | /* end confdefs.h. */
  11845. | /* Define setproctitle to an innocuous variant, in case <limits.h> declares setproctitle.
  11846. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  11847. | #define setproctitle innocuous_setproctitle
  11848. |
  11849. | /* System header to define __stub macros and hopefully few prototypes,
  11850. | which can conflict with char setproctitle (); below.
  11851. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11852. | <limits.h> exists even on freestanding compilers. */
  11853. |
  11854. | #ifdef __STDC__
  11855. | # include <limits.h>
  11856. | #else
  11857. | # include <assert.h>
  11858. | #endif
  11859. |
  11860. | #undef setproctitle
  11861. |
  11862. | /* Override any GCC internal prototype to avoid an error.
  11863. | Use char because int might match the return type of a GCC
  11864. | builtin and then its argument prototype would still apply. */
  11865. | #ifdef __cplusplus
  11866. | extern "C"
  11867. | #endif
  11868. | char setproctitle ();
  11869. | /* The GNU C library defines this for functions which it implements
  11870. | to always fail with ENOSYS. Some functions are actually named
  11871. | something starting with __ and the normal name is an alias. */
  11872. | #if defined __stub_setproctitle || defined __stub___setproctitle
  11873. | choke me
  11874. | #endif
  11875. |
  11876. | int
  11877. | main ()
  11878. | {
  11879. | return setproctitle ();
  11880. | ;
  11881. | return 0;
  11882. | }
  11883. configure:14607: result: no
  11884. configure:14635: checking sys/pstat.h usability
  11885. configure:14635: gcc -c -O3 -ggdb conftest.c >&5
  11886. conftest.c:209:23: fatal error: sys/pstat.h: No such file or directory
  11887. compilation terminated.
  11888. configure:14635: $? = 1
  11889. configure: failed program was:
  11890. | /* confdefs.h */
  11891. | #define PACKAGE_NAME ""
  11892. | #define PACKAGE_TARNAME ""
  11893. | #define PACKAGE_VERSION ""
  11894. | #define PACKAGE_STRING ""
  11895. | #define PACKAGE_BUGREPORT ""
  11896. | #define PACKAGE_URL ""
  11897. | #define CANONICALIZATION_FOR_MATHN 1
  11898. | #define STDC_HEADERS 1
  11899. | #define HAVE_SYS_TYPES_H 1
  11900. | #define HAVE_SYS_STAT_H 1
  11901. | #define HAVE_STDLIB_H 1
  11902. | #define HAVE_STRING_H 1
  11903. | #define HAVE_MEMORY_H 1
  11904. | #define HAVE_STRINGS_H 1
  11905. | #define HAVE_INTTYPES_H 1
  11906. | #define HAVE_STDINT_H 1
  11907. | #define HAVE_UNISTD_H 1
  11908. | #define __EXTENSIONS__ 1
  11909. | #define _ALL_SOURCE 1
  11910. | #define _GNU_SOURCE 1
  11911. | #define _POSIX_PTHREAD_SEMANTICS 1
  11912. | #define _TANDEM_SOURCE 1
  11913. | #define HAVE_LONG_LONG 1
  11914. | #define HAVE_OFF_T 1
  11915. | #define SIZEOF_INT 4
  11916. | #define SIZEOF_SHORT 2
  11917. | #define SIZEOF_LONG 8
  11918. | #define SIZEOF_LONG_LONG 8
  11919. | #define SIZEOF___INT64 0
  11920. | #define SIZEOF_OFF_T 8
  11921. | #define SIZEOF_VOIDP 8
  11922. | #define SIZEOF_FLOAT 4
  11923. | #define SIZEOF_DOUBLE 8
  11924. | #define SIZEOF_TIME_T 8
  11925. | #define PRI_LL_PREFIX "ll"
  11926. | #define rb_pid_t pid_t
  11927. | #define PIDT2NUM(v) INT2NUM(v)
  11928. | #define NUM2PIDT(v) NUM2INT(v)
  11929. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  11930. | #define rb_uid_t uid_t
  11931. | #define UIDT2NUM(v) UINT2NUM(v)
  11932. | #define NUM2UIDT(v) NUM2UINT(v)
  11933. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  11934. | #define rb_gid_t gid_t
  11935. | #define GIDT2NUM(v) UINT2NUM(v)
  11936. | #define NUM2GIDT(v) NUM2UINT(v)
  11937. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  11938. | #define rb_time_t time_t
  11939. | #define TIMET2NUM(v) LONG2NUM(v)
  11940. | #define NUM2TIMET(v) NUM2LONG(v)
  11941. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  11942. | #define rb_dev_t dev_t
  11943. | #define DEVT2NUM(v) ULONG2NUM(v)
  11944. | #define NUM2DEVT(v) NUM2ULONG(v)
  11945. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  11946. | #define rb_mode_t mode_t
  11947. | #define MODET2NUM(v) UINT2NUM(v)
  11948. | #define NUM2MODET(v) NUM2UINT(v)
  11949. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  11950. | #define rb_rlim_t rlim_t
  11951. | #define RLIM2NUM(v) ULONG2NUM(v)
  11952. | #define NUM2RLIM(v) NUM2ULONG(v)
  11953. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  11954. | #define HAVE_PROTOTYPES 1
  11955. | #define TOKEN_PASTE(x,y) x##y
  11956. | #define STRINGIZE(expr) STRINGIZE0(expr)
  11957. | #define HAVE_STDARG_PROTOTYPES 1
  11958. | #define HAVE_VA_ARGS_MACRO 1
  11959. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11960. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11961. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11962. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11963. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11964. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11965. | #define HAVE_GCC_SYNC_BUILTINS 1
  11966. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11967. | #define HAVE_DECL_SYS_NERR 1
  11968. | #define HAVE_LIBCRYPT 1
  11969. | #define HAVE_LIBDL 1
  11970. | #define HAVE_LIBRT 1
  11971. | #define HAVE_DIRENT_H 1
  11972. | #define HAVE__BOOL 1
  11973. | #define HAVE_STDBOOL_H 1
  11974. | #define HAVE_SYS_WAIT_H 1
  11975. | #define HAVE_LIMITS_H 1
  11976. | #define HAVE_SYS_FILE_H 1
  11977. | #define HAVE_SYS_IOCTL_H 1
  11978. | #define HAVE_SYS_SYSCALL_H 1
  11979. | #define HAVE_FCNTL_H 1
  11980. | #define HAVE_SYS_FCNTL_H 1
  11981. | #define HAVE_SYS_SELECT_H 1
  11982. | #define HAVE_SYS_TIME_H 1
  11983. | #define HAVE_SYS_TIMES_H 1
  11984. | #define HAVE_SYS_PARAM_H 1
  11985. | #define HAVE_SYSCALL_H 1
  11986. | #define HAVE_PWD_H 1
  11987. | #define HAVE_GRP_H 1
  11988. | #define HAVE_A_OUT_H 1
  11989. | #define HAVE_UTIME_H 1
  11990. | #define HAVE_SYS_RESOURCE_H 1
  11991. | #define HAVE_NETINET_IN_SYSTM_H 1
  11992. | #define HAVE_FLOAT_H 1
  11993. | #define HAVE_UCONTEXT_H 1
  11994. | #define HAVE_LANGINFO_H 1
  11995. | #define HAVE_LOCALE_H 1
  11996. | #define HAVE_SYS_SENDFILE_H 1
  11997. | #define HAVE_TIME_H 1
  11998. | #define HAVE_SYS_SOCKET_H 1
  11999. | #define SIZEOF_SIZE_T 8
  12000. | #define SIZEOF_PTRDIFF_T 8
  12001. | #define PRI_SIZE_PREFIX "z"
  12002. | #define PRI_PTRDIFF_PREFIX "t"
  12003. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  12004. | #define HAVE_ST_BLKSIZE 1
  12005. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  12006. | #define HAVE_ST_BLOCKS 1
  12007. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  12008. | #define HAVE_ST_RDEV 1
  12009. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  12010. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  12011. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  12012. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  12013. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  12014. | #define HAVE_STRUCT_TIMEVAL 1
  12015. | #define HAVE_STRUCT_TIMESPEC 1
  12016. | #define HAVE_STRUCT_TIMEZONE 1
  12017. | #define HAVE_CLOCKID_T 1
  12018. | #define HAVE_RB_FD_INIT 1
  12019. | #define HAVE_INT8_T 1
  12020. | #define SIZEOF_INT8_T 1
  12021. | #define HAVE_UINT8_T 1
  12022. | #define SIZEOF_UINT8_T 1
  12023. | #define HAVE_INT16_T 1
  12024. | #define SIZEOF_INT16_T 2
  12025. | #define HAVE_UINT16_T 1
  12026. | #define SIZEOF_UINT16_T 2
  12027. | #define HAVE_INT32_T 1
  12028. | #define SIZEOF_INT32_T 4
  12029. | #define HAVE_UINT32_T 1
  12030. | #define SIZEOF_UINT32_T 4
  12031. | #define HAVE_INT64_T 1
  12032. | #define SIZEOF_INT64_T 8
  12033. | #define HAVE_UINT64_T 1
  12034. | #define SIZEOF_UINT64_T 8
  12035. | #define HAVE_INTPTR_T 1
  12036. | #define SIZEOF_INTPTR_T 8
  12037. | #define HAVE_UINTPTR_T 1
  12038. | #define SIZEOF_UINTPTR_T 8
  12039. | #define HAVE_SSIZE_T 1
  12040. | #define SIZEOF_SSIZE_T 8
  12041. | #define STACK_END_ADDRESS __libc_stack_end
  12042. | #define GETGROUPS_T gid_t
  12043. | #define RETSIGTYPE void
  12044. | #define HAVE_ALLOCA_H 1
  12045. | #define HAVE_ALLOCA 1
  12046. | #define HAVE_DUP2 1
  12047. | #define HAVE_MEMMOVE 1
  12048. | #define HAVE_STRERROR 1
  12049. | #define HAVE_STRCHR 1
  12050. | #define HAVE_STRSTR 1
  12051. | #define HAVE_CRYPT 1
  12052. | #define HAVE_FLOCK 1
  12053. | #define HAVE_ISNAN 1
  12054. | #define HAVE_FINITE 1
  12055. | #define HAVE_ISINF 1
  12056. | #define HAVE_HYPOT 1
  12057. | #define HAVE_ACOSH 1
  12058. | #define HAVE_ERF 1
  12059. | #define HAVE_TGAMMA 1
  12060. | #define HAVE_LGAMMA_R 1
  12061. | #define HAVE_CBRT 1
  12062. | #define HAVE_FFS 1
  12063. | #define SPT_TYPE SPT_REUSEARGV
  12064. | /* end confdefs.h. */
  12065. | #include <stdio.h>
  12066. | #ifdef HAVE_SYS_TYPES_H
  12067. | # include <sys/types.h>
  12068. | #endif
  12069. | #ifdef HAVE_SYS_STAT_H
  12070. | # include <sys/stat.h>
  12071. | #endif
  12072. | #ifdef STDC_HEADERS
  12073. | # include <stdlib.h>
  12074. | # include <stddef.h>
  12075. | #else
  12076. | # ifdef HAVE_STDLIB_H
  12077. | # include <stdlib.h>
  12078. | # endif
  12079. | #endif
  12080. | #ifdef HAVE_STRING_H
  12081. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12082. | # include <memory.h>
  12083. | # endif
  12084. | # include <string.h>
  12085. | #endif
  12086. | #ifdef HAVE_STRINGS_H
  12087. | # include <strings.h>
  12088. | #endif
  12089. | #ifdef HAVE_INTTYPES_H
  12090. | # include <inttypes.h>
  12091. | #endif
  12092. | #ifdef HAVE_STDINT_H
  12093. | # include <stdint.h>
  12094. | #endif
  12095. | #ifdef HAVE_UNISTD_H
  12096. | # include <unistd.h>
  12097. | #endif
  12098. | #include <sys/pstat.h>
  12099. configure:14635: result: no
  12100. configure:14635: checking sys/pstat.h presence
  12101. configure:14635: gcc -E conftest.c
  12102. conftest.c:176:23: fatal error: sys/pstat.h: No such file or directory
  12103. compilation terminated.
  12104. configure:14635: $? = 1
  12105. configure: failed program was:
  12106. | /* confdefs.h */
  12107. | #define PACKAGE_NAME ""
  12108. | #define PACKAGE_TARNAME ""
  12109. | #define PACKAGE_VERSION ""
  12110. | #define PACKAGE_STRING ""
  12111. | #define PACKAGE_BUGREPORT ""
  12112. | #define PACKAGE_URL ""
  12113. | #define CANONICALIZATION_FOR_MATHN 1
  12114. | #define STDC_HEADERS 1
  12115. | #define HAVE_SYS_TYPES_H 1
  12116. | #define HAVE_SYS_STAT_H 1
  12117. | #define HAVE_STDLIB_H 1
  12118. | #define HAVE_STRING_H 1
  12119. | #define HAVE_MEMORY_H 1
  12120. | #define HAVE_STRINGS_H 1
  12121. | #define HAVE_INTTYPES_H 1
  12122. | #define HAVE_STDINT_H 1
  12123. | #define HAVE_UNISTD_H 1
  12124. | #define __EXTENSIONS__ 1
  12125. | #define _ALL_SOURCE 1
  12126. | #define _GNU_SOURCE 1
  12127. | #define _POSIX_PTHREAD_SEMANTICS 1
  12128. | #define _TANDEM_SOURCE 1
  12129. | #define HAVE_LONG_LONG 1
  12130. | #define HAVE_OFF_T 1
  12131. | #define SIZEOF_INT 4
  12132. | #define SIZEOF_SHORT 2
  12133. | #define SIZEOF_LONG 8
  12134. | #define SIZEOF_LONG_LONG 8
  12135. | #define SIZEOF___INT64 0
  12136. | #define SIZEOF_OFF_T 8
  12137. | #define SIZEOF_VOIDP 8
  12138. | #define SIZEOF_FLOAT 4
  12139. | #define SIZEOF_DOUBLE 8
  12140. | #define SIZEOF_TIME_T 8
  12141. | #define PRI_LL_PREFIX "ll"
  12142. | #define rb_pid_t pid_t
  12143. | #define PIDT2NUM(v) INT2NUM(v)
  12144. | #define NUM2PIDT(v) NUM2INT(v)
  12145. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  12146. | #define rb_uid_t uid_t
  12147. | #define UIDT2NUM(v) UINT2NUM(v)
  12148. | #define NUM2UIDT(v) NUM2UINT(v)
  12149. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  12150. | #define rb_gid_t gid_t
  12151. | #define GIDT2NUM(v) UINT2NUM(v)
  12152. | #define NUM2GIDT(v) NUM2UINT(v)
  12153. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  12154. | #define rb_time_t time_t
  12155. | #define TIMET2NUM(v) LONG2NUM(v)
  12156. | #define NUM2TIMET(v) NUM2LONG(v)
  12157. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  12158. | #define rb_dev_t dev_t
  12159. | #define DEVT2NUM(v) ULONG2NUM(v)
  12160. | #define NUM2DEVT(v) NUM2ULONG(v)
  12161. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  12162. | #define rb_mode_t mode_t
  12163. | #define MODET2NUM(v) UINT2NUM(v)
  12164. | #define NUM2MODET(v) NUM2UINT(v)
  12165. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  12166. | #define rb_rlim_t rlim_t
  12167. | #define RLIM2NUM(v) ULONG2NUM(v)
  12168. | #define NUM2RLIM(v) NUM2ULONG(v)
  12169. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  12170. | #define HAVE_PROTOTYPES 1
  12171. | #define TOKEN_PASTE(x,y) x##y
  12172. | #define STRINGIZE(expr) STRINGIZE0(expr)
  12173. | #define HAVE_STDARG_PROTOTYPES 1
  12174. | #define HAVE_VA_ARGS_MACRO 1
  12175. | #define NORETURN(x) __attribute__ ((noreturn)) x
  12176. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  12177. | #define NOINLINE(x) __attribute__ ((noinline)) x
  12178. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  12179. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  12180. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  12181. | #define HAVE_GCC_SYNC_BUILTINS 1
  12182. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  12183. | #define HAVE_DECL_SYS_NERR 1
  12184. | #define HAVE_LIBCRYPT 1
  12185. | #define HAVE_LIBDL 1
  12186. | #define HAVE_LIBRT 1
  12187. | #define HAVE_DIRENT_H 1
  12188. | #define HAVE__BOOL 1
  12189. | #define HAVE_STDBOOL_H 1
  12190. | #define HAVE_SYS_WAIT_H 1
  12191. | #define HAVE_LIMITS_H 1
  12192. | #define HAVE_SYS_FILE_H 1
  12193. | #define HAVE_SYS_IOCTL_H 1
  12194. | #define HAVE_SYS_SYSCALL_H 1
  12195. | #define HAVE_FCNTL_H 1
  12196. | #define HAVE_SYS_FCNTL_H 1
  12197. | #define HAVE_SYS_SELECT_H 1
  12198. | #define HAVE_SYS_TIME_H 1
  12199. | #define HAVE_SYS_TIMES_H 1
  12200. | #define HAVE_SYS_PARAM_H 1
  12201. | #define HAVE_SYSCALL_H 1
  12202. | #define HAVE_PWD_H 1
  12203. | #define HAVE_GRP_H 1
  12204. | #define HAVE_A_OUT_H 1
  12205. | #define HAVE_UTIME_H 1
  12206. | #define HAVE_SYS_RESOURCE_H 1
  12207. | #define HAVE_NETINET_IN_SYSTM_H 1
  12208. | #define HAVE_FLOAT_H 1
  12209. | #define HAVE_UCONTEXT_H 1
  12210. | #define HAVE_LANGINFO_H 1
  12211. | #define HAVE_LOCALE_H 1
  12212. | #define HAVE_SYS_SENDFILE_H 1
  12213. | #define HAVE_TIME_H 1
  12214. | #define HAVE_SYS_SOCKET_H 1
  12215. | #define SIZEOF_SIZE_T 8
  12216. | #define SIZEOF_PTRDIFF_T 8
  12217. | #define PRI_SIZE_PREFIX "z"
  12218. | #define PRI_PTRDIFF_PREFIX "t"
  12219. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  12220. | #define HAVE_ST_BLKSIZE 1
  12221. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  12222. | #define HAVE_ST_BLOCKS 1
  12223. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  12224. | #define HAVE_ST_RDEV 1
  12225. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  12226. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  12227. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  12228. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  12229. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  12230. | #define HAVE_STRUCT_TIMEVAL 1
  12231. | #define HAVE_STRUCT_TIMESPEC 1
  12232. | #define HAVE_STRUCT_TIMEZONE 1
  12233. | #define HAVE_CLOCKID_T 1
  12234. | #define HAVE_RB_FD_INIT 1
  12235. | #define HAVE_INT8_T 1
  12236. | #define SIZEOF_INT8_T 1
  12237. | #define HAVE_UINT8_T 1
  12238. | #define SIZEOF_UINT8_T 1
  12239. | #define HAVE_INT16_T 1
  12240. | #define SIZEOF_INT16_T 2
  12241. | #define HAVE_UINT16_T 1
  12242. | #define SIZEOF_UINT16_T 2
  12243. | #define HAVE_INT32_T 1
  12244. | #define SIZEOF_INT32_T 4
  12245. | #define HAVE_UINT32_T 1
  12246. | #define SIZEOF_UINT32_T 4
  12247. | #define HAVE_INT64_T 1
  12248. | #define SIZEOF_INT64_T 8
  12249. | #define HAVE_UINT64_T 1
  12250. | #define SIZEOF_UINT64_T 8
  12251. | #define HAVE_INTPTR_T 1
  12252. | #define SIZEOF_INTPTR_T 8
  12253. | #define HAVE_UINTPTR_T 1
  12254. | #define SIZEOF_UINTPTR_T 8
  12255. | #define HAVE_SSIZE_T 1
  12256. | #define SIZEOF_SSIZE_T 8
  12257. | #define STACK_END_ADDRESS __libc_stack_end
  12258. | #define GETGROUPS_T gid_t
  12259. | #define RETSIGTYPE void
  12260. | #define HAVE_ALLOCA_H 1
  12261. | #define HAVE_ALLOCA 1
  12262. | #define HAVE_DUP2 1
  12263. | #define HAVE_MEMMOVE 1
  12264. | #define HAVE_STRERROR 1
  12265. | #define HAVE_STRCHR 1
  12266. | #define HAVE_STRSTR 1
  12267. | #define HAVE_CRYPT 1
  12268. | #define HAVE_FLOCK 1
  12269. | #define HAVE_ISNAN 1
  12270. | #define HAVE_FINITE 1
  12271. | #define HAVE_ISINF 1
  12272. | #define HAVE_HYPOT 1
  12273. | #define HAVE_ACOSH 1
  12274. | #define HAVE_ERF 1
  12275. | #define HAVE_TGAMMA 1
  12276. | #define HAVE_LGAMMA_R 1
  12277. | #define HAVE_CBRT 1
  12278. | #define HAVE_FFS 1
  12279. | #define SPT_TYPE SPT_REUSEARGV
  12280. | /* end confdefs.h. */
  12281. | #include <sys/pstat.h>
  12282. configure:14635: result: no
  12283. configure:14635: checking for sys/pstat.h
  12284. configure:14635: result: no
  12285. configure:14647: checking for signbit
  12286. configure:14665: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12287. configure:14665: $? = 0
  12288. configure:14673: result: yes
  12289. configure:14701: checking for fmod
  12290. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12291. conftest.c:200:6: warning: conflicting types for built-in function 'fmod'
  12292. char fmod ();
  12293. ^
  12294. configure:14701: $? = 0
  12295. configure:14701: result: yes
  12296. configure:14701: checking for killpg
  12297. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12298. configure:14701: $? = 0
  12299. configure:14701: result: yes
  12300. configure:14701: checking for wait4
  12301. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12302. configure:14701: $? = 0
  12303. configure:14701: result: yes
  12304. configure:14701: checking for waitpid
  12305. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12306. configure:14701: $? = 0
  12307. configure:14701: result: yes
  12308. configure:14701: checking for fork
  12309. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12310. conftest.c:204:6: warning: conflicting types for built-in function 'fork'
  12311. char fork ();
  12312. ^
  12313. configure:14701: $? = 0
  12314. configure:14701: result: yes
  12315. configure:14701: checking for spawnv
  12316. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12317. /tmp/ccy2ZSJh.o: In function `main':
  12318. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:216: undefined reference to `spawnv'
  12319. collect2: error: ld returned 1 exit status
  12320. configure:14701: $? = 1
  12321. configure: failed program was:
  12322. | /* confdefs.h */
  12323. | #define PACKAGE_NAME ""
  12324. | #define PACKAGE_TARNAME ""
  12325. | #define PACKAGE_VERSION ""
  12326. | #define PACKAGE_STRING ""
  12327. | #define PACKAGE_BUGREPORT ""
  12328. | #define PACKAGE_URL ""
  12329. | #define CANONICALIZATION_FOR_MATHN 1
  12330. | #define STDC_HEADERS 1
  12331. | #define HAVE_SYS_TYPES_H 1
  12332. | #define HAVE_SYS_STAT_H 1
  12333. | #define HAVE_STDLIB_H 1
  12334. | #define HAVE_STRING_H 1
  12335. | #define HAVE_MEMORY_H 1
  12336. | #define HAVE_STRINGS_H 1
  12337. | #define HAVE_INTTYPES_H 1
  12338. | #define HAVE_STDINT_H 1
  12339. | #define HAVE_UNISTD_H 1
  12340. | #define __EXTENSIONS__ 1
  12341. | #define _ALL_SOURCE 1
  12342. | #define _GNU_SOURCE 1
  12343. | #define _POSIX_PTHREAD_SEMANTICS 1
  12344. | #define _TANDEM_SOURCE 1
  12345. | #define HAVE_LONG_LONG 1
  12346. | #define HAVE_OFF_T 1
  12347. | #define SIZEOF_INT 4
  12348. | #define SIZEOF_SHORT 2
  12349. | #define SIZEOF_LONG 8
  12350. | #define SIZEOF_LONG_LONG 8
  12351. | #define SIZEOF___INT64 0
  12352. | #define SIZEOF_OFF_T 8
  12353. | #define SIZEOF_VOIDP 8
  12354. | #define SIZEOF_FLOAT 4
  12355. | #define SIZEOF_DOUBLE 8
  12356. | #define SIZEOF_TIME_T 8
  12357. | #define PRI_LL_PREFIX "ll"
  12358. | #define rb_pid_t pid_t
  12359. | #define PIDT2NUM(v) INT2NUM(v)
  12360. | #define NUM2PIDT(v) NUM2INT(v)
  12361. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  12362. | #define rb_uid_t uid_t
  12363. | #define UIDT2NUM(v) UINT2NUM(v)
  12364. | #define NUM2UIDT(v) NUM2UINT(v)
  12365. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  12366. | #define rb_gid_t gid_t
  12367. | #define GIDT2NUM(v) UINT2NUM(v)
  12368. | #define NUM2GIDT(v) NUM2UINT(v)
  12369. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  12370. | #define rb_time_t time_t
  12371. | #define TIMET2NUM(v) LONG2NUM(v)
  12372. | #define NUM2TIMET(v) NUM2LONG(v)
  12373. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  12374. | #define rb_dev_t dev_t
  12375. | #define DEVT2NUM(v) ULONG2NUM(v)
  12376. | #define NUM2DEVT(v) NUM2ULONG(v)
  12377. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  12378. | #define rb_mode_t mode_t
  12379. | #define MODET2NUM(v) UINT2NUM(v)
  12380. | #define NUM2MODET(v) NUM2UINT(v)
  12381. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  12382. | #define rb_rlim_t rlim_t
  12383. | #define RLIM2NUM(v) ULONG2NUM(v)
  12384. | #define NUM2RLIM(v) NUM2ULONG(v)
  12385. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  12386. | #define HAVE_PROTOTYPES 1
  12387. | #define TOKEN_PASTE(x,y) x##y
  12388. | #define STRINGIZE(expr) STRINGIZE0(expr)
  12389. | #define HAVE_STDARG_PROTOTYPES 1
  12390. | #define HAVE_VA_ARGS_MACRO 1
  12391. | #define NORETURN(x) __attribute__ ((noreturn)) x
  12392. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  12393. | #define NOINLINE(x) __attribute__ ((noinline)) x
  12394. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  12395. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  12396. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  12397. | #define HAVE_GCC_SYNC_BUILTINS 1
  12398. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  12399. | #define HAVE_DECL_SYS_NERR 1
  12400. | #define HAVE_LIBCRYPT 1
  12401. | #define HAVE_LIBDL 1
  12402. | #define HAVE_LIBRT 1
  12403. | #define HAVE_DIRENT_H 1
  12404. | #define HAVE__BOOL 1
  12405. | #define HAVE_STDBOOL_H 1
  12406. | #define HAVE_SYS_WAIT_H 1
  12407. | #define HAVE_LIMITS_H 1
  12408. | #define HAVE_SYS_FILE_H 1
  12409. | #define HAVE_SYS_IOCTL_H 1
  12410. | #define HAVE_SYS_SYSCALL_H 1
  12411. | #define HAVE_FCNTL_H 1
  12412. | #define HAVE_SYS_FCNTL_H 1
  12413. | #define HAVE_SYS_SELECT_H 1
  12414. | #define HAVE_SYS_TIME_H 1
  12415. | #define HAVE_SYS_TIMES_H 1
  12416. | #define HAVE_SYS_PARAM_H 1
  12417. | #define HAVE_SYSCALL_H 1
  12418. | #define HAVE_PWD_H 1
  12419. | #define HAVE_GRP_H 1
  12420. | #define HAVE_A_OUT_H 1
  12421. | #define HAVE_UTIME_H 1
  12422. | #define HAVE_SYS_RESOURCE_H 1
  12423. | #define HAVE_NETINET_IN_SYSTM_H 1
  12424. | #define HAVE_FLOAT_H 1
  12425. | #define HAVE_UCONTEXT_H 1
  12426. | #define HAVE_LANGINFO_H 1
  12427. | #define HAVE_LOCALE_H 1
  12428. | #define HAVE_SYS_SENDFILE_H 1
  12429. | #define HAVE_TIME_H 1
  12430. | #define HAVE_SYS_SOCKET_H 1
  12431. | #define SIZEOF_SIZE_T 8
  12432. | #define SIZEOF_PTRDIFF_T 8
  12433. | #define PRI_SIZE_PREFIX "z"
  12434. | #define PRI_PTRDIFF_PREFIX "t"
  12435. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  12436. | #define HAVE_ST_BLKSIZE 1
  12437. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  12438. | #define HAVE_ST_BLOCKS 1
  12439. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  12440. | #define HAVE_ST_RDEV 1
  12441. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  12442. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  12443. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  12444. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  12445. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  12446. | #define HAVE_STRUCT_TIMEVAL 1
  12447. | #define HAVE_STRUCT_TIMESPEC 1
  12448. | #define HAVE_STRUCT_TIMEZONE 1
  12449. | #define HAVE_CLOCKID_T 1
  12450. | #define HAVE_RB_FD_INIT 1
  12451. | #define HAVE_INT8_T 1
  12452. | #define SIZEOF_INT8_T 1
  12453. | #define HAVE_UINT8_T 1
  12454. | #define SIZEOF_UINT8_T 1
  12455. | #define HAVE_INT16_T 1
  12456. | #define SIZEOF_INT16_T 2
  12457. | #define HAVE_UINT16_T 1
  12458. | #define SIZEOF_UINT16_T 2
  12459. | #define HAVE_INT32_T 1
  12460. | #define SIZEOF_INT32_T 4
  12461. | #define HAVE_UINT32_T 1
  12462. | #define SIZEOF_UINT32_T 4
  12463. | #define HAVE_INT64_T 1
  12464. | #define SIZEOF_INT64_T 8
  12465. | #define HAVE_UINT64_T 1
  12466. | #define SIZEOF_UINT64_T 8
  12467. | #define HAVE_INTPTR_T 1
  12468. | #define SIZEOF_INTPTR_T 8
  12469. | #define HAVE_UINTPTR_T 1
  12470. | #define SIZEOF_UINTPTR_T 8
  12471. | #define HAVE_SSIZE_T 1
  12472. | #define SIZEOF_SSIZE_T 8
  12473. | #define STACK_END_ADDRESS __libc_stack_end
  12474. | #define GETGROUPS_T gid_t
  12475. | #define RETSIGTYPE void
  12476. | #define HAVE_ALLOCA_H 1
  12477. | #define HAVE_ALLOCA 1
  12478. | #define HAVE_DUP2 1
  12479. | #define HAVE_MEMMOVE 1
  12480. | #define HAVE_STRERROR 1
  12481. | #define HAVE_STRCHR 1
  12482. | #define HAVE_STRSTR 1
  12483. | #define HAVE_CRYPT 1
  12484. | #define HAVE_FLOCK 1
  12485. | #define HAVE_ISNAN 1
  12486. | #define HAVE_FINITE 1
  12487. | #define HAVE_ISINF 1
  12488. | #define HAVE_HYPOT 1
  12489. | #define HAVE_ACOSH 1
  12490. | #define HAVE_ERF 1
  12491. | #define HAVE_TGAMMA 1
  12492. | #define HAVE_LGAMMA_R 1
  12493. | #define HAVE_CBRT 1
  12494. | #define HAVE_FFS 1
  12495. | #define SPT_TYPE SPT_REUSEARGV
  12496. | #define HAVE_SIGNBIT 1
  12497. | #define HAVE_FMOD 1
  12498. | #define HAVE_KILLPG 1
  12499. | #define HAVE_WAIT4 1
  12500. | #define HAVE_WAITPID 1
  12501. | #define HAVE_FORK 1
  12502. | /* end confdefs.h. */
  12503. | /* Define spawnv to an innocuous variant, in case <limits.h> declares spawnv.
  12504. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  12505. | #define spawnv innocuous_spawnv
  12506. |
  12507. | /* System header to define __stub macros and hopefully few prototypes,
  12508. | which can conflict with char spawnv (); below.
  12509. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  12510. | <limits.h> exists even on freestanding compilers. */
  12511. |
  12512. | #ifdef __STDC__
  12513. | # include <limits.h>
  12514. | #else
  12515. | # include <assert.h>
  12516. | #endif
  12517. |
  12518. | #undef spawnv
  12519. |
  12520. | /* Override any GCC internal prototype to avoid an error.
  12521. | Use char because int might match the return type of a GCC
  12522. | builtin and then its argument prototype would still apply. */
  12523. | #ifdef __cplusplus
  12524. | extern "C"
  12525. | #endif
  12526. | char spawnv ();
  12527. | /* The GNU C library defines this for functions which it implements
  12528. | to always fail with ENOSYS. Some functions are actually named
  12529. | something starting with __ and the normal name is an alias. */
  12530. | #if defined __stub_spawnv || defined __stub___spawnv
  12531. | choke me
  12532. | #endif
  12533. |
  12534. | int
  12535. | main ()
  12536. | {
  12537. | return spawnv ();
  12538. | ;
  12539. | return 0;
  12540. | }
  12541. configure:14701: result: no
  12542. configure:14701: checking for syscall
  12543. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12544. configure:14701: $? = 0
  12545. configure:14701: result: yes
  12546. configure:14701: checking for __syscall
  12547. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12548. /tmp/cceADYSr.o: In function `main':
  12549. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:217: undefined reference to `__syscall'
  12550. collect2: error: ld returned 1 exit status
  12551. configure:14701: $? = 1
  12552. configure: failed program was:
  12553. | /* confdefs.h */
  12554. | #define PACKAGE_NAME ""
  12555. | #define PACKAGE_TARNAME ""
  12556. | #define PACKAGE_VERSION ""
  12557. | #define PACKAGE_STRING ""
  12558. | #define PACKAGE_BUGREPORT ""
  12559. | #define PACKAGE_URL ""
  12560. | #define CANONICALIZATION_FOR_MATHN 1
  12561. | #define STDC_HEADERS 1
  12562. | #define HAVE_SYS_TYPES_H 1
  12563. | #define HAVE_SYS_STAT_H 1
  12564. | #define HAVE_STDLIB_H 1
  12565. | #define HAVE_STRING_H 1
  12566. | #define HAVE_MEMORY_H 1
  12567. | #define HAVE_STRINGS_H 1
  12568. | #define HAVE_INTTYPES_H 1
  12569. | #define HAVE_STDINT_H 1
  12570. | #define HAVE_UNISTD_H 1
  12571. | #define __EXTENSIONS__ 1
  12572. | #define _ALL_SOURCE 1
  12573. | #define _GNU_SOURCE 1
  12574. | #define _POSIX_PTHREAD_SEMANTICS 1
  12575. | #define _TANDEM_SOURCE 1
  12576. | #define HAVE_LONG_LONG 1
  12577. | #define HAVE_OFF_T 1
  12578. | #define SIZEOF_INT 4
  12579. | #define SIZEOF_SHORT 2
  12580. | #define SIZEOF_LONG 8
  12581. | #define SIZEOF_LONG_LONG 8
  12582. | #define SIZEOF___INT64 0
  12583. | #define SIZEOF_OFF_T 8
  12584. | #define SIZEOF_VOIDP 8
  12585. | #define SIZEOF_FLOAT 4
  12586. | #define SIZEOF_DOUBLE 8
  12587. | #define SIZEOF_TIME_T 8
  12588. | #define PRI_LL_PREFIX "ll"
  12589. | #define rb_pid_t pid_t
  12590. | #define PIDT2NUM(v) INT2NUM(v)
  12591. | #define NUM2PIDT(v) NUM2INT(v)
  12592. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  12593. | #define rb_uid_t uid_t
  12594. | #define UIDT2NUM(v) UINT2NUM(v)
  12595. | #define NUM2UIDT(v) NUM2UINT(v)
  12596. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  12597. | #define rb_gid_t gid_t
  12598. | #define GIDT2NUM(v) UINT2NUM(v)
  12599. | #define NUM2GIDT(v) NUM2UINT(v)
  12600. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  12601. | #define rb_time_t time_t
  12602. | #define TIMET2NUM(v) LONG2NUM(v)
  12603. | #define NUM2TIMET(v) NUM2LONG(v)
  12604. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  12605. | #define rb_dev_t dev_t
  12606. | #define DEVT2NUM(v) ULONG2NUM(v)
  12607. | #define NUM2DEVT(v) NUM2ULONG(v)
  12608. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  12609. | #define rb_mode_t mode_t
  12610. | #define MODET2NUM(v) UINT2NUM(v)
  12611. | #define NUM2MODET(v) NUM2UINT(v)
  12612. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  12613. | #define rb_rlim_t rlim_t
  12614. | #define RLIM2NUM(v) ULONG2NUM(v)
  12615. | #define NUM2RLIM(v) NUM2ULONG(v)
  12616. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  12617. | #define HAVE_PROTOTYPES 1
  12618. | #define TOKEN_PASTE(x,y) x##y
  12619. | #define STRINGIZE(expr) STRINGIZE0(expr)
  12620. | #define HAVE_STDARG_PROTOTYPES 1
  12621. | #define HAVE_VA_ARGS_MACRO 1
  12622. | #define NORETURN(x) __attribute__ ((noreturn)) x
  12623. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  12624. | #define NOINLINE(x) __attribute__ ((noinline)) x
  12625. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  12626. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  12627. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  12628. | #define HAVE_GCC_SYNC_BUILTINS 1
  12629. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  12630. | #define HAVE_DECL_SYS_NERR 1
  12631. | #define HAVE_LIBCRYPT 1
  12632. | #define HAVE_LIBDL 1
  12633. | #define HAVE_LIBRT 1
  12634. | #define HAVE_DIRENT_H 1
  12635. | #define HAVE__BOOL 1
  12636. | #define HAVE_STDBOOL_H 1
  12637. | #define HAVE_SYS_WAIT_H 1
  12638. | #define HAVE_LIMITS_H 1
  12639. | #define HAVE_SYS_FILE_H 1
  12640. | #define HAVE_SYS_IOCTL_H 1
  12641. | #define HAVE_SYS_SYSCALL_H 1
  12642. | #define HAVE_FCNTL_H 1
  12643. | #define HAVE_SYS_FCNTL_H 1
  12644. | #define HAVE_SYS_SELECT_H 1
  12645. | #define HAVE_SYS_TIME_H 1
  12646. | #define HAVE_SYS_TIMES_H 1
  12647. | #define HAVE_SYS_PARAM_H 1
  12648. | #define HAVE_SYSCALL_H 1
  12649. | #define HAVE_PWD_H 1
  12650. | #define HAVE_GRP_H 1
  12651. | #define HAVE_A_OUT_H 1
  12652. | #define HAVE_UTIME_H 1
  12653. | #define HAVE_SYS_RESOURCE_H 1
  12654. | #define HAVE_NETINET_IN_SYSTM_H 1
  12655. | #define HAVE_FLOAT_H 1
  12656. | #define HAVE_UCONTEXT_H 1
  12657. | #define HAVE_LANGINFO_H 1
  12658. | #define HAVE_LOCALE_H 1
  12659. | #define HAVE_SYS_SENDFILE_H 1
  12660. | #define HAVE_TIME_H 1
  12661. | #define HAVE_SYS_SOCKET_H 1
  12662. | #define SIZEOF_SIZE_T 8
  12663. | #define SIZEOF_PTRDIFF_T 8
  12664. | #define PRI_SIZE_PREFIX "z"
  12665. | #define PRI_PTRDIFF_PREFIX "t"
  12666. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  12667. | #define HAVE_ST_BLKSIZE 1
  12668. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  12669. | #define HAVE_ST_BLOCKS 1
  12670. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  12671. | #define HAVE_ST_RDEV 1
  12672. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  12673. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  12674. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  12675. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  12676. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  12677. | #define HAVE_STRUCT_TIMEVAL 1
  12678. | #define HAVE_STRUCT_TIMESPEC 1
  12679. | #define HAVE_STRUCT_TIMEZONE 1
  12680. | #define HAVE_CLOCKID_T 1
  12681. | #define HAVE_RB_FD_INIT 1
  12682. | #define HAVE_INT8_T 1
  12683. | #define SIZEOF_INT8_T 1
  12684. | #define HAVE_UINT8_T 1
  12685. | #define SIZEOF_UINT8_T 1
  12686. | #define HAVE_INT16_T 1
  12687. | #define SIZEOF_INT16_T 2
  12688. | #define HAVE_UINT16_T 1
  12689. | #define SIZEOF_UINT16_T 2
  12690. | #define HAVE_INT32_T 1
  12691. | #define SIZEOF_INT32_T 4
  12692. | #define HAVE_UINT32_T 1
  12693. | #define SIZEOF_UINT32_T 4
  12694. | #define HAVE_INT64_T 1
  12695. | #define SIZEOF_INT64_T 8
  12696. | #define HAVE_UINT64_T 1
  12697. | #define SIZEOF_UINT64_T 8
  12698. | #define HAVE_INTPTR_T 1
  12699. | #define SIZEOF_INTPTR_T 8
  12700. | #define HAVE_UINTPTR_T 1
  12701. | #define SIZEOF_UINTPTR_T 8
  12702. | #define HAVE_SSIZE_T 1
  12703. | #define SIZEOF_SSIZE_T 8
  12704. | #define STACK_END_ADDRESS __libc_stack_end
  12705. | #define GETGROUPS_T gid_t
  12706. | #define RETSIGTYPE void
  12707. | #define HAVE_ALLOCA_H 1
  12708. | #define HAVE_ALLOCA 1
  12709. | #define HAVE_DUP2 1
  12710. | #define HAVE_MEMMOVE 1
  12711. | #define HAVE_STRERROR 1
  12712. | #define HAVE_STRCHR 1
  12713. | #define HAVE_STRSTR 1
  12714. | #define HAVE_CRYPT 1
  12715. | #define HAVE_FLOCK 1
  12716. | #define HAVE_ISNAN 1
  12717. | #define HAVE_FINITE 1
  12718. | #define HAVE_ISINF 1
  12719. | #define HAVE_HYPOT 1
  12720. | #define HAVE_ACOSH 1
  12721. | #define HAVE_ERF 1
  12722. | #define HAVE_TGAMMA 1
  12723. | #define HAVE_LGAMMA_R 1
  12724. | #define HAVE_CBRT 1
  12725. | #define HAVE_FFS 1
  12726. | #define SPT_TYPE SPT_REUSEARGV
  12727. | #define HAVE_SIGNBIT 1
  12728. | #define HAVE_FMOD 1
  12729. | #define HAVE_KILLPG 1
  12730. | #define HAVE_WAIT4 1
  12731. | #define HAVE_WAITPID 1
  12732. | #define HAVE_FORK 1
  12733. | #define HAVE_SYSCALL 1
  12734. | /* end confdefs.h. */
  12735. | /* Define __syscall to an innocuous variant, in case <limits.h> declares __syscall.
  12736. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  12737. | #define __syscall innocuous___syscall
  12738. |
  12739. | /* System header to define __stub macros and hopefully few prototypes,
  12740. | which can conflict with char __syscall (); below.
  12741. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  12742. | <limits.h> exists even on freestanding compilers. */
  12743. |
  12744. | #ifdef __STDC__
  12745. | # include <limits.h>
  12746. | #else
  12747. | # include <assert.h>
  12748. | #endif
  12749. |
  12750. | #undef __syscall
  12751. |
  12752. | /* Override any GCC internal prototype to avoid an error.
  12753. | Use char because int might match the return type of a GCC
  12754. | builtin and then its argument prototype would still apply. */
  12755. | #ifdef __cplusplus
  12756. | extern "C"
  12757. | #endif
  12758. | char __syscall ();
  12759. | /* The GNU C library defines this for functions which it implements
  12760. | to always fail with ENOSYS. Some functions are actually named
  12761. | something starting with __ and the normal name is an alias. */
  12762. | #if defined __stub___syscall || defined __stub_____syscall
  12763. | choke me
  12764. | #endif
  12765. |
  12766. | int
  12767. | main ()
  12768. | {
  12769. | return __syscall ();
  12770. | ;
  12771. | return 0;
  12772. | }
  12773. configure:14701: result: no
  12774. configure:14701: checking for chroot
  12775. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12776. configure:14701: $? = 0
  12777. configure:14701: result: yes
  12778. configure:14701: checking for getcwd
  12779. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12780. configure:14701: $? = 0
  12781. configure:14701: result: yes
  12782. configure:14701: checking for eaccess
  12783. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12784. configure:14701: $? = 0
  12785. configure:14701: result: yes
  12786. configure:14701: checking for truncate
  12787. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12788. configure:14701: $? = 0
  12789. configure:14701: result: yes
  12790. configure:14701: checking for ftruncate
  12791. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12792. configure:14701: $? = 0
  12793. configure:14701: result: yes
  12794. configure:14701: checking for ftello
  12795. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12796. configure:14701: $? = 0
  12797. configure:14701: result: yes
  12798. configure:14701: checking for chsize
  12799. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  12800. /tmp/cc97TVjV.o: In function `main':
  12801. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:223: undefined reference to `chsize'
  12802. collect2: error: ld returned 1 exit status
  12803. configure:14701: $? = 1
  12804. configure: failed program was:
  12805. | /* confdefs.h */
  12806. | #define PACKAGE_NAME ""
  12807. | #define PACKAGE_TARNAME ""
  12808. | #define PACKAGE_VERSION ""
  12809. | #define PACKAGE_STRING ""
  12810. | #define PACKAGE_BUGREPORT ""
  12811. | #define PACKAGE_URL ""
  12812. | #define CANONICALIZATION_FOR_MATHN 1
  12813. | #define STDC_HEADERS 1
  12814. | #define HAVE_SYS_TYPES_H 1
  12815. | #define HAVE_SYS_STAT_H 1
  12816. | #define HAVE_STDLIB_H 1
  12817. | #define HAVE_STRING_H 1
  12818. | #define HAVE_MEMORY_H 1
  12819. | #define HAVE_STRINGS_H 1
  12820. | #define HAVE_INTTYPES_H 1
  12821. | #define HAVE_STDINT_H 1
  12822. | #define HAVE_UNISTD_H 1
  12823. | #define __EXTENSIONS__ 1
  12824. | #define _ALL_SOURCE 1
  12825. | #define _GNU_SOURCE 1
  12826. | #define _POSIX_PTHREAD_SEMANTICS 1
  12827. | #define _TANDEM_SOURCE 1
  12828. | #define HAVE_LONG_LONG 1
  12829. | #define HAVE_OFF_T 1
  12830. | #define SIZEOF_INT 4
  12831. | #define SIZEOF_SHORT 2
  12832. | #define SIZEOF_LONG 8
  12833. | #define SIZEOF_LONG_LONG 8
  12834. | #define SIZEOF___INT64 0
  12835. | #define SIZEOF_OFF_T 8
  12836. | #define SIZEOF_VOIDP 8
  12837. | #define SIZEOF_FLOAT 4
  12838. | #define SIZEOF_DOUBLE 8
  12839. | #define SIZEOF_TIME_T 8
  12840. | #define PRI_LL_PREFIX "ll"
  12841. | #define rb_pid_t pid_t
  12842. | #define PIDT2NUM(v) INT2NUM(v)
  12843. | #define NUM2PIDT(v) NUM2INT(v)
  12844. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  12845. | #define rb_uid_t uid_t
  12846. | #define UIDT2NUM(v) UINT2NUM(v)
  12847. | #define NUM2UIDT(v) NUM2UINT(v)
  12848. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  12849. | #define rb_gid_t gid_t
  12850. | #define GIDT2NUM(v) UINT2NUM(v)
  12851. | #define NUM2GIDT(v) NUM2UINT(v)
  12852. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  12853. | #define rb_time_t time_t
  12854. | #define TIMET2NUM(v) LONG2NUM(v)
  12855. | #define NUM2TIMET(v) NUM2LONG(v)
  12856. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  12857. | #define rb_dev_t dev_t
  12858. | #define DEVT2NUM(v) ULONG2NUM(v)
  12859. | #define NUM2DEVT(v) NUM2ULONG(v)
  12860. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  12861. | #define rb_mode_t mode_t
  12862. | #define MODET2NUM(v) UINT2NUM(v)
  12863. | #define NUM2MODET(v) NUM2UINT(v)
  12864. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  12865. | #define rb_rlim_t rlim_t
  12866. | #define RLIM2NUM(v) ULONG2NUM(v)
  12867. | #define NUM2RLIM(v) NUM2ULONG(v)
  12868. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  12869. | #define HAVE_PROTOTYPES 1
  12870. | #define TOKEN_PASTE(x,y) x##y
  12871. | #define STRINGIZE(expr) STRINGIZE0(expr)
  12872. | #define HAVE_STDARG_PROTOTYPES 1
  12873. | #define HAVE_VA_ARGS_MACRO 1
  12874. | #define NORETURN(x) __attribute__ ((noreturn)) x
  12875. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  12876. | #define NOINLINE(x) __attribute__ ((noinline)) x
  12877. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  12878. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  12879. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  12880. | #define HAVE_GCC_SYNC_BUILTINS 1
  12881. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  12882. | #define HAVE_DECL_SYS_NERR 1
  12883. | #define HAVE_LIBCRYPT 1
  12884. | #define HAVE_LIBDL 1
  12885. | #define HAVE_LIBRT 1
  12886. | #define HAVE_DIRENT_H 1
  12887. | #define HAVE__BOOL 1
  12888. | #define HAVE_STDBOOL_H 1
  12889. | #define HAVE_SYS_WAIT_H 1
  12890. | #define HAVE_LIMITS_H 1
  12891. | #define HAVE_SYS_FILE_H 1
  12892. | #define HAVE_SYS_IOCTL_H 1
  12893. | #define HAVE_SYS_SYSCALL_H 1
  12894. | #define HAVE_FCNTL_H 1
  12895. | #define HAVE_SYS_FCNTL_H 1
  12896. | #define HAVE_SYS_SELECT_H 1
  12897. | #define HAVE_SYS_TIME_H 1
  12898. | #define HAVE_SYS_TIMES_H 1
  12899. | #define HAVE_SYS_PARAM_H 1
  12900. | #define HAVE_SYSCALL_H 1
  12901. | #define HAVE_PWD_H 1
  12902. | #define HAVE_GRP_H 1
  12903. | #define HAVE_A_OUT_H 1
  12904. | #define HAVE_UTIME_H 1
  12905. | #define HAVE_SYS_RESOURCE_H 1
  12906. | #define HAVE_NETINET_IN_SYSTM_H 1
  12907. | #define HAVE_FLOAT_H 1
  12908. | #define HAVE_UCONTEXT_H 1
  12909. | #define HAVE_LANGINFO_H 1
  12910. | #define HAVE_LOCALE_H 1
  12911. | #define HAVE_SYS_SENDFILE_H 1
  12912. | #define HAVE_TIME_H 1
  12913. | #define HAVE_SYS_SOCKET_H 1
  12914. | #define SIZEOF_SIZE_T 8
  12915. | #define SIZEOF_PTRDIFF_T 8
  12916. | #define PRI_SIZE_PREFIX "z"
  12917. | #define PRI_PTRDIFF_PREFIX "t"
  12918. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  12919. | #define HAVE_ST_BLKSIZE 1
  12920. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  12921. | #define HAVE_ST_BLOCKS 1
  12922. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  12923. | #define HAVE_ST_RDEV 1
  12924. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  12925. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  12926. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  12927. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  12928. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  12929. | #define HAVE_STRUCT_TIMEVAL 1
  12930. | #define HAVE_STRUCT_TIMESPEC 1
  12931. | #define HAVE_STRUCT_TIMEZONE 1
  12932. | #define HAVE_CLOCKID_T 1
  12933. | #define HAVE_RB_FD_INIT 1
  12934. | #define HAVE_INT8_T 1
  12935. | #define SIZEOF_INT8_T 1
  12936. | #define HAVE_UINT8_T 1
  12937. | #define SIZEOF_UINT8_T 1
  12938. | #define HAVE_INT16_T 1
  12939. | #define SIZEOF_INT16_T 2
  12940. | #define HAVE_UINT16_T 1
  12941. | #define SIZEOF_UINT16_T 2
  12942. | #define HAVE_INT32_T 1
  12943. | #define SIZEOF_INT32_T 4
  12944. | #define HAVE_UINT32_T 1
  12945. | #define SIZEOF_UINT32_T 4
  12946. | #define HAVE_INT64_T 1
  12947. | #define SIZEOF_INT64_T 8
  12948. | #define HAVE_UINT64_T 1
  12949. | #define SIZEOF_UINT64_T 8
  12950. | #define HAVE_INTPTR_T 1
  12951. | #define SIZEOF_INTPTR_T 8
  12952. | #define HAVE_UINTPTR_T 1
  12953. | #define SIZEOF_UINTPTR_T 8
  12954. | #define HAVE_SSIZE_T 1
  12955. | #define SIZEOF_SSIZE_T 8
  12956. | #define STACK_END_ADDRESS __libc_stack_end
  12957. | #define GETGROUPS_T gid_t
  12958. | #define RETSIGTYPE void
  12959. | #define HAVE_ALLOCA_H 1
  12960. | #define HAVE_ALLOCA 1
  12961. | #define HAVE_DUP2 1
  12962. | #define HAVE_MEMMOVE 1
  12963. | #define HAVE_STRERROR 1
  12964. | #define HAVE_STRCHR 1
  12965. | #define HAVE_STRSTR 1
  12966. | #define HAVE_CRYPT 1
  12967. | #define HAVE_FLOCK 1
  12968. | #define HAVE_ISNAN 1
  12969. | #define HAVE_FINITE 1
  12970. | #define HAVE_ISINF 1
  12971. | #define HAVE_HYPOT 1
  12972. | #define HAVE_ACOSH 1
  12973. | #define HAVE_ERF 1
  12974. | #define HAVE_TGAMMA 1
  12975. | #define HAVE_LGAMMA_R 1
  12976. | #define HAVE_CBRT 1
  12977. | #define HAVE_FFS 1
  12978. | #define SPT_TYPE SPT_REUSEARGV
  12979. | #define HAVE_SIGNBIT 1
  12980. | #define HAVE_FMOD 1
  12981. | #define HAVE_KILLPG 1
  12982. | #define HAVE_WAIT4 1
  12983. | #define HAVE_WAITPID 1
  12984. | #define HAVE_FORK 1
  12985. | #define HAVE_SYSCALL 1
  12986. | #define HAVE_CHROOT 1
  12987. | #define HAVE_GETCWD 1
  12988. | #define HAVE_EACCESS 1
  12989. | #define HAVE_TRUNCATE 1
  12990. | #define HAVE_FTRUNCATE 1
  12991. | #define HAVE_FTELLO 1
  12992. | /* end confdefs.h. */
  12993. | /* Define chsize to an innocuous variant, in case <limits.h> declares chsize.
  12994. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  12995. | #define chsize innocuous_chsize
  12996. |
  12997. | /* System header to define __stub macros and hopefully few prototypes,
  12998. | which can conflict with char chsize (); below.
  12999. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  13000. | <limits.h> exists even on freestanding compilers. */
  13001. |
  13002. | #ifdef __STDC__
  13003. | # include <limits.h>
  13004. | #else
  13005. | # include <assert.h>
  13006. | #endif
  13007. |
  13008. | #undef chsize
  13009. |
  13010. | /* Override any GCC internal prototype to avoid an error.
  13011. | Use char because int might match the return type of a GCC
  13012. | builtin and then its argument prototype would still apply. */
  13013. | #ifdef __cplusplus
  13014. | extern "C"
  13015. | #endif
  13016. | char chsize ();
  13017. | /* The GNU C library defines this for functions which it implements
  13018. | to always fail with ENOSYS. Some functions are actually named
  13019. | something starting with __ and the normal name is an alias. */
  13020. | #if defined __stub_chsize || defined __stub___chsize
  13021. | choke me
  13022. | #endif
  13023. |
  13024. | int
  13025. | main ()
  13026. | {
  13027. | return chsize ();
  13028. | ;
  13029. | return 0;
  13030. | }
  13031. configure:14701: result: no
  13032. configure:14701: checking for times
  13033. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13034. configure:14701: $? = 0
  13035. configure:14701: result: yes
  13036. configure:14701: checking for utimes
  13037. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13038. configure:14701: $? = 0
  13039. configure:14701: result: yes
  13040. configure:14701: checking for utimensat
  13041. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13042. configure:14701: $? = 0
  13043. configure:14701: result: yes
  13044. configure:14701: checking for fcntl
  13045. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13046. configure:14701: $? = 0
  13047. configure:14701: result: yes
  13048. configure:14701: checking for lockf
  13049. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13050. configure:14701: $? = 0
  13051. configure:14701: result: yes
  13052. configure:14701: checking for lstat
  13053. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13054. configure:14701: $? = 0
  13055. configure:14701: result: yes
  13056. configure:14701: checking for truncate64
  13057. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13058. configure:14701: $? = 0
  13059. configure:14701: result: yes
  13060. configure:14701: checking for ftruncate64
  13061. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13062. configure:14701: $? = 0
  13063. configure:14701: result: yes
  13064. configure:14701: checking for ftello64
  13065. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13066. configure:14701: $? = 0
  13067. configure:14701: result: yes
  13068. configure:14701: checking for fseeko
  13069. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13070. configure:14701: $? = 0
  13071. configure:14701: result: yes
  13072. configure:14701: checking for fseeko64
  13073. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13074. configure:14701: $? = 0
  13075. configure:14701: result: yes
  13076. configure:14701: checking for link
  13077. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13078. configure:14701: $? = 0
  13079. configure:14701: result: yes
  13080. configure:14701: checking for symlink
  13081. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13082. configure:14701: $? = 0
  13083. configure:14701: result: yes
  13084. configure:14701: checking for readlink
  13085. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13086. configure:14701: $? = 0
  13087. configure:14701: result: yes
  13088. configure:14701: checking for readdir_r
  13089. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13090. configure:14701: $? = 0
  13091. configure:14701: result: yes
  13092. configure:14701: checking for fsync
  13093. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13094. configure:14701: $? = 0
  13095. configure:14701: result: yes
  13096. configure:14701: checking for fdatasync
  13097. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13098. configure:14701: $? = 0
  13099. configure:14701: result: yes
  13100. configure:14701: checking for fchown
  13101. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13102. configure:14701: $? = 0
  13103. configure:14701: result: yes
  13104. configure:14701: checking for posix_fadvise
  13105. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13106. configure:14701: $? = 0
  13107. configure:14701: result: yes
  13108. configure:14701: checking for setitimer
  13109. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13110. configure:14701: $? = 0
  13111. configure:14701: result: yes
  13112. configure:14701: checking for setruid
  13113. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13114. /tmp/ccmBFE2l.o: In function `main':
  13115. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:243: undefined reference to `setruid'
  13116. collect2: error: ld returned 1 exit status
  13117. configure:14701: $? = 1
  13118. configure: failed program was:
  13119. | /* confdefs.h */
  13120. | #define PACKAGE_NAME ""
  13121. | #define PACKAGE_TARNAME ""
  13122. | #define PACKAGE_VERSION ""
  13123. | #define PACKAGE_STRING ""
  13124. | #define PACKAGE_BUGREPORT ""
  13125. | #define PACKAGE_URL ""
  13126. | #define CANONICALIZATION_FOR_MATHN 1
  13127. | #define STDC_HEADERS 1
  13128. | #define HAVE_SYS_TYPES_H 1
  13129. | #define HAVE_SYS_STAT_H 1
  13130. | #define HAVE_STDLIB_H 1
  13131. | #define HAVE_STRING_H 1
  13132. | #define HAVE_MEMORY_H 1
  13133. | #define HAVE_STRINGS_H 1
  13134. | #define HAVE_INTTYPES_H 1
  13135. | #define HAVE_STDINT_H 1
  13136. | #define HAVE_UNISTD_H 1
  13137. | #define __EXTENSIONS__ 1
  13138. | #define _ALL_SOURCE 1
  13139. | #define _GNU_SOURCE 1
  13140. | #define _POSIX_PTHREAD_SEMANTICS 1
  13141. | #define _TANDEM_SOURCE 1
  13142. | #define HAVE_LONG_LONG 1
  13143. | #define HAVE_OFF_T 1
  13144. | #define SIZEOF_INT 4
  13145. | #define SIZEOF_SHORT 2
  13146. | #define SIZEOF_LONG 8
  13147. | #define SIZEOF_LONG_LONG 8
  13148. | #define SIZEOF___INT64 0
  13149. | #define SIZEOF_OFF_T 8
  13150. | #define SIZEOF_VOIDP 8
  13151. | #define SIZEOF_FLOAT 4
  13152. | #define SIZEOF_DOUBLE 8
  13153. | #define SIZEOF_TIME_T 8
  13154. | #define PRI_LL_PREFIX "ll"
  13155. | #define rb_pid_t pid_t
  13156. | #define PIDT2NUM(v) INT2NUM(v)
  13157. | #define NUM2PIDT(v) NUM2INT(v)
  13158. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  13159. | #define rb_uid_t uid_t
  13160. | #define UIDT2NUM(v) UINT2NUM(v)
  13161. | #define NUM2UIDT(v) NUM2UINT(v)
  13162. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  13163. | #define rb_gid_t gid_t
  13164. | #define GIDT2NUM(v) UINT2NUM(v)
  13165. | #define NUM2GIDT(v) NUM2UINT(v)
  13166. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  13167. | #define rb_time_t time_t
  13168. | #define TIMET2NUM(v) LONG2NUM(v)
  13169. | #define NUM2TIMET(v) NUM2LONG(v)
  13170. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  13171. | #define rb_dev_t dev_t
  13172. | #define DEVT2NUM(v) ULONG2NUM(v)
  13173. | #define NUM2DEVT(v) NUM2ULONG(v)
  13174. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  13175. | #define rb_mode_t mode_t
  13176. | #define MODET2NUM(v) UINT2NUM(v)
  13177. | #define NUM2MODET(v) NUM2UINT(v)
  13178. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  13179. | #define rb_rlim_t rlim_t
  13180. | #define RLIM2NUM(v) ULONG2NUM(v)
  13181. | #define NUM2RLIM(v) NUM2ULONG(v)
  13182. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  13183. | #define HAVE_PROTOTYPES 1
  13184. | #define TOKEN_PASTE(x,y) x##y
  13185. | #define STRINGIZE(expr) STRINGIZE0(expr)
  13186. | #define HAVE_STDARG_PROTOTYPES 1
  13187. | #define HAVE_VA_ARGS_MACRO 1
  13188. | #define NORETURN(x) __attribute__ ((noreturn)) x
  13189. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  13190. | #define NOINLINE(x) __attribute__ ((noinline)) x
  13191. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  13192. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  13193. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  13194. | #define HAVE_GCC_SYNC_BUILTINS 1
  13195. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  13196. | #define HAVE_DECL_SYS_NERR 1
  13197. | #define HAVE_LIBCRYPT 1
  13198. | #define HAVE_LIBDL 1
  13199. | #define HAVE_LIBRT 1
  13200. | #define HAVE_DIRENT_H 1
  13201. | #define HAVE__BOOL 1
  13202. | #define HAVE_STDBOOL_H 1
  13203. | #define HAVE_SYS_WAIT_H 1
  13204. | #define HAVE_LIMITS_H 1
  13205. | #define HAVE_SYS_FILE_H 1
  13206. | #define HAVE_SYS_IOCTL_H 1
  13207. | #define HAVE_SYS_SYSCALL_H 1
  13208. | #define HAVE_FCNTL_H 1
  13209. | #define HAVE_SYS_FCNTL_H 1
  13210. | #define HAVE_SYS_SELECT_H 1
  13211. | #define HAVE_SYS_TIME_H 1
  13212. | #define HAVE_SYS_TIMES_H 1
  13213. | #define HAVE_SYS_PARAM_H 1
  13214. | #define HAVE_SYSCALL_H 1
  13215. | #define HAVE_PWD_H 1
  13216. | #define HAVE_GRP_H 1
  13217. | #define HAVE_A_OUT_H 1
  13218. | #define HAVE_UTIME_H 1
  13219. | #define HAVE_SYS_RESOURCE_H 1
  13220. | #define HAVE_NETINET_IN_SYSTM_H 1
  13221. | #define HAVE_FLOAT_H 1
  13222. | #define HAVE_UCONTEXT_H 1
  13223. | #define HAVE_LANGINFO_H 1
  13224. | #define HAVE_LOCALE_H 1
  13225. | #define HAVE_SYS_SENDFILE_H 1
  13226. | #define HAVE_TIME_H 1
  13227. | #define HAVE_SYS_SOCKET_H 1
  13228. | #define SIZEOF_SIZE_T 8
  13229. | #define SIZEOF_PTRDIFF_T 8
  13230. | #define PRI_SIZE_PREFIX "z"
  13231. | #define PRI_PTRDIFF_PREFIX "t"
  13232. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  13233. | #define HAVE_ST_BLKSIZE 1
  13234. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  13235. | #define HAVE_ST_BLOCKS 1
  13236. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  13237. | #define HAVE_ST_RDEV 1
  13238. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  13239. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  13240. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  13241. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  13242. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  13243. | #define HAVE_STRUCT_TIMEVAL 1
  13244. | #define HAVE_STRUCT_TIMESPEC 1
  13245. | #define HAVE_STRUCT_TIMEZONE 1
  13246. | #define HAVE_CLOCKID_T 1
  13247. | #define HAVE_RB_FD_INIT 1
  13248. | #define HAVE_INT8_T 1
  13249. | #define SIZEOF_INT8_T 1
  13250. | #define HAVE_UINT8_T 1
  13251. | #define SIZEOF_UINT8_T 1
  13252. | #define HAVE_INT16_T 1
  13253. | #define SIZEOF_INT16_T 2
  13254. | #define HAVE_UINT16_T 1
  13255. | #define SIZEOF_UINT16_T 2
  13256. | #define HAVE_INT32_T 1
  13257. | #define SIZEOF_INT32_T 4
  13258. | #define HAVE_UINT32_T 1
  13259. | #define SIZEOF_UINT32_T 4
  13260. | #define HAVE_INT64_T 1
  13261. | #define SIZEOF_INT64_T 8
  13262. | #define HAVE_UINT64_T 1
  13263. | #define SIZEOF_UINT64_T 8
  13264. | #define HAVE_INTPTR_T 1
  13265. | #define SIZEOF_INTPTR_T 8
  13266. | #define HAVE_UINTPTR_T 1
  13267. | #define SIZEOF_UINTPTR_T 8
  13268. | #define HAVE_SSIZE_T 1
  13269. | #define SIZEOF_SSIZE_T 8
  13270. | #define STACK_END_ADDRESS __libc_stack_end
  13271. | #define GETGROUPS_T gid_t
  13272. | #define RETSIGTYPE void
  13273. | #define HAVE_ALLOCA_H 1
  13274. | #define HAVE_ALLOCA 1
  13275. | #define HAVE_DUP2 1
  13276. | #define HAVE_MEMMOVE 1
  13277. | #define HAVE_STRERROR 1
  13278. | #define HAVE_STRCHR 1
  13279. | #define HAVE_STRSTR 1
  13280. | #define HAVE_CRYPT 1
  13281. | #define HAVE_FLOCK 1
  13282. | #define HAVE_ISNAN 1
  13283. | #define HAVE_FINITE 1
  13284. | #define HAVE_ISINF 1
  13285. | #define HAVE_HYPOT 1
  13286. | #define HAVE_ACOSH 1
  13287. | #define HAVE_ERF 1
  13288. | #define HAVE_TGAMMA 1
  13289. | #define HAVE_LGAMMA_R 1
  13290. | #define HAVE_CBRT 1
  13291. | #define HAVE_FFS 1
  13292. | #define SPT_TYPE SPT_REUSEARGV
  13293. | #define HAVE_SIGNBIT 1
  13294. | #define HAVE_FMOD 1
  13295. | #define HAVE_KILLPG 1
  13296. | #define HAVE_WAIT4 1
  13297. | #define HAVE_WAITPID 1
  13298. | #define HAVE_FORK 1
  13299. | #define HAVE_SYSCALL 1
  13300. | #define HAVE_CHROOT 1
  13301. | #define HAVE_GETCWD 1
  13302. | #define HAVE_EACCESS 1
  13303. | #define HAVE_TRUNCATE 1
  13304. | #define HAVE_FTRUNCATE 1
  13305. | #define HAVE_FTELLO 1
  13306. | #define HAVE_TIMES 1
  13307. | #define HAVE_UTIMES 1
  13308. | #define HAVE_UTIMENSAT 1
  13309. | #define HAVE_FCNTL 1
  13310. | #define HAVE_LOCKF 1
  13311. | #define HAVE_LSTAT 1
  13312. | #define HAVE_TRUNCATE64 1
  13313. | #define HAVE_FTRUNCATE64 1
  13314. | #define HAVE_FTELLO64 1
  13315. | #define HAVE_FSEEKO 1
  13316. | #define HAVE_FSEEKO64 1
  13317. | #define HAVE_LINK 1
  13318. | #define HAVE_SYMLINK 1
  13319. | #define HAVE_READLINK 1
  13320. | #define HAVE_READDIR_R 1
  13321. | #define HAVE_FSYNC 1
  13322. | #define HAVE_FDATASYNC 1
  13323. | #define HAVE_FCHOWN 1
  13324. | #define HAVE_POSIX_FADVISE 1
  13325. | #define HAVE_SETITIMER 1
  13326. | /* end confdefs.h. */
  13327. | /* Define setruid to an innocuous variant, in case <limits.h> declares setruid.
  13328. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  13329. | #define setruid innocuous_setruid
  13330. |
  13331. | /* System header to define __stub macros and hopefully few prototypes,
  13332. | which can conflict with char setruid (); below.
  13333. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  13334. | <limits.h> exists even on freestanding compilers. */
  13335. |
  13336. | #ifdef __STDC__
  13337. | # include <limits.h>
  13338. | #else
  13339. | # include <assert.h>
  13340. | #endif
  13341. |
  13342. | #undef setruid
  13343. |
  13344. | /* Override any GCC internal prototype to avoid an error.
  13345. | Use char because int might match the return type of a GCC
  13346. | builtin and then its argument prototype would still apply. */
  13347. | #ifdef __cplusplus
  13348. | extern "C"
  13349. | #endif
  13350. | char setruid ();
  13351. | /* The GNU C library defines this for functions which it implements
  13352. | to always fail with ENOSYS. Some functions are actually named
  13353. | something starting with __ and the normal name is an alias. */
  13354. | #if defined __stub_setruid || defined __stub___setruid
  13355. | choke me
  13356. | #endif
  13357. |
  13358. | int
  13359. | main ()
  13360. | {
  13361. | return setruid ();
  13362. | ;
  13363. | return 0;
  13364. | }
  13365. configure:14701: result: no
  13366. configure:14701: checking for seteuid
  13367. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13368. configure:14701: $? = 0
  13369. configure:14701: result: yes
  13370. configure:14701: checking for setreuid
  13371. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13372. configure:14701: $? = 0
  13373. configure:14701: result: yes
  13374. configure:14701: checking for setresuid
  13375. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13376. configure:14701: $? = 0
  13377. configure:14701: result: yes
  13378. configure:14701: checking for socketpair
  13379. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13380. configure:14701: $? = 0
  13381. configure:14701: result: yes
  13382. configure:14701: checking for setrgid
  13383. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13384. /tmp/ccADyICJ.o: In function `main':
  13385. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:247: undefined reference to `setrgid'
  13386. collect2: error: ld returned 1 exit status
  13387. configure:14701: $? = 1
  13388. configure: failed program was:
  13389. | /* confdefs.h */
  13390. | #define PACKAGE_NAME ""
  13391. | #define PACKAGE_TARNAME ""
  13392. | #define PACKAGE_VERSION ""
  13393. | #define PACKAGE_STRING ""
  13394. | #define PACKAGE_BUGREPORT ""
  13395. | #define PACKAGE_URL ""
  13396. | #define CANONICALIZATION_FOR_MATHN 1
  13397. | #define STDC_HEADERS 1
  13398. | #define HAVE_SYS_TYPES_H 1
  13399. | #define HAVE_SYS_STAT_H 1
  13400. | #define HAVE_STDLIB_H 1
  13401. | #define HAVE_STRING_H 1
  13402. | #define HAVE_MEMORY_H 1
  13403. | #define HAVE_STRINGS_H 1
  13404. | #define HAVE_INTTYPES_H 1
  13405. | #define HAVE_STDINT_H 1
  13406. | #define HAVE_UNISTD_H 1
  13407. | #define __EXTENSIONS__ 1
  13408. | #define _ALL_SOURCE 1
  13409. | #define _GNU_SOURCE 1
  13410. | #define _POSIX_PTHREAD_SEMANTICS 1
  13411. | #define _TANDEM_SOURCE 1
  13412. | #define HAVE_LONG_LONG 1
  13413. | #define HAVE_OFF_T 1
  13414. | #define SIZEOF_INT 4
  13415. | #define SIZEOF_SHORT 2
  13416. | #define SIZEOF_LONG 8
  13417. | #define SIZEOF_LONG_LONG 8
  13418. | #define SIZEOF___INT64 0
  13419. | #define SIZEOF_OFF_T 8
  13420. | #define SIZEOF_VOIDP 8
  13421. | #define SIZEOF_FLOAT 4
  13422. | #define SIZEOF_DOUBLE 8
  13423. | #define SIZEOF_TIME_T 8
  13424. | #define PRI_LL_PREFIX "ll"
  13425. | #define rb_pid_t pid_t
  13426. | #define PIDT2NUM(v) INT2NUM(v)
  13427. | #define NUM2PIDT(v) NUM2INT(v)
  13428. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  13429. | #define rb_uid_t uid_t
  13430. | #define UIDT2NUM(v) UINT2NUM(v)
  13431. | #define NUM2UIDT(v) NUM2UINT(v)
  13432. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  13433. | #define rb_gid_t gid_t
  13434. | #define GIDT2NUM(v) UINT2NUM(v)
  13435. | #define NUM2GIDT(v) NUM2UINT(v)
  13436. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  13437. | #define rb_time_t time_t
  13438. | #define TIMET2NUM(v) LONG2NUM(v)
  13439. | #define NUM2TIMET(v) NUM2LONG(v)
  13440. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  13441. | #define rb_dev_t dev_t
  13442. | #define DEVT2NUM(v) ULONG2NUM(v)
  13443. | #define NUM2DEVT(v) NUM2ULONG(v)
  13444. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  13445. | #define rb_mode_t mode_t
  13446. | #define MODET2NUM(v) UINT2NUM(v)
  13447. | #define NUM2MODET(v) NUM2UINT(v)
  13448. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  13449. | #define rb_rlim_t rlim_t
  13450. | #define RLIM2NUM(v) ULONG2NUM(v)
  13451. | #define NUM2RLIM(v) NUM2ULONG(v)
  13452. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  13453. | #define HAVE_PROTOTYPES 1
  13454. | #define TOKEN_PASTE(x,y) x##y
  13455. | #define STRINGIZE(expr) STRINGIZE0(expr)
  13456. | #define HAVE_STDARG_PROTOTYPES 1
  13457. | #define HAVE_VA_ARGS_MACRO 1
  13458. | #define NORETURN(x) __attribute__ ((noreturn)) x
  13459. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  13460. | #define NOINLINE(x) __attribute__ ((noinline)) x
  13461. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  13462. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  13463. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  13464. | #define HAVE_GCC_SYNC_BUILTINS 1
  13465. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  13466. | #define HAVE_DECL_SYS_NERR 1
  13467. | #define HAVE_LIBCRYPT 1
  13468. | #define HAVE_LIBDL 1
  13469. | #define HAVE_LIBRT 1
  13470. | #define HAVE_DIRENT_H 1
  13471. | #define HAVE__BOOL 1
  13472. | #define HAVE_STDBOOL_H 1
  13473. | #define HAVE_SYS_WAIT_H 1
  13474. | #define HAVE_LIMITS_H 1
  13475. | #define HAVE_SYS_FILE_H 1
  13476. | #define HAVE_SYS_IOCTL_H 1
  13477. | #define HAVE_SYS_SYSCALL_H 1
  13478. | #define HAVE_FCNTL_H 1
  13479. | #define HAVE_SYS_FCNTL_H 1
  13480. | #define HAVE_SYS_SELECT_H 1
  13481. | #define HAVE_SYS_TIME_H 1
  13482. | #define HAVE_SYS_TIMES_H 1
  13483. | #define HAVE_SYS_PARAM_H 1
  13484. | #define HAVE_SYSCALL_H 1
  13485. | #define HAVE_PWD_H 1
  13486. | #define HAVE_GRP_H 1
  13487. | #define HAVE_A_OUT_H 1
  13488. | #define HAVE_UTIME_H 1
  13489. | #define HAVE_SYS_RESOURCE_H 1
  13490. | #define HAVE_NETINET_IN_SYSTM_H 1
  13491. | #define HAVE_FLOAT_H 1
  13492. | #define HAVE_UCONTEXT_H 1
  13493. | #define HAVE_LANGINFO_H 1
  13494. | #define HAVE_LOCALE_H 1
  13495. | #define HAVE_SYS_SENDFILE_H 1
  13496. | #define HAVE_TIME_H 1
  13497. | #define HAVE_SYS_SOCKET_H 1
  13498. | #define SIZEOF_SIZE_T 8
  13499. | #define SIZEOF_PTRDIFF_T 8
  13500. | #define PRI_SIZE_PREFIX "z"
  13501. | #define PRI_PTRDIFF_PREFIX "t"
  13502. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  13503. | #define HAVE_ST_BLKSIZE 1
  13504. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  13505. | #define HAVE_ST_BLOCKS 1
  13506. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  13507. | #define HAVE_ST_RDEV 1
  13508. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  13509. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  13510. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  13511. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  13512. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  13513. | #define HAVE_STRUCT_TIMEVAL 1
  13514. | #define HAVE_STRUCT_TIMESPEC 1
  13515. | #define HAVE_STRUCT_TIMEZONE 1
  13516. | #define HAVE_CLOCKID_T 1
  13517. | #define HAVE_RB_FD_INIT 1
  13518. | #define HAVE_INT8_T 1
  13519. | #define SIZEOF_INT8_T 1
  13520. | #define HAVE_UINT8_T 1
  13521. | #define SIZEOF_UINT8_T 1
  13522. | #define HAVE_INT16_T 1
  13523. | #define SIZEOF_INT16_T 2
  13524. | #define HAVE_UINT16_T 1
  13525. | #define SIZEOF_UINT16_T 2
  13526. | #define HAVE_INT32_T 1
  13527. | #define SIZEOF_INT32_T 4
  13528. | #define HAVE_UINT32_T 1
  13529. | #define SIZEOF_UINT32_T 4
  13530. | #define HAVE_INT64_T 1
  13531. | #define SIZEOF_INT64_T 8
  13532. | #define HAVE_UINT64_T 1
  13533. | #define SIZEOF_UINT64_T 8
  13534. | #define HAVE_INTPTR_T 1
  13535. | #define SIZEOF_INTPTR_T 8
  13536. | #define HAVE_UINTPTR_T 1
  13537. | #define SIZEOF_UINTPTR_T 8
  13538. | #define HAVE_SSIZE_T 1
  13539. | #define SIZEOF_SSIZE_T 8
  13540. | #define STACK_END_ADDRESS __libc_stack_end
  13541. | #define GETGROUPS_T gid_t
  13542. | #define RETSIGTYPE void
  13543. | #define HAVE_ALLOCA_H 1
  13544. | #define HAVE_ALLOCA 1
  13545. | #define HAVE_DUP2 1
  13546. | #define HAVE_MEMMOVE 1
  13547. | #define HAVE_STRERROR 1
  13548. | #define HAVE_STRCHR 1
  13549. | #define HAVE_STRSTR 1
  13550. | #define HAVE_CRYPT 1
  13551. | #define HAVE_FLOCK 1
  13552. | #define HAVE_ISNAN 1
  13553. | #define HAVE_FINITE 1
  13554. | #define HAVE_ISINF 1
  13555. | #define HAVE_HYPOT 1
  13556. | #define HAVE_ACOSH 1
  13557. | #define HAVE_ERF 1
  13558. | #define HAVE_TGAMMA 1
  13559. | #define HAVE_LGAMMA_R 1
  13560. | #define HAVE_CBRT 1
  13561. | #define HAVE_FFS 1
  13562. | #define SPT_TYPE SPT_REUSEARGV
  13563. | #define HAVE_SIGNBIT 1
  13564. | #define HAVE_FMOD 1
  13565. | #define HAVE_KILLPG 1
  13566. | #define HAVE_WAIT4 1
  13567. | #define HAVE_WAITPID 1
  13568. | #define HAVE_FORK 1
  13569. | #define HAVE_SYSCALL 1
  13570. | #define HAVE_CHROOT 1
  13571. | #define HAVE_GETCWD 1
  13572. | #define HAVE_EACCESS 1
  13573. | #define HAVE_TRUNCATE 1
  13574. | #define HAVE_FTRUNCATE 1
  13575. | #define HAVE_FTELLO 1
  13576. | #define HAVE_TIMES 1
  13577. | #define HAVE_UTIMES 1
  13578. | #define HAVE_UTIMENSAT 1
  13579. | #define HAVE_FCNTL 1
  13580. | #define HAVE_LOCKF 1
  13581. | #define HAVE_LSTAT 1
  13582. | #define HAVE_TRUNCATE64 1
  13583. | #define HAVE_FTRUNCATE64 1
  13584. | #define HAVE_FTELLO64 1
  13585. | #define HAVE_FSEEKO 1
  13586. | #define HAVE_FSEEKO64 1
  13587. | #define HAVE_LINK 1
  13588. | #define HAVE_SYMLINK 1
  13589. | #define HAVE_READLINK 1
  13590. | #define HAVE_READDIR_R 1
  13591. | #define HAVE_FSYNC 1
  13592. | #define HAVE_FDATASYNC 1
  13593. | #define HAVE_FCHOWN 1
  13594. | #define HAVE_POSIX_FADVISE 1
  13595. | #define HAVE_SETITIMER 1
  13596. | #define HAVE_SETEUID 1
  13597. | #define HAVE_SETREUID 1
  13598. | #define HAVE_SETRESUID 1
  13599. | #define HAVE_SOCKETPAIR 1
  13600. | /* end confdefs.h. */
  13601. | /* Define setrgid to an innocuous variant, in case <limits.h> declares setrgid.
  13602. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  13603. | #define setrgid innocuous_setrgid
  13604. |
  13605. | /* System header to define __stub macros and hopefully few prototypes,
  13606. | which can conflict with char setrgid (); below.
  13607. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  13608. | <limits.h> exists even on freestanding compilers. */
  13609. |
  13610. | #ifdef __STDC__
  13611. | # include <limits.h>
  13612. | #else
  13613. | # include <assert.h>
  13614. | #endif
  13615. |
  13616. | #undef setrgid
  13617. |
  13618. | /* Override any GCC internal prototype to avoid an error.
  13619. | Use char because int might match the return type of a GCC
  13620. | builtin and then its argument prototype would still apply. */
  13621. | #ifdef __cplusplus
  13622. | extern "C"
  13623. | #endif
  13624. | char setrgid ();
  13625. | /* The GNU C library defines this for functions which it implements
  13626. | to always fail with ENOSYS. Some functions are actually named
  13627. | something starting with __ and the normal name is an alias. */
  13628. | #if defined __stub_setrgid || defined __stub___setrgid
  13629. | choke me
  13630. | #endif
  13631. |
  13632. | int
  13633. | main ()
  13634. | {
  13635. | return setrgid ();
  13636. | ;
  13637. | return 0;
  13638. | }
  13639. configure:14701: result: no
  13640. configure:14701: checking for setegid
  13641. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13642. configure:14701: $? = 0
  13643. configure:14701: result: yes
  13644. configure:14701: checking for setregid
  13645. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13646. configure:14701: $? = 0
  13647. configure:14701: result: yes
  13648. configure:14701: checking for setresgid
  13649. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13650. configure:14701: $? = 0
  13651. configure:14701: result: yes
  13652. configure:14701: checking for issetugid
  13653. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13654. /tmp/ccK90yD1.o: In function `main':
  13655. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:250: undefined reference to `issetugid'
  13656. collect2: error: ld returned 1 exit status
  13657. configure:14701: $? = 1
  13658. configure: failed program was:
  13659. | /* confdefs.h */
  13660. | #define PACKAGE_NAME ""
  13661. | #define PACKAGE_TARNAME ""
  13662. | #define PACKAGE_VERSION ""
  13663. | #define PACKAGE_STRING ""
  13664. | #define PACKAGE_BUGREPORT ""
  13665. | #define PACKAGE_URL ""
  13666. | #define CANONICALIZATION_FOR_MATHN 1
  13667. | #define STDC_HEADERS 1
  13668. | #define HAVE_SYS_TYPES_H 1
  13669. | #define HAVE_SYS_STAT_H 1
  13670. | #define HAVE_STDLIB_H 1
  13671. | #define HAVE_STRING_H 1
  13672. | #define HAVE_MEMORY_H 1
  13673. | #define HAVE_STRINGS_H 1
  13674. | #define HAVE_INTTYPES_H 1
  13675. | #define HAVE_STDINT_H 1
  13676. | #define HAVE_UNISTD_H 1
  13677. | #define __EXTENSIONS__ 1
  13678. | #define _ALL_SOURCE 1
  13679. | #define _GNU_SOURCE 1
  13680. | #define _POSIX_PTHREAD_SEMANTICS 1
  13681. | #define _TANDEM_SOURCE 1
  13682. | #define HAVE_LONG_LONG 1
  13683. | #define HAVE_OFF_T 1
  13684. | #define SIZEOF_INT 4
  13685. | #define SIZEOF_SHORT 2
  13686. | #define SIZEOF_LONG 8
  13687. | #define SIZEOF_LONG_LONG 8
  13688. | #define SIZEOF___INT64 0
  13689. | #define SIZEOF_OFF_T 8
  13690. | #define SIZEOF_VOIDP 8
  13691. | #define SIZEOF_FLOAT 4
  13692. | #define SIZEOF_DOUBLE 8
  13693. | #define SIZEOF_TIME_T 8
  13694. | #define PRI_LL_PREFIX "ll"
  13695. | #define rb_pid_t pid_t
  13696. | #define PIDT2NUM(v) INT2NUM(v)
  13697. | #define NUM2PIDT(v) NUM2INT(v)
  13698. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  13699. | #define rb_uid_t uid_t
  13700. | #define UIDT2NUM(v) UINT2NUM(v)
  13701. | #define NUM2UIDT(v) NUM2UINT(v)
  13702. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  13703. | #define rb_gid_t gid_t
  13704. | #define GIDT2NUM(v) UINT2NUM(v)
  13705. | #define NUM2GIDT(v) NUM2UINT(v)
  13706. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  13707. | #define rb_time_t time_t
  13708. | #define TIMET2NUM(v) LONG2NUM(v)
  13709. | #define NUM2TIMET(v) NUM2LONG(v)
  13710. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  13711. | #define rb_dev_t dev_t
  13712. | #define DEVT2NUM(v) ULONG2NUM(v)
  13713. | #define NUM2DEVT(v) NUM2ULONG(v)
  13714. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  13715. | #define rb_mode_t mode_t
  13716. | #define MODET2NUM(v) UINT2NUM(v)
  13717. | #define NUM2MODET(v) NUM2UINT(v)
  13718. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  13719. | #define rb_rlim_t rlim_t
  13720. | #define RLIM2NUM(v) ULONG2NUM(v)
  13721. | #define NUM2RLIM(v) NUM2ULONG(v)
  13722. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  13723. | #define HAVE_PROTOTYPES 1
  13724. | #define TOKEN_PASTE(x,y) x##y
  13725. | #define STRINGIZE(expr) STRINGIZE0(expr)
  13726. | #define HAVE_STDARG_PROTOTYPES 1
  13727. | #define HAVE_VA_ARGS_MACRO 1
  13728. | #define NORETURN(x) __attribute__ ((noreturn)) x
  13729. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  13730. | #define NOINLINE(x) __attribute__ ((noinline)) x
  13731. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  13732. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  13733. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  13734. | #define HAVE_GCC_SYNC_BUILTINS 1
  13735. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  13736. | #define HAVE_DECL_SYS_NERR 1
  13737. | #define HAVE_LIBCRYPT 1
  13738. | #define HAVE_LIBDL 1
  13739. | #define HAVE_LIBRT 1
  13740. | #define HAVE_DIRENT_H 1
  13741. | #define HAVE__BOOL 1
  13742. | #define HAVE_STDBOOL_H 1
  13743. | #define HAVE_SYS_WAIT_H 1
  13744. | #define HAVE_LIMITS_H 1
  13745. | #define HAVE_SYS_FILE_H 1
  13746. | #define HAVE_SYS_IOCTL_H 1
  13747. | #define HAVE_SYS_SYSCALL_H 1
  13748. | #define HAVE_FCNTL_H 1
  13749. | #define HAVE_SYS_FCNTL_H 1
  13750. | #define HAVE_SYS_SELECT_H 1
  13751. | #define HAVE_SYS_TIME_H 1
  13752. | #define HAVE_SYS_TIMES_H 1
  13753. | #define HAVE_SYS_PARAM_H 1
  13754. | #define HAVE_SYSCALL_H 1
  13755. | #define HAVE_PWD_H 1
  13756. | #define HAVE_GRP_H 1
  13757. | #define HAVE_A_OUT_H 1
  13758. | #define HAVE_UTIME_H 1
  13759. | #define HAVE_SYS_RESOURCE_H 1
  13760. | #define HAVE_NETINET_IN_SYSTM_H 1
  13761. | #define HAVE_FLOAT_H 1
  13762. | #define HAVE_UCONTEXT_H 1
  13763. | #define HAVE_LANGINFO_H 1
  13764. | #define HAVE_LOCALE_H 1
  13765. | #define HAVE_SYS_SENDFILE_H 1
  13766. | #define HAVE_TIME_H 1
  13767. | #define HAVE_SYS_SOCKET_H 1
  13768. | #define SIZEOF_SIZE_T 8
  13769. | #define SIZEOF_PTRDIFF_T 8
  13770. | #define PRI_SIZE_PREFIX "z"
  13771. | #define PRI_PTRDIFF_PREFIX "t"
  13772. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  13773. | #define HAVE_ST_BLKSIZE 1
  13774. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  13775. | #define HAVE_ST_BLOCKS 1
  13776. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  13777. | #define HAVE_ST_RDEV 1
  13778. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  13779. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  13780. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  13781. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  13782. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  13783. | #define HAVE_STRUCT_TIMEVAL 1
  13784. | #define HAVE_STRUCT_TIMESPEC 1
  13785. | #define HAVE_STRUCT_TIMEZONE 1
  13786. | #define HAVE_CLOCKID_T 1
  13787. | #define HAVE_RB_FD_INIT 1
  13788. | #define HAVE_INT8_T 1
  13789. | #define SIZEOF_INT8_T 1
  13790. | #define HAVE_UINT8_T 1
  13791. | #define SIZEOF_UINT8_T 1
  13792. | #define HAVE_INT16_T 1
  13793. | #define SIZEOF_INT16_T 2
  13794. | #define HAVE_UINT16_T 1
  13795. | #define SIZEOF_UINT16_T 2
  13796. | #define HAVE_INT32_T 1
  13797. | #define SIZEOF_INT32_T 4
  13798. | #define HAVE_UINT32_T 1
  13799. | #define SIZEOF_UINT32_T 4
  13800. | #define HAVE_INT64_T 1
  13801. | #define SIZEOF_INT64_T 8
  13802. | #define HAVE_UINT64_T 1
  13803. | #define SIZEOF_UINT64_T 8
  13804. | #define HAVE_INTPTR_T 1
  13805. | #define SIZEOF_INTPTR_T 8
  13806. | #define HAVE_UINTPTR_T 1
  13807. | #define SIZEOF_UINTPTR_T 8
  13808. | #define HAVE_SSIZE_T 1
  13809. | #define SIZEOF_SSIZE_T 8
  13810. | #define STACK_END_ADDRESS __libc_stack_end
  13811. | #define GETGROUPS_T gid_t
  13812. | #define RETSIGTYPE void
  13813. | #define HAVE_ALLOCA_H 1
  13814. | #define HAVE_ALLOCA 1
  13815. | #define HAVE_DUP2 1
  13816. | #define HAVE_MEMMOVE 1
  13817. | #define HAVE_STRERROR 1
  13818. | #define HAVE_STRCHR 1
  13819. | #define HAVE_STRSTR 1
  13820. | #define HAVE_CRYPT 1
  13821. | #define HAVE_FLOCK 1
  13822. | #define HAVE_ISNAN 1
  13823. | #define HAVE_FINITE 1
  13824. | #define HAVE_ISINF 1
  13825. | #define HAVE_HYPOT 1
  13826. | #define HAVE_ACOSH 1
  13827. | #define HAVE_ERF 1
  13828. | #define HAVE_TGAMMA 1
  13829. | #define HAVE_LGAMMA_R 1
  13830. | #define HAVE_CBRT 1
  13831. | #define HAVE_FFS 1
  13832. | #define SPT_TYPE SPT_REUSEARGV
  13833. | #define HAVE_SIGNBIT 1
  13834. | #define HAVE_FMOD 1
  13835. | #define HAVE_KILLPG 1
  13836. | #define HAVE_WAIT4 1
  13837. | #define HAVE_WAITPID 1
  13838. | #define HAVE_FORK 1
  13839. | #define HAVE_SYSCALL 1
  13840. | #define HAVE_CHROOT 1
  13841. | #define HAVE_GETCWD 1
  13842. | #define HAVE_EACCESS 1
  13843. | #define HAVE_TRUNCATE 1
  13844. | #define HAVE_FTRUNCATE 1
  13845. | #define HAVE_FTELLO 1
  13846. | #define HAVE_TIMES 1
  13847. | #define HAVE_UTIMES 1
  13848. | #define HAVE_UTIMENSAT 1
  13849. | #define HAVE_FCNTL 1
  13850. | #define HAVE_LOCKF 1
  13851. | #define HAVE_LSTAT 1
  13852. | #define HAVE_TRUNCATE64 1
  13853. | #define HAVE_FTRUNCATE64 1
  13854. | #define HAVE_FTELLO64 1
  13855. | #define HAVE_FSEEKO 1
  13856. | #define HAVE_FSEEKO64 1
  13857. | #define HAVE_LINK 1
  13858. | #define HAVE_SYMLINK 1
  13859. | #define HAVE_READLINK 1
  13860. | #define HAVE_READDIR_R 1
  13861. | #define HAVE_FSYNC 1
  13862. | #define HAVE_FDATASYNC 1
  13863. | #define HAVE_FCHOWN 1
  13864. | #define HAVE_POSIX_FADVISE 1
  13865. | #define HAVE_SETITIMER 1
  13866. | #define HAVE_SETEUID 1
  13867. | #define HAVE_SETREUID 1
  13868. | #define HAVE_SETRESUID 1
  13869. | #define HAVE_SOCKETPAIR 1
  13870. | #define HAVE_SETEGID 1
  13871. | #define HAVE_SETREGID 1
  13872. | #define HAVE_SETRESGID 1
  13873. | /* end confdefs.h. */
  13874. | /* Define issetugid to an innocuous variant, in case <limits.h> declares issetugid.
  13875. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  13876. | #define issetugid innocuous_issetugid
  13877. |
  13878. | /* System header to define __stub macros and hopefully few prototypes,
  13879. | which can conflict with char issetugid (); below.
  13880. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  13881. | <limits.h> exists even on freestanding compilers. */
  13882. |
  13883. | #ifdef __STDC__
  13884. | # include <limits.h>
  13885. | #else
  13886. | # include <assert.h>
  13887. | #endif
  13888. |
  13889. | #undef issetugid
  13890. |
  13891. | /* Override any GCC internal prototype to avoid an error.
  13892. | Use char because int might match the return type of a GCC
  13893. | builtin and then its argument prototype would still apply. */
  13894. | #ifdef __cplusplus
  13895. | extern "C"
  13896. | #endif
  13897. | char issetugid ();
  13898. | /* The GNU C library defines this for functions which it implements
  13899. | to always fail with ENOSYS. Some functions are actually named
  13900. | something starting with __ and the normal name is an alias. */
  13901. | #if defined __stub_issetugid || defined __stub___issetugid
  13902. | choke me
  13903. | #endif
  13904. |
  13905. | int
  13906. | main ()
  13907. | {
  13908. | return issetugid ();
  13909. | ;
  13910. | return 0;
  13911. | }
  13912. configure:14701: result: no
  13913. configure:14701: checking for pause
  13914. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13915. configure:14701: $? = 0
  13916. configure:14701: result: yes
  13917. configure:14701: checking for lchown
  13918. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13919. configure:14701: $? = 0
  13920. configure:14701: result: yes
  13921. configure:14701: checking for lchmod
  13922. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  13923. conftest.c:246:1: error: unknown type name 'choke'
  13924. choke me
  13925. ^
  13926. conftest.c:249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
  13927. int
  13928. ^
  13929. configure:14701: $? = 1
  13930. configure: failed program was:
  13931. | /* confdefs.h */
  13932. | #define PACKAGE_NAME ""
  13933. | #define PACKAGE_TARNAME ""
  13934. | #define PACKAGE_VERSION ""
  13935. | #define PACKAGE_STRING ""
  13936. | #define PACKAGE_BUGREPORT ""
  13937. | #define PACKAGE_URL ""
  13938. | #define CANONICALIZATION_FOR_MATHN 1
  13939. | #define STDC_HEADERS 1
  13940. | #define HAVE_SYS_TYPES_H 1
  13941. | #define HAVE_SYS_STAT_H 1
  13942. | #define HAVE_STDLIB_H 1
  13943. | #define HAVE_STRING_H 1
  13944. | #define HAVE_MEMORY_H 1
  13945. | #define HAVE_STRINGS_H 1
  13946. | #define HAVE_INTTYPES_H 1
  13947. | #define HAVE_STDINT_H 1
  13948. | #define HAVE_UNISTD_H 1
  13949. | #define __EXTENSIONS__ 1
  13950. | #define _ALL_SOURCE 1
  13951. | #define _GNU_SOURCE 1
  13952. | #define _POSIX_PTHREAD_SEMANTICS 1
  13953. | #define _TANDEM_SOURCE 1
  13954. | #define HAVE_LONG_LONG 1
  13955. | #define HAVE_OFF_T 1
  13956. | #define SIZEOF_INT 4
  13957. | #define SIZEOF_SHORT 2
  13958. | #define SIZEOF_LONG 8
  13959. | #define SIZEOF_LONG_LONG 8
  13960. | #define SIZEOF___INT64 0
  13961. | #define SIZEOF_OFF_T 8
  13962. | #define SIZEOF_VOIDP 8
  13963. | #define SIZEOF_FLOAT 4
  13964. | #define SIZEOF_DOUBLE 8
  13965. | #define SIZEOF_TIME_T 8
  13966. | #define PRI_LL_PREFIX "ll"
  13967. | #define rb_pid_t pid_t
  13968. | #define PIDT2NUM(v) INT2NUM(v)
  13969. | #define NUM2PIDT(v) NUM2INT(v)
  13970. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  13971. | #define rb_uid_t uid_t
  13972. | #define UIDT2NUM(v) UINT2NUM(v)
  13973. | #define NUM2UIDT(v) NUM2UINT(v)
  13974. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  13975. | #define rb_gid_t gid_t
  13976. | #define GIDT2NUM(v) UINT2NUM(v)
  13977. | #define NUM2GIDT(v) NUM2UINT(v)
  13978. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  13979. | #define rb_time_t time_t
  13980. | #define TIMET2NUM(v) LONG2NUM(v)
  13981. | #define NUM2TIMET(v) NUM2LONG(v)
  13982. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  13983. | #define rb_dev_t dev_t
  13984. | #define DEVT2NUM(v) ULONG2NUM(v)
  13985. | #define NUM2DEVT(v) NUM2ULONG(v)
  13986. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  13987. | #define rb_mode_t mode_t
  13988. | #define MODET2NUM(v) UINT2NUM(v)
  13989. | #define NUM2MODET(v) NUM2UINT(v)
  13990. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  13991. | #define rb_rlim_t rlim_t
  13992. | #define RLIM2NUM(v) ULONG2NUM(v)
  13993. | #define NUM2RLIM(v) NUM2ULONG(v)
  13994. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  13995. | #define HAVE_PROTOTYPES 1
  13996. | #define TOKEN_PASTE(x,y) x##y
  13997. | #define STRINGIZE(expr) STRINGIZE0(expr)
  13998. | #define HAVE_STDARG_PROTOTYPES 1
  13999. | #define HAVE_VA_ARGS_MACRO 1
  14000. | #define NORETURN(x) __attribute__ ((noreturn)) x
  14001. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  14002. | #define NOINLINE(x) __attribute__ ((noinline)) x
  14003. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  14004. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  14005. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  14006. | #define HAVE_GCC_SYNC_BUILTINS 1
  14007. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  14008. | #define HAVE_DECL_SYS_NERR 1
  14009. | #define HAVE_LIBCRYPT 1
  14010. | #define HAVE_LIBDL 1
  14011. | #define HAVE_LIBRT 1
  14012. | #define HAVE_DIRENT_H 1
  14013. | #define HAVE__BOOL 1
  14014. | #define HAVE_STDBOOL_H 1
  14015. | #define HAVE_SYS_WAIT_H 1
  14016. | #define HAVE_LIMITS_H 1
  14017. | #define HAVE_SYS_FILE_H 1
  14018. | #define HAVE_SYS_IOCTL_H 1
  14019. | #define HAVE_SYS_SYSCALL_H 1
  14020. | #define HAVE_FCNTL_H 1
  14021. | #define HAVE_SYS_FCNTL_H 1
  14022. | #define HAVE_SYS_SELECT_H 1
  14023. | #define HAVE_SYS_TIME_H 1
  14024. | #define HAVE_SYS_TIMES_H 1
  14025. | #define HAVE_SYS_PARAM_H 1
  14026. | #define HAVE_SYSCALL_H 1
  14027. | #define HAVE_PWD_H 1
  14028. | #define HAVE_GRP_H 1
  14029. | #define HAVE_A_OUT_H 1
  14030. | #define HAVE_UTIME_H 1
  14031. | #define HAVE_SYS_RESOURCE_H 1
  14032. | #define HAVE_NETINET_IN_SYSTM_H 1
  14033. | #define HAVE_FLOAT_H 1
  14034. | #define HAVE_UCONTEXT_H 1
  14035. | #define HAVE_LANGINFO_H 1
  14036. | #define HAVE_LOCALE_H 1
  14037. | #define HAVE_SYS_SENDFILE_H 1
  14038. | #define HAVE_TIME_H 1
  14039. | #define HAVE_SYS_SOCKET_H 1
  14040. | #define SIZEOF_SIZE_T 8
  14041. | #define SIZEOF_PTRDIFF_T 8
  14042. | #define PRI_SIZE_PREFIX "z"
  14043. | #define PRI_PTRDIFF_PREFIX "t"
  14044. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  14045. | #define HAVE_ST_BLKSIZE 1
  14046. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  14047. | #define HAVE_ST_BLOCKS 1
  14048. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  14049. | #define HAVE_ST_RDEV 1
  14050. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  14051. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  14052. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  14053. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  14054. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  14055. | #define HAVE_STRUCT_TIMEVAL 1
  14056. | #define HAVE_STRUCT_TIMESPEC 1
  14057. | #define HAVE_STRUCT_TIMEZONE 1
  14058. | #define HAVE_CLOCKID_T 1
  14059. | #define HAVE_RB_FD_INIT 1
  14060. | #define HAVE_INT8_T 1
  14061. | #define SIZEOF_INT8_T 1
  14062. | #define HAVE_UINT8_T 1
  14063. | #define SIZEOF_UINT8_T 1
  14064. | #define HAVE_INT16_T 1
  14065. | #define SIZEOF_INT16_T 2
  14066. | #define HAVE_UINT16_T 1
  14067. | #define SIZEOF_UINT16_T 2
  14068. | #define HAVE_INT32_T 1
  14069. | #define SIZEOF_INT32_T 4
  14070. | #define HAVE_UINT32_T 1
  14071. | #define SIZEOF_UINT32_T 4
  14072. | #define HAVE_INT64_T 1
  14073. | #define SIZEOF_INT64_T 8
  14074. | #define HAVE_UINT64_T 1
  14075. | #define SIZEOF_UINT64_T 8
  14076. | #define HAVE_INTPTR_T 1
  14077. | #define SIZEOF_INTPTR_T 8
  14078. | #define HAVE_UINTPTR_T 1
  14079. | #define SIZEOF_UINTPTR_T 8
  14080. | #define HAVE_SSIZE_T 1
  14081. | #define SIZEOF_SSIZE_T 8
  14082. | #define STACK_END_ADDRESS __libc_stack_end
  14083. | #define GETGROUPS_T gid_t
  14084. | #define RETSIGTYPE void
  14085. | #define HAVE_ALLOCA_H 1
  14086. | #define HAVE_ALLOCA 1
  14087. | #define HAVE_DUP2 1
  14088. | #define HAVE_MEMMOVE 1
  14089. | #define HAVE_STRERROR 1
  14090. | #define HAVE_STRCHR 1
  14091. | #define HAVE_STRSTR 1
  14092. | #define HAVE_CRYPT 1
  14093. | #define HAVE_FLOCK 1
  14094. | #define HAVE_ISNAN 1
  14095. | #define HAVE_FINITE 1
  14096. | #define HAVE_ISINF 1
  14097. | #define HAVE_HYPOT 1
  14098. | #define HAVE_ACOSH 1
  14099. | #define HAVE_ERF 1
  14100. | #define HAVE_TGAMMA 1
  14101. | #define HAVE_LGAMMA_R 1
  14102. | #define HAVE_CBRT 1
  14103. | #define HAVE_FFS 1
  14104. | #define SPT_TYPE SPT_REUSEARGV
  14105. | #define HAVE_SIGNBIT 1
  14106. | #define HAVE_FMOD 1
  14107. | #define HAVE_KILLPG 1
  14108. | #define HAVE_WAIT4 1
  14109. | #define HAVE_WAITPID 1
  14110. | #define HAVE_FORK 1
  14111. | #define HAVE_SYSCALL 1
  14112. | #define HAVE_CHROOT 1
  14113. | #define HAVE_GETCWD 1
  14114. | #define HAVE_EACCESS 1
  14115. | #define HAVE_TRUNCATE 1
  14116. | #define HAVE_FTRUNCATE 1
  14117. | #define HAVE_FTELLO 1
  14118. | #define HAVE_TIMES 1
  14119. | #define HAVE_UTIMES 1
  14120. | #define HAVE_UTIMENSAT 1
  14121. | #define HAVE_FCNTL 1
  14122. | #define HAVE_LOCKF 1
  14123. | #define HAVE_LSTAT 1
  14124. | #define HAVE_TRUNCATE64 1
  14125. | #define HAVE_FTRUNCATE64 1
  14126. | #define HAVE_FTELLO64 1
  14127. | #define HAVE_FSEEKO 1
  14128. | #define HAVE_FSEEKO64 1
  14129. | #define HAVE_LINK 1
  14130. | #define HAVE_SYMLINK 1
  14131. | #define HAVE_READLINK 1
  14132. | #define HAVE_READDIR_R 1
  14133. | #define HAVE_FSYNC 1
  14134. | #define HAVE_FDATASYNC 1
  14135. | #define HAVE_FCHOWN 1
  14136. | #define HAVE_POSIX_FADVISE 1
  14137. | #define HAVE_SETITIMER 1
  14138. | #define HAVE_SETEUID 1
  14139. | #define HAVE_SETREUID 1
  14140. | #define HAVE_SETRESUID 1
  14141. | #define HAVE_SOCKETPAIR 1
  14142. | #define HAVE_SETEGID 1
  14143. | #define HAVE_SETREGID 1
  14144. | #define HAVE_SETRESGID 1
  14145. | #define HAVE_PAUSE 1
  14146. | #define HAVE_LCHOWN 1
  14147. | /* end confdefs.h. */
  14148. | /* Define lchmod to an innocuous variant, in case <limits.h> declares lchmod.
  14149. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  14150. | #define lchmod innocuous_lchmod
  14151. |
  14152. | /* System header to define __stub macros and hopefully few prototypes,
  14153. | which can conflict with char lchmod (); below.
  14154. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14155. | <limits.h> exists even on freestanding compilers. */
  14156. |
  14157. | #ifdef __STDC__
  14158. | # include <limits.h>
  14159. | #else
  14160. | # include <assert.h>
  14161. | #endif
  14162. |
  14163. | #undef lchmod
  14164. |
  14165. | /* Override any GCC internal prototype to avoid an error.
  14166. | Use char because int might match the return type of a GCC
  14167. | builtin and then its argument prototype would still apply. */
  14168. | #ifdef __cplusplus
  14169. | extern "C"
  14170. | #endif
  14171. | char lchmod ();
  14172. | /* The GNU C library defines this for functions which it implements
  14173. | to always fail with ENOSYS. Some functions are actually named
  14174. | something starting with __ and the normal name is an alias. */
  14175. | #if defined __stub_lchmod || defined __stub___lchmod
  14176. | choke me
  14177. | #endif
  14178. |
  14179. | int
  14180. | main ()
  14181. | {
  14182. | return lchmod ();
  14183. | ;
  14184. | return 0;
  14185. | }
  14186. configure:14701: result: no
  14187. configure:14701: checking for getpgrp
  14188. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14189. configure:14701: $? = 0
  14190. configure:14701: result: yes
  14191. configure:14701: checking for setpgrp
  14192. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14193. configure:14701: $? = 0
  14194. configure:14701: result: yes
  14195. configure:14701: checking for getpgid
  14196. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14197. configure:14701: $? = 0
  14198. configure:14701: result: yes
  14199. configure:14701: checking for setpgid
  14200. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14201. configure:14701: $? = 0
  14202. configure:14701: result: yes
  14203. configure:14701: checking for initgroups
  14204. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14205. configure:14701: $? = 0
  14206. configure:14701: result: yes
  14207. configure:14701: checking for getgroups
  14208. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14209. configure:14701: $? = 0
  14210. configure:14701: result: yes
  14211. configure:14701: checking for setgroups
  14212. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14213. configure:14701: $? = 0
  14214. configure:14701: result: yes
  14215. configure:14701: checking for getpriority
  14216. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14217. configure:14701: $? = 0
  14218. configure:14701: result: yes
  14219. configure:14701: checking for getrlimit
  14220. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14221. configure:14701: $? = 0
  14222. configure:14701: result: yes
  14223. configure:14701: checking for setrlimit
  14224. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14225. configure:14701: $? = 0
  14226. configure:14701: result: yes
  14227. configure:14701: checking for sysconf
  14228. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14229. configure:14701: $? = 0
  14230. configure:14701: result: yes
  14231. configure:14701: checking for close
  14232. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14233. configure:14701: $? = 0
  14234. configure:14701: result: yes
  14235. configure:14701: checking for getgrnam_r
  14236. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14237. configure:14701: $? = 0
  14238. configure:14701: result: yes
  14239. configure:14701: checking for dlopen
  14240. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14241. configure:14701: $? = 0
  14242. configure:14701: result: yes
  14243. configure:14701: checking for sigprocmask
  14244. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14245. configure:14701: $? = 0
  14246. configure:14701: result: yes
  14247. configure:14701: checking for sigaction
  14248. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14249. configure:14701: $? = 0
  14250. configure:14701: result: yes
  14251. configure:14701: checking for sigsetjmp
  14252. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14253. /tmp/ccwrE6Nk.o: In function `main':
  14254. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:268: undefined reference to `sigsetjmp'
  14255. collect2: error: ld returned 1 exit status
  14256. configure:14701: $? = 1
  14257. configure: failed program was:
  14258. | /* confdefs.h */
  14259. | #define PACKAGE_NAME ""
  14260. | #define PACKAGE_TARNAME ""
  14261. | #define PACKAGE_VERSION ""
  14262. | #define PACKAGE_STRING ""
  14263. | #define PACKAGE_BUGREPORT ""
  14264. | #define PACKAGE_URL ""
  14265. | #define CANONICALIZATION_FOR_MATHN 1
  14266. | #define STDC_HEADERS 1
  14267. | #define HAVE_SYS_TYPES_H 1
  14268. | #define HAVE_SYS_STAT_H 1
  14269. | #define HAVE_STDLIB_H 1
  14270. | #define HAVE_STRING_H 1
  14271. | #define HAVE_MEMORY_H 1
  14272. | #define HAVE_STRINGS_H 1
  14273. | #define HAVE_INTTYPES_H 1
  14274. | #define HAVE_STDINT_H 1
  14275. | #define HAVE_UNISTD_H 1
  14276. | #define __EXTENSIONS__ 1
  14277. | #define _ALL_SOURCE 1
  14278. | #define _GNU_SOURCE 1
  14279. | #define _POSIX_PTHREAD_SEMANTICS 1
  14280. | #define _TANDEM_SOURCE 1
  14281. | #define HAVE_LONG_LONG 1
  14282. | #define HAVE_OFF_T 1
  14283. | #define SIZEOF_INT 4
  14284. | #define SIZEOF_SHORT 2
  14285. | #define SIZEOF_LONG 8
  14286. | #define SIZEOF_LONG_LONG 8
  14287. | #define SIZEOF___INT64 0
  14288. | #define SIZEOF_OFF_T 8
  14289. | #define SIZEOF_VOIDP 8
  14290. | #define SIZEOF_FLOAT 4
  14291. | #define SIZEOF_DOUBLE 8
  14292. | #define SIZEOF_TIME_T 8
  14293. | #define PRI_LL_PREFIX "ll"
  14294. | #define rb_pid_t pid_t
  14295. | #define PIDT2NUM(v) INT2NUM(v)
  14296. | #define NUM2PIDT(v) NUM2INT(v)
  14297. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  14298. | #define rb_uid_t uid_t
  14299. | #define UIDT2NUM(v) UINT2NUM(v)
  14300. | #define NUM2UIDT(v) NUM2UINT(v)
  14301. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  14302. | #define rb_gid_t gid_t
  14303. | #define GIDT2NUM(v) UINT2NUM(v)
  14304. | #define NUM2GIDT(v) NUM2UINT(v)
  14305. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  14306. | #define rb_time_t time_t
  14307. | #define TIMET2NUM(v) LONG2NUM(v)
  14308. | #define NUM2TIMET(v) NUM2LONG(v)
  14309. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  14310. | #define rb_dev_t dev_t
  14311. | #define DEVT2NUM(v) ULONG2NUM(v)
  14312. | #define NUM2DEVT(v) NUM2ULONG(v)
  14313. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  14314. | #define rb_mode_t mode_t
  14315. | #define MODET2NUM(v) UINT2NUM(v)
  14316. | #define NUM2MODET(v) NUM2UINT(v)
  14317. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  14318. | #define rb_rlim_t rlim_t
  14319. | #define RLIM2NUM(v) ULONG2NUM(v)
  14320. | #define NUM2RLIM(v) NUM2ULONG(v)
  14321. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  14322. | #define HAVE_PROTOTYPES 1
  14323. | #define TOKEN_PASTE(x,y) x##y
  14324. | #define STRINGIZE(expr) STRINGIZE0(expr)
  14325. | #define HAVE_STDARG_PROTOTYPES 1
  14326. | #define HAVE_VA_ARGS_MACRO 1
  14327. | #define NORETURN(x) __attribute__ ((noreturn)) x
  14328. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  14329. | #define NOINLINE(x) __attribute__ ((noinline)) x
  14330. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  14331. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  14332. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  14333. | #define HAVE_GCC_SYNC_BUILTINS 1
  14334. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  14335. | #define HAVE_DECL_SYS_NERR 1
  14336. | #define HAVE_LIBCRYPT 1
  14337. | #define HAVE_LIBDL 1
  14338. | #define HAVE_LIBRT 1
  14339. | #define HAVE_DIRENT_H 1
  14340. | #define HAVE__BOOL 1
  14341. | #define HAVE_STDBOOL_H 1
  14342. | #define HAVE_SYS_WAIT_H 1
  14343. | #define HAVE_LIMITS_H 1
  14344. | #define HAVE_SYS_FILE_H 1
  14345. | #define HAVE_SYS_IOCTL_H 1
  14346. | #define HAVE_SYS_SYSCALL_H 1
  14347. | #define HAVE_FCNTL_H 1
  14348. | #define HAVE_SYS_FCNTL_H 1
  14349. | #define HAVE_SYS_SELECT_H 1
  14350. | #define HAVE_SYS_TIME_H 1
  14351. | #define HAVE_SYS_TIMES_H 1
  14352. | #define HAVE_SYS_PARAM_H 1
  14353. | #define HAVE_SYSCALL_H 1
  14354. | #define HAVE_PWD_H 1
  14355. | #define HAVE_GRP_H 1
  14356. | #define HAVE_A_OUT_H 1
  14357. | #define HAVE_UTIME_H 1
  14358. | #define HAVE_SYS_RESOURCE_H 1
  14359. | #define HAVE_NETINET_IN_SYSTM_H 1
  14360. | #define HAVE_FLOAT_H 1
  14361. | #define HAVE_UCONTEXT_H 1
  14362. | #define HAVE_LANGINFO_H 1
  14363. | #define HAVE_LOCALE_H 1
  14364. | #define HAVE_SYS_SENDFILE_H 1
  14365. | #define HAVE_TIME_H 1
  14366. | #define HAVE_SYS_SOCKET_H 1
  14367. | #define SIZEOF_SIZE_T 8
  14368. | #define SIZEOF_PTRDIFF_T 8
  14369. | #define PRI_SIZE_PREFIX "z"
  14370. | #define PRI_PTRDIFF_PREFIX "t"
  14371. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  14372. | #define HAVE_ST_BLKSIZE 1
  14373. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  14374. | #define HAVE_ST_BLOCKS 1
  14375. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  14376. | #define HAVE_ST_RDEV 1
  14377. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  14378. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  14379. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  14380. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  14381. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  14382. | #define HAVE_STRUCT_TIMEVAL 1
  14383. | #define HAVE_STRUCT_TIMESPEC 1
  14384. | #define HAVE_STRUCT_TIMEZONE 1
  14385. | #define HAVE_CLOCKID_T 1
  14386. | #define HAVE_RB_FD_INIT 1
  14387. | #define HAVE_INT8_T 1
  14388. | #define SIZEOF_INT8_T 1
  14389. | #define HAVE_UINT8_T 1
  14390. | #define SIZEOF_UINT8_T 1
  14391. | #define HAVE_INT16_T 1
  14392. | #define SIZEOF_INT16_T 2
  14393. | #define HAVE_UINT16_T 1
  14394. | #define SIZEOF_UINT16_T 2
  14395. | #define HAVE_INT32_T 1
  14396. | #define SIZEOF_INT32_T 4
  14397. | #define HAVE_UINT32_T 1
  14398. | #define SIZEOF_UINT32_T 4
  14399. | #define HAVE_INT64_T 1
  14400. | #define SIZEOF_INT64_T 8
  14401. | #define HAVE_UINT64_T 1
  14402. | #define SIZEOF_UINT64_T 8
  14403. | #define HAVE_INTPTR_T 1
  14404. | #define SIZEOF_INTPTR_T 8
  14405. | #define HAVE_UINTPTR_T 1
  14406. | #define SIZEOF_UINTPTR_T 8
  14407. | #define HAVE_SSIZE_T 1
  14408. | #define SIZEOF_SSIZE_T 8
  14409. | #define STACK_END_ADDRESS __libc_stack_end
  14410. | #define GETGROUPS_T gid_t
  14411. | #define RETSIGTYPE void
  14412. | #define HAVE_ALLOCA_H 1
  14413. | #define HAVE_ALLOCA 1
  14414. | #define HAVE_DUP2 1
  14415. | #define HAVE_MEMMOVE 1
  14416. | #define HAVE_STRERROR 1
  14417. | #define HAVE_STRCHR 1
  14418. | #define HAVE_STRSTR 1
  14419. | #define HAVE_CRYPT 1
  14420. | #define HAVE_FLOCK 1
  14421. | #define HAVE_ISNAN 1
  14422. | #define HAVE_FINITE 1
  14423. | #define HAVE_ISINF 1
  14424. | #define HAVE_HYPOT 1
  14425. | #define HAVE_ACOSH 1
  14426. | #define HAVE_ERF 1
  14427. | #define HAVE_TGAMMA 1
  14428. | #define HAVE_LGAMMA_R 1
  14429. | #define HAVE_CBRT 1
  14430. | #define HAVE_FFS 1
  14431. | #define SPT_TYPE SPT_REUSEARGV
  14432. | #define HAVE_SIGNBIT 1
  14433. | #define HAVE_FMOD 1
  14434. | #define HAVE_KILLPG 1
  14435. | #define HAVE_WAIT4 1
  14436. | #define HAVE_WAITPID 1
  14437. | #define HAVE_FORK 1
  14438. | #define HAVE_SYSCALL 1
  14439. | #define HAVE_CHROOT 1
  14440. | #define HAVE_GETCWD 1
  14441. | #define HAVE_EACCESS 1
  14442. | #define HAVE_TRUNCATE 1
  14443. | #define HAVE_FTRUNCATE 1
  14444. | #define HAVE_FTELLO 1
  14445. | #define HAVE_TIMES 1
  14446. | #define HAVE_UTIMES 1
  14447. | #define HAVE_UTIMENSAT 1
  14448. | #define HAVE_FCNTL 1
  14449. | #define HAVE_LOCKF 1
  14450. | #define HAVE_LSTAT 1
  14451. | #define HAVE_TRUNCATE64 1
  14452. | #define HAVE_FTRUNCATE64 1
  14453. | #define HAVE_FTELLO64 1
  14454. | #define HAVE_FSEEKO 1
  14455. | #define HAVE_FSEEKO64 1
  14456. | #define HAVE_LINK 1
  14457. | #define HAVE_SYMLINK 1
  14458. | #define HAVE_READLINK 1
  14459. | #define HAVE_READDIR_R 1
  14460. | #define HAVE_FSYNC 1
  14461. | #define HAVE_FDATASYNC 1
  14462. | #define HAVE_FCHOWN 1
  14463. | #define HAVE_POSIX_FADVISE 1
  14464. | #define HAVE_SETITIMER 1
  14465. | #define HAVE_SETEUID 1
  14466. | #define HAVE_SETREUID 1
  14467. | #define HAVE_SETRESUID 1
  14468. | #define HAVE_SOCKETPAIR 1
  14469. | #define HAVE_SETEGID 1
  14470. | #define HAVE_SETREGID 1
  14471. | #define HAVE_SETRESGID 1
  14472. | #define HAVE_PAUSE 1
  14473. | #define HAVE_LCHOWN 1
  14474. | #define HAVE_GETPGRP 1
  14475. | #define HAVE_SETPGRP 1
  14476. | #define HAVE_GETPGID 1
  14477. | #define HAVE_SETPGID 1
  14478. | #define HAVE_INITGROUPS 1
  14479. | #define HAVE_GETGROUPS 1
  14480. | #define HAVE_SETGROUPS 1
  14481. | #define HAVE_GETPRIORITY 1
  14482. | #define HAVE_GETRLIMIT 1
  14483. | #define HAVE_SETRLIMIT 1
  14484. | #define HAVE_SYSCONF 1
  14485. | #define HAVE_CLOSE 1
  14486. | #define HAVE_GETGRNAM_R 1
  14487. | #define HAVE_DLOPEN 1
  14488. | #define HAVE_SIGPROCMASK 1
  14489. | #define HAVE_SIGACTION 1
  14490. | /* end confdefs.h. */
  14491. | /* Define sigsetjmp to an innocuous variant, in case <limits.h> declares sigsetjmp.
  14492. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  14493. | #define sigsetjmp innocuous_sigsetjmp
  14494. |
  14495. | /* System header to define __stub macros and hopefully few prototypes,
  14496. | which can conflict with char sigsetjmp (); below.
  14497. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14498. | <limits.h> exists even on freestanding compilers. */
  14499. |
  14500. | #ifdef __STDC__
  14501. | # include <limits.h>
  14502. | #else
  14503. | # include <assert.h>
  14504. | #endif
  14505. |
  14506. | #undef sigsetjmp
  14507. |
  14508. | /* Override any GCC internal prototype to avoid an error.
  14509. | Use char because int might match the return type of a GCC
  14510. | builtin and then its argument prototype would still apply. */
  14511. | #ifdef __cplusplus
  14512. | extern "C"
  14513. | #endif
  14514. | char sigsetjmp ();
  14515. | /* The GNU C library defines this for functions which it implements
  14516. | to always fail with ENOSYS. Some functions are actually named
  14517. | something starting with __ and the normal name is an alias. */
  14518. | #if defined __stub_sigsetjmp || defined __stub___sigsetjmp
  14519. | choke me
  14520. | #endif
  14521. |
  14522. | int
  14523. | main ()
  14524. | {
  14525. | return sigsetjmp ();
  14526. | ;
  14527. | return 0;
  14528. | }
  14529. configure:14701: result: no
  14530. configure:14701: checking for _setjmp
  14531. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14532. configure:14701: $? = 0
  14533. configure:14701: result: yes
  14534. configure:14701: checking for _longjmp
  14535. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14536. configure:14701: $? = 0
  14537. configure:14701: result: yes
  14538. configure:14701: checking for setsid
  14539. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14540. configure:14701: $? = 0
  14541. configure:14701: result: yes
  14542. configure:14701: checking for telldir
  14543. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14544. configure:14701: $? = 0
  14545. configure:14701: result: yes
  14546. configure:14701: checking for seekdir
  14547. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14548. configure:14701: $? = 0
  14549. configure:14701: result: yes
  14550. configure:14701: checking for fchmod
  14551. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14552. configure:14701: $? = 0
  14553. configure:14701: result: yes
  14554. configure:14701: checking for cosh
  14555. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14556. conftest.c:263:6: warning: conflicting types for built-in function 'cosh'
  14557. char cosh ();
  14558. ^
  14559. configure:14701: $? = 0
  14560. configure:14701: result: yes
  14561. configure:14701: checking for sinh
  14562. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14563. conftest.c:264:6: warning: conflicting types for built-in function 'sinh'
  14564. char sinh ();
  14565. ^
  14566. configure:14701: $? = 0
  14567. configure:14701: result: yes
  14568. configure:14701: checking for tanh
  14569. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14570. conftest.c:265:6: warning: conflicting types for built-in function 'tanh'
  14571. char tanh ();
  14572. ^
  14573. configure:14701: $? = 0
  14574. configure:14701: result: yes
  14575. configure:14701: checking for log2
  14576. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14577. conftest.c:266:6: warning: conflicting types for built-in function 'log2'
  14578. char log2 ();
  14579. ^
  14580. configure:14701: $? = 0
  14581. configure:14701: result: yes
  14582. configure:14701: checking for round
  14583. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14584. conftest.c:267:6: warning: conflicting types for built-in function 'round'
  14585. char round ();
  14586. ^
  14587. configure:14701: $? = 0
  14588. configure:14701: result: yes
  14589. configure:14701: checking for setuid
  14590. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14591. configure:14701: $? = 0
  14592. configure:14701: result: yes
  14593. configure:14701: checking for setgid
  14594. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14595. configure:14701: $? = 0
  14596. configure:14701: result: yes
  14597. configure:14701: checking for daemon
  14598. configure:14701: result: no
  14599. configure:14701: checking for select_large_fdset
  14600. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14601. /tmp/cco9lP7a.o: In function `main':
  14602. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:281: undefined reference to `select_large_fdset'
  14603. collect2: error: ld returned 1 exit status
  14604. configure:14701: $? = 1
  14605. configure: failed program was:
  14606. | /* confdefs.h */
  14607. | #define PACKAGE_NAME ""
  14608. | #define PACKAGE_TARNAME ""
  14609. | #define PACKAGE_VERSION ""
  14610. | #define PACKAGE_STRING ""
  14611. | #define PACKAGE_BUGREPORT ""
  14612. | #define PACKAGE_URL ""
  14613. | #define CANONICALIZATION_FOR_MATHN 1
  14614. | #define STDC_HEADERS 1
  14615. | #define HAVE_SYS_TYPES_H 1
  14616. | #define HAVE_SYS_STAT_H 1
  14617. | #define HAVE_STDLIB_H 1
  14618. | #define HAVE_STRING_H 1
  14619. | #define HAVE_MEMORY_H 1
  14620. | #define HAVE_STRINGS_H 1
  14621. | #define HAVE_INTTYPES_H 1
  14622. | #define HAVE_STDINT_H 1
  14623. | #define HAVE_UNISTD_H 1
  14624. | #define __EXTENSIONS__ 1
  14625. | #define _ALL_SOURCE 1
  14626. | #define _GNU_SOURCE 1
  14627. | #define _POSIX_PTHREAD_SEMANTICS 1
  14628. | #define _TANDEM_SOURCE 1
  14629. | #define HAVE_LONG_LONG 1
  14630. | #define HAVE_OFF_T 1
  14631. | #define SIZEOF_INT 4
  14632. | #define SIZEOF_SHORT 2
  14633. | #define SIZEOF_LONG 8
  14634. | #define SIZEOF_LONG_LONG 8
  14635. | #define SIZEOF___INT64 0
  14636. | #define SIZEOF_OFF_T 8
  14637. | #define SIZEOF_VOIDP 8
  14638. | #define SIZEOF_FLOAT 4
  14639. | #define SIZEOF_DOUBLE 8
  14640. | #define SIZEOF_TIME_T 8
  14641. | #define PRI_LL_PREFIX "ll"
  14642. | #define rb_pid_t pid_t
  14643. | #define PIDT2NUM(v) INT2NUM(v)
  14644. | #define NUM2PIDT(v) NUM2INT(v)
  14645. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  14646. | #define rb_uid_t uid_t
  14647. | #define UIDT2NUM(v) UINT2NUM(v)
  14648. | #define NUM2UIDT(v) NUM2UINT(v)
  14649. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  14650. | #define rb_gid_t gid_t
  14651. | #define GIDT2NUM(v) UINT2NUM(v)
  14652. | #define NUM2GIDT(v) NUM2UINT(v)
  14653. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  14654. | #define rb_time_t time_t
  14655. | #define TIMET2NUM(v) LONG2NUM(v)
  14656. | #define NUM2TIMET(v) NUM2LONG(v)
  14657. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  14658. | #define rb_dev_t dev_t
  14659. | #define DEVT2NUM(v) ULONG2NUM(v)
  14660. | #define NUM2DEVT(v) NUM2ULONG(v)
  14661. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  14662. | #define rb_mode_t mode_t
  14663. | #define MODET2NUM(v) UINT2NUM(v)
  14664. | #define NUM2MODET(v) NUM2UINT(v)
  14665. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  14666. | #define rb_rlim_t rlim_t
  14667. | #define RLIM2NUM(v) ULONG2NUM(v)
  14668. | #define NUM2RLIM(v) NUM2ULONG(v)
  14669. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  14670. | #define HAVE_PROTOTYPES 1
  14671. | #define TOKEN_PASTE(x,y) x##y
  14672. | #define STRINGIZE(expr) STRINGIZE0(expr)
  14673. | #define HAVE_STDARG_PROTOTYPES 1
  14674. | #define HAVE_VA_ARGS_MACRO 1
  14675. | #define NORETURN(x) __attribute__ ((noreturn)) x
  14676. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  14677. | #define NOINLINE(x) __attribute__ ((noinline)) x
  14678. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  14679. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  14680. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  14681. | #define HAVE_GCC_SYNC_BUILTINS 1
  14682. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  14683. | #define HAVE_DECL_SYS_NERR 1
  14684. | #define HAVE_LIBCRYPT 1
  14685. | #define HAVE_LIBDL 1
  14686. | #define HAVE_LIBRT 1
  14687. | #define HAVE_DIRENT_H 1
  14688. | #define HAVE__BOOL 1
  14689. | #define HAVE_STDBOOL_H 1
  14690. | #define HAVE_SYS_WAIT_H 1
  14691. | #define HAVE_LIMITS_H 1
  14692. | #define HAVE_SYS_FILE_H 1
  14693. | #define HAVE_SYS_IOCTL_H 1
  14694. | #define HAVE_SYS_SYSCALL_H 1
  14695. | #define HAVE_FCNTL_H 1
  14696. | #define HAVE_SYS_FCNTL_H 1
  14697. | #define HAVE_SYS_SELECT_H 1
  14698. | #define HAVE_SYS_TIME_H 1
  14699. | #define HAVE_SYS_TIMES_H 1
  14700. | #define HAVE_SYS_PARAM_H 1
  14701. | #define HAVE_SYSCALL_H 1
  14702. | #define HAVE_PWD_H 1
  14703. | #define HAVE_GRP_H 1
  14704. | #define HAVE_A_OUT_H 1
  14705. | #define HAVE_UTIME_H 1
  14706. | #define HAVE_SYS_RESOURCE_H 1
  14707. | #define HAVE_NETINET_IN_SYSTM_H 1
  14708. | #define HAVE_FLOAT_H 1
  14709. | #define HAVE_UCONTEXT_H 1
  14710. | #define HAVE_LANGINFO_H 1
  14711. | #define HAVE_LOCALE_H 1
  14712. | #define HAVE_SYS_SENDFILE_H 1
  14713. | #define HAVE_TIME_H 1
  14714. | #define HAVE_SYS_SOCKET_H 1
  14715. | #define SIZEOF_SIZE_T 8
  14716. | #define SIZEOF_PTRDIFF_T 8
  14717. | #define PRI_SIZE_PREFIX "z"
  14718. | #define PRI_PTRDIFF_PREFIX "t"
  14719. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  14720. | #define HAVE_ST_BLKSIZE 1
  14721. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  14722. | #define HAVE_ST_BLOCKS 1
  14723. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  14724. | #define HAVE_ST_RDEV 1
  14725. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  14726. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  14727. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  14728. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  14729. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  14730. | #define HAVE_STRUCT_TIMEVAL 1
  14731. | #define HAVE_STRUCT_TIMESPEC 1
  14732. | #define HAVE_STRUCT_TIMEZONE 1
  14733. | #define HAVE_CLOCKID_T 1
  14734. | #define HAVE_RB_FD_INIT 1
  14735. | #define HAVE_INT8_T 1
  14736. | #define SIZEOF_INT8_T 1
  14737. | #define HAVE_UINT8_T 1
  14738. | #define SIZEOF_UINT8_T 1
  14739. | #define HAVE_INT16_T 1
  14740. | #define SIZEOF_INT16_T 2
  14741. | #define HAVE_UINT16_T 1
  14742. | #define SIZEOF_UINT16_T 2
  14743. | #define HAVE_INT32_T 1
  14744. | #define SIZEOF_INT32_T 4
  14745. | #define HAVE_UINT32_T 1
  14746. | #define SIZEOF_UINT32_T 4
  14747. | #define HAVE_INT64_T 1
  14748. | #define SIZEOF_INT64_T 8
  14749. | #define HAVE_UINT64_T 1
  14750. | #define SIZEOF_UINT64_T 8
  14751. | #define HAVE_INTPTR_T 1
  14752. | #define SIZEOF_INTPTR_T 8
  14753. | #define HAVE_UINTPTR_T 1
  14754. | #define SIZEOF_UINTPTR_T 8
  14755. | #define HAVE_SSIZE_T 1
  14756. | #define SIZEOF_SSIZE_T 8
  14757. | #define STACK_END_ADDRESS __libc_stack_end
  14758. | #define GETGROUPS_T gid_t
  14759. | #define RETSIGTYPE void
  14760. | #define HAVE_ALLOCA_H 1
  14761. | #define HAVE_ALLOCA 1
  14762. | #define HAVE_DUP2 1
  14763. | #define HAVE_MEMMOVE 1
  14764. | #define HAVE_STRERROR 1
  14765. | #define HAVE_STRCHR 1
  14766. | #define HAVE_STRSTR 1
  14767. | #define HAVE_CRYPT 1
  14768. | #define HAVE_FLOCK 1
  14769. | #define HAVE_ISNAN 1
  14770. | #define HAVE_FINITE 1
  14771. | #define HAVE_ISINF 1
  14772. | #define HAVE_HYPOT 1
  14773. | #define HAVE_ACOSH 1
  14774. | #define HAVE_ERF 1
  14775. | #define HAVE_TGAMMA 1
  14776. | #define HAVE_LGAMMA_R 1
  14777. | #define HAVE_CBRT 1
  14778. | #define HAVE_FFS 1
  14779. | #define SPT_TYPE SPT_REUSEARGV
  14780. | #define HAVE_SIGNBIT 1
  14781. | #define HAVE_FMOD 1
  14782. | #define HAVE_KILLPG 1
  14783. | #define HAVE_WAIT4 1
  14784. | #define HAVE_WAITPID 1
  14785. | #define HAVE_FORK 1
  14786. | #define HAVE_SYSCALL 1
  14787. | #define HAVE_CHROOT 1
  14788. | #define HAVE_GETCWD 1
  14789. | #define HAVE_EACCESS 1
  14790. | #define HAVE_TRUNCATE 1
  14791. | #define HAVE_FTRUNCATE 1
  14792. | #define HAVE_FTELLO 1
  14793. | #define HAVE_TIMES 1
  14794. | #define HAVE_UTIMES 1
  14795. | #define HAVE_UTIMENSAT 1
  14796. | #define HAVE_FCNTL 1
  14797. | #define HAVE_LOCKF 1
  14798. | #define HAVE_LSTAT 1
  14799. | #define HAVE_TRUNCATE64 1
  14800. | #define HAVE_FTRUNCATE64 1
  14801. | #define HAVE_FTELLO64 1
  14802. | #define HAVE_FSEEKO 1
  14803. | #define HAVE_FSEEKO64 1
  14804. | #define HAVE_LINK 1
  14805. | #define HAVE_SYMLINK 1
  14806. | #define HAVE_READLINK 1
  14807. | #define HAVE_READDIR_R 1
  14808. | #define HAVE_FSYNC 1
  14809. | #define HAVE_FDATASYNC 1
  14810. | #define HAVE_FCHOWN 1
  14811. | #define HAVE_POSIX_FADVISE 1
  14812. | #define HAVE_SETITIMER 1
  14813. | #define HAVE_SETEUID 1
  14814. | #define HAVE_SETREUID 1
  14815. | #define HAVE_SETRESUID 1
  14816. | #define HAVE_SOCKETPAIR 1
  14817. | #define HAVE_SETEGID 1
  14818. | #define HAVE_SETREGID 1
  14819. | #define HAVE_SETRESGID 1
  14820. | #define HAVE_PAUSE 1
  14821. | #define HAVE_LCHOWN 1
  14822. | #define HAVE_GETPGRP 1
  14823. | #define HAVE_SETPGRP 1
  14824. | #define HAVE_GETPGID 1
  14825. | #define HAVE_SETPGID 1
  14826. | #define HAVE_INITGROUPS 1
  14827. | #define HAVE_GETGROUPS 1
  14828. | #define HAVE_SETGROUPS 1
  14829. | #define HAVE_GETPRIORITY 1
  14830. | #define HAVE_GETRLIMIT 1
  14831. | #define HAVE_SETRLIMIT 1
  14832. | #define HAVE_SYSCONF 1
  14833. | #define HAVE_CLOSE 1
  14834. | #define HAVE_GETGRNAM_R 1
  14835. | #define HAVE_DLOPEN 1
  14836. | #define HAVE_SIGPROCMASK 1
  14837. | #define HAVE_SIGACTION 1
  14838. | #define HAVE__SETJMP 1
  14839. | #define HAVE__LONGJMP 1
  14840. | #define HAVE_SETSID 1
  14841. | #define HAVE_TELLDIR 1
  14842. | #define HAVE_SEEKDIR 1
  14843. | #define HAVE_FCHMOD 1
  14844. | #define HAVE_COSH 1
  14845. | #define HAVE_SINH 1
  14846. | #define HAVE_TANH 1
  14847. | #define HAVE_LOG2 1
  14848. | #define HAVE_ROUND 1
  14849. | #define HAVE_SETUID 1
  14850. | #define HAVE_SETGID 1
  14851. | /* end confdefs.h. */
  14852. | /* Define select_large_fdset to an innocuous variant, in case <limits.h> declares select_large_fdset.
  14853. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  14854. | #define select_large_fdset innocuous_select_large_fdset
  14855. |
  14856. | /* System header to define __stub macros and hopefully few prototypes,
  14857. | which can conflict with char select_large_fdset (); below.
  14858. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14859. | <limits.h> exists even on freestanding compilers. */
  14860. |
  14861. | #ifdef __STDC__
  14862. | # include <limits.h>
  14863. | #else
  14864. | # include <assert.h>
  14865. | #endif
  14866. |
  14867. | #undef select_large_fdset
  14868. |
  14869. | /* Override any GCC internal prototype to avoid an error.
  14870. | Use char because int might match the return type of a GCC
  14871. | builtin and then its argument prototype would still apply. */
  14872. | #ifdef __cplusplus
  14873. | extern "C"
  14874. | #endif
  14875. | char select_large_fdset ();
  14876. | /* The GNU C library defines this for functions which it implements
  14877. | to always fail with ENOSYS. Some functions are actually named
  14878. | something starting with __ and the normal name is an alias. */
  14879. | #if defined __stub_select_large_fdset || defined __stub___select_large_fdset
  14880. | choke me
  14881. | #endif
  14882. |
  14883. | int
  14884. | main ()
  14885. | {
  14886. | return select_large_fdset ();
  14887. | ;
  14888. | return 0;
  14889. | }
  14890. configure:14701: result: no
  14891. configure:14701: checking for setenv
  14892. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14893. configure:14701: $? = 0
  14894. configure:14701: result: yes
  14895. configure:14701: checking for unsetenv
  14896. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14897. configure:14701: $? = 0
  14898. configure:14701: result: yes
  14899. configure:14701: checking for mktime
  14900. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14901. configure:14701: $? = 0
  14902. configure:14701: result: yes
  14903. configure:14701: checking for timegm
  14904. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14905. configure:14701: $? = 0
  14906. configure:14701: result: yes
  14907. configure:14701: checking for gmtime_r
  14908. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14909. configure:14701: $? = 0
  14910. configure:14701: result: yes
  14911. configure:14701: checking for clock_gettime
  14912. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14913. configure:14701: $? = 0
  14914. configure:14701: result: yes
  14915. configure:14701: checking for gettimeofday
  14916. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14917. configure:14701: $? = 0
  14918. configure:14701: result: yes
  14919. configure:14701: checking for poll
  14920. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14921. configure:14701: $? = 0
  14922. configure:14701: result: yes
  14923. configure:14701: checking for ppoll
  14924. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14925. configure:14701: $? = 0
  14926. configure:14701: result: yes
  14927. configure:14701: checking for pread
  14928. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14929. configure:14701: $? = 0
  14930. configure:14701: result: yes
  14931. configure:14701: checking for sendfile
  14932. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14933. configure:14701: $? = 0
  14934. configure:14701: result: yes
  14935. configure:14701: checking for shutdown
  14936. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14937. configure:14701: $? = 0
  14938. configure:14701: result: yes
  14939. configure:14701: checking for sigaltstack
  14940. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14941. configure:14701: $? = 0
  14942. configure:14701: result: yes
  14943. configure:14701: checking for dl_iterate_phdr
  14944. configure:14701: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14945. configure:14701: $? = 0
  14946. configure:14701: result: yes
  14947. configure:14711: checking for unsetenv returns a value
  14948. configure:14729: gcc -c -O3 -ggdb conftest.c >&5
  14949. configure:14729: $? = 0
  14950. configure:14736: result: yes
  14951. configure:14743: checking for __builtin_setjmp
  14952. configure:14760: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  14953. conftest.c: In function 't':
  14954. conftest.c:262:35: error: '__builtin_longjmp' second argument must be 1
  14955. jmp_buf jb; void t(v) int v; {__builtin_longjmp(jb, v);}
  14956. ^
  14957. configure:14760: $? = 1
  14958. configure: failed program was:
  14959. | /* confdefs.h */
  14960. | #define PACKAGE_NAME ""
  14961. | #define PACKAGE_TARNAME ""
  14962. | #define PACKAGE_VERSION ""
  14963. | #define PACKAGE_STRING ""
  14964. | #define PACKAGE_BUGREPORT ""
  14965. | #define PACKAGE_URL ""
  14966. | #define CANONICALIZATION_FOR_MATHN 1
  14967. | #define STDC_HEADERS 1
  14968. | #define HAVE_SYS_TYPES_H 1
  14969. | #define HAVE_SYS_STAT_H 1
  14970. | #define HAVE_STDLIB_H 1
  14971. | #define HAVE_STRING_H 1
  14972. | #define HAVE_MEMORY_H 1
  14973. | #define HAVE_STRINGS_H 1
  14974. | #define HAVE_INTTYPES_H 1
  14975. | #define HAVE_STDINT_H 1
  14976. | #define HAVE_UNISTD_H 1
  14977. | #define __EXTENSIONS__ 1
  14978. | #define _ALL_SOURCE 1
  14979. | #define _GNU_SOURCE 1
  14980. | #define _POSIX_PTHREAD_SEMANTICS 1
  14981. | #define _TANDEM_SOURCE 1
  14982. | #define HAVE_LONG_LONG 1
  14983. | #define HAVE_OFF_T 1
  14984. | #define SIZEOF_INT 4
  14985. | #define SIZEOF_SHORT 2
  14986. | #define SIZEOF_LONG 8
  14987. | #define SIZEOF_LONG_LONG 8
  14988. | #define SIZEOF___INT64 0
  14989. | #define SIZEOF_OFF_T 8
  14990. | #define SIZEOF_VOIDP 8
  14991. | #define SIZEOF_FLOAT 4
  14992. | #define SIZEOF_DOUBLE 8
  14993. | #define SIZEOF_TIME_T 8
  14994. | #define PRI_LL_PREFIX "ll"
  14995. | #define rb_pid_t pid_t
  14996. | #define PIDT2NUM(v) INT2NUM(v)
  14997. | #define NUM2PIDT(v) NUM2INT(v)
  14998. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  14999. | #define rb_uid_t uid_t
  15000. | #define UIDT2NUM(v) UINT2NUM(v)
  15001. | #define NUM2UIDT(v) NUM2UINT(v)
  15002. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  15003. | #define rb_gid_t gid_t
  15004. | #define GIDT2NUM(v) UINT2NUM(v)
  15005. | #define NUM2GIDT(v) NUM2UINT(v)
  15006. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  15007. | #define rb_time_t time_t
  15008. | #define TIMET2NUM(v) LONG2NUM(v)
  15009. | #define NUM2TIMET(v) NUM2LONG(v)
  15010. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  15011. | #define rb_dev_t dev_t
  15012. | #define DEVT2NUM(v) ULONG2NUM(v)
  15013. | #define NUM2DEVT(v) NUM2ULONG(v)
  15014. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  15015. | #define rb_mode_t mode_t
  15016. | #define MODET2NUM(v) UINT2NUM(v)
  15017. | #define NUM2MODET(v) NUM2UINT(v)
  15018. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  15019. | #define rb_rlim_t rlim_t
  15020. | #define RLIM2NUM(v) ULONG2NUM(v)
  15021. | #define NUM2RLIM(v) NUM2ULONG(v)
  15022. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  15023. | #define HAVE_PROTOTYPES 1
  15024. | #define TOKEN_PASTE(x,y) x##y
  15025. | #define STRINGIZE(expr) STRINGIZE0(expr)
  15026. | #define HAVE_STDARG_PROTOTYPES 1
  15027. | #define HAVE_VA_ARGS_MACRO 1
  15028. | #define NORETURN(x) __attribute__ ((noreturn)) x
  15029. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  15030. | #define NOINLINE(x) __attribute__ ((noinline)) x
  15031. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  15032. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  15033. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  15034. | #define HAVE_GCC_SYNC_BUILTINS 1
  15035. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  15036. | #define HAVE_DECL_SYS_NERR 1
  15037. | #define HAVE_LIBCRYPT 1
  15038. | #define HAVE_LIBDL 1
  15039. | #define HAVE_LIBRT 1
  15040. | #define HAVE_DIRENT_H 1
  15041. | #define HAVE__BOOL 1
  15042. | #define HAVE_STDBOOL_H 1
  15043. | #define HAVE_SYS_WAIT_H 1
  15044. | #define HAVE_LIMITS_H 1
  15045. | #define HAVE_SYS_FILE_H 1
  15046. | #define HAVE_SYS_IOCTL_H 1
  15047. | #define HAVE_SYS_SYSCALL_H 1
  15048. | #define HAVE_FCNTL_H 1
  15049. | #define HAVE_SYS_FCNTL_H 1
  15050. | #define HAVE_SYS_SELECT_H 1
  15051. | #define HAVE_SYS_TIME_H 1
  15052. | #define HAVE_SYS_TIMES_H 1
  15053. | #define HAVE_SYS_PARAM_H 1
  15054. | #define HAVE_SYSCALL_H 1
  15055. | #define HAVE_PWD_H 1
  15056. | #define HAVE_GRP_H 1
  15057. | #define HAVE_A_OUT_H 1
  15058. | #define HAVE_UTIME_H 1
  15059. | #define HAVE_SYS_RESOURCE_H 1
  15060. | #define HAVE_NETINET_IN_SYSTM_H 1
  15061. | #define HAVE_FLOAT_H 1
  15062. | #define HAVE_UCONTEXT_H 1
  15063. | #define HAVE_LANGINFO_H 1
  15064. | #define HAVE_LOCALE_H 1
  15065. | #define HAVE_SYS_SENDFILE_H 1
  15066. | #define HAVE_TIME_H 1
  15067. | #define HAVE_SYS_SOCKET_H 1
  15068. | #define SIZEOF_SIZE_T 8
  15069. | #define SIZEOF_PTRDIFF_T 8
  15070. | #define PRI_SIZE_PREFIX "z"
  15071. | #define PRI_PTRDIFF_PREFIX "t"
  15072. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  15073. | #define HAVE_ST_BLKSIZE 1
  15074. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  15075. | #define HAVE_ST_BLOCKS 1
  15076. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  15077. | #define HAVE_ST_RDEV 1
  15078. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  15079. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  15080. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  15081. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  15082. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  15083. | #define HAVE_STRUCT_TIMEVAL 1
  15084. | #define HAVE_STRUCT_TIMESPEC 1
  15085. | #define HAVE_STRUCT_TIMEZONE 1
  15086. | #define HAVE_CLOCKID_T 1
  15087. | #define HAVE_RB_FD_INIT 1
  15088. | #define HAVE_INT8_T 1
  15089. | #define SIZEOF_INT8_T 1
  15090. | #define HAVE_UINT8_T 1
  15091. | #define SIZEOF_UINT8_T 1
  15092. | #define HAVE_INT16_T 1
  15093. | #define SIZEOF_INT16_T 2
  15094. | #define HAVE_UINT16_T 1
  15095. | #define SIZEOF_UINT16_T 2
  15096. | #define HAVE_INT32_T 1
  15097. | #define SIZEOF_INT32_T 4
  15098. | #define HAVE_UINT32_T 1
  15099. | #define SIZEOF_UINT32_T 4
  15100. | #define HAVE_INT64_T 1
  15101. | #define SIZEOF_INT64_T 8
  15102. | #define HAVE_UINT64_T 1
  15103. | #define SIZEOF_UINT64_T 8
  15104. | #define HAVE_INTPTR_T 1
  15105. | #define SIZEOF_INTPTR_T 8
  15106. | #define HAVE_UINTPTR_T 1
  15107. | #define SIZEOF_UINTPTR_T 8
  15108. | #define HAVE_SSIZE_T 1
  15109. | #define SIZEOF_SSIZE_T 8
  15110. | #define STACK_END_ADDRESS __libc_stack_end
  15111. | #define GETGROUPS_T gid_t
  15112. | #define RETSIGTYPE void
  15113. | #define HAVE_ALLOCA_H 1
  15114. | #define HAVE_ALLOCA 1
  15115. | #define HAVE_DUP2 1
  15116. | #define HAVE_MEMMOVE 1
  15117. | #define HAVE_STRERROR 1
  15118. | #define HAVE_STRCHR 1
  15119. | #define HAVE_STRSTR 1
  15120. | #define HAVE_CRYPT 1
  15121. | #define HAVE_FLOCK 1
  15122. | #define HAVE_ISNAN 1
  15123. | #define HAVE_FINITE 1
  15124. | #define HAVE_ISINF 1
  15125. | #define HAVE_HYPOT 1
  15126. | #define HAVE_ACOSH 1
  15127. | #define HAVE_ERF 1
  15128. | #define HAVE_TGAMMA 1
  15129. | #define HAVE_LGAMMA_R 1
  15130. | #define HAVE_CBRT 1
  15131. | #define HAVE_FFS 1
  15132. | #define SPT_TYPE SPT_REUSEARGV
  15133. | #define HAVE_SIGNBIT 1
  15134. | #define HAVE_FMOD 1
  15135. | #define HAVE_KILLPG 1
  15136. | #define HAVE_WAIT4 1
  15137. | #define HAVE_WAITPID 1
  15138. | #define HAVE_FORK 1
  15139. | #define HAVE_SYSCALL 1
  15140. | #define HAVE_CHROOT 1
  15141. | #define HAVE_GETCWD 1
  15142. | #define HAVE_EACCESS 1
  15143. | #define HAVE_TRUNCATE 1
  15144. | #define HAVE_FTRUNCATE 1
  15145. | #define HAVE_FTELLO 1
  15146. | #define HAVE_TIMES 1
  15147. | #define HAVE_UTIMES 1
  15148. | #define HAVE_UTIMENSAT 1
  15149. | #define HAVE_FCNTL 1
  15150. | #define HAVE_LOCKF 1
  15151. | #define HAVE_LSTAT 1
  15152. | #define HAVE_TRUNCATE64 1
  15153. | #define HAVE_FTRUNCATE64 1
  15154. | #define HAVE_FTELLO64 1
  15155. | #define HAVE_FSEEKO 1
  15156. | #define HAVE_FSEEKO64 1
  15157. | #define HAVE_LINK 1
  15158. | #define HAVE_SYMLINK 1
  15159. | #define HAVE_READLINK 1
  15160. | #define HAVE_READDIR_R 1
  15161. | #define HAVE_FSYNC 1
  15162. | #define HAVE_FDATASYNC 1
  15163. | #define HAVE_FCHOWN 1
  15164. | #define HAVE_POSIX_FADVISE 1
  15165. | #define HAVE_SETITIMER 1
  15166. | #define HAVE_SETEUID 1
  15167. | #define HAVE_SETREUID 1
  15168. | #define HAVE_SETRESUID 1
  15169. | #define HAVE_SOCKETPAIR 1
  15170. | #define HAVE_SETEGID 1
  15171. | #define HAVE_SETREGID 1
  15172. | #define HAVE_SETRESGID 1
  15173. | #define HAVE_PAUSE 1
  15174. | #define HAVE_LCHOWN 1
  15175. | #define HAVE_GETPGRP 1
  15176. | #define HAVE_SETPGRP 1
  15177. | #define HAVE_GETPGID 1
  15178. | #define HAVE_SETPGID 1
  15179. | #define HAVE_INITGROUPS 1
  15180. | #define HAVE_GETGROUPS 1
  15181. | #define HAVE_SETGROUPS 1
  15182. | #define HAVE_GETPRIORITY 1
  15183. | #define HAVE_GETRLIMIT 1
  15184. | #define HAVE_SETRLIMIT 1
  15185. | #define HAVE_SYSCONF 1
  15186. | #define HAVE_CLOSE 1
  15187. | #define HAVE_GETGRNAM_R 1
  15188. | #define HAVE_DLOPEN 1
  15189. | #define HAVE_SIGPROCMASK 1
  15190. | #define HAVE_SIGACTION 1
  15191. | #define HAVE__SETJMP 1
  15192. | #define HAVE__LONGJMP 1
  15193. | #define HAVE_SETSID 1
  15194. | #define HAVE_TELLDIR 1
  15195. | #define HAVE_SEEKDIR 1
  15196. | #define HAVE_FCHMOD 1
  15197. | #define HAVE_COSH 1
  15198. | #define HAVE_SINH 1
  15199. | #define HAVE_TANH 1
  15200. | #define HAVE_LOG2 1
  15201. | #define HAVE_ROUND 1
  15202. | #define HAVE_SETUID 1
  15203. | #define HAVE_SETGID 1
  15204. | #define HAVE_SETENV 1
  15205. | #define HAVE_UNSETENV 1
  15206. | #define HAVE_MKTIME 1
  15207. | #define HAVE_TIMEGM 1
  15208. | #define HAVE_GMTIME_R 1
  15209. | #define HAVE_CLOCK_GETTIME 1
  15210. | #define HAVE_GETTIMEOFDAY 1
  15211. | #define HAVE_POLL 1
  15212. | #define HAVE_PPOLL 1
  15213. | #define HAVE_PREAD 1
  15214. | #define HAVE_SENDFILE 1
  15215. | #define HAVE_SHUTDOWN 1
  15216. | #define HAVE_SIGALTSTACK 1
  15217. | #define HAVE_DL_ITERATE_PHDR 1
  15218. | /* end confdefs.h. */
  15219. | #include <setjmp.h>
  15220. | jmp_buf jb; void t(v) int v; {__builtin_longjmp(jb, v);}
  15221. | int
  15222. | main ()
  15223. | {
  15224. | __builtin_setjmp(jb);
  15225. | ;
  15226. | return 0;
  15227. | }
  15228. configure:14769: result: no
  15229. configure:14774: checking for setjmp type
  15230. configure:14821: result: _setjmp
  15231. configure:14847: checking whether struct tm is in sys/time.h or time.h
  15232. configure:14867: gcc -c -O3 -ggdb conftest.c >&5
  15233. configure:14867: $? = 0
  15234. configure:14874: result: time.h
  15235. configure:14882: checking for struct tm.tm_zone
  15236. configure:14882: gcc -c -O3 -ggdb conftest.c >&5
  15237. configure:14882: $? = 0
  15238. configure:14882: result: yes
  15239. configure:14949: checking for struct tm.tm_gmtoff
  15240. configure:14965: gcc -c -O3 -ggdb conftest.c >&5
  15241. configure:14965: $? = 0
  15242. configure:14972: result: yes
  15243. configure:14978: checking for external int daylight
  15244. configure:14995: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  15245. configure:14995: $? = 0
  15246. configure:15003: result: yes
  15247. configure:15010: checking for external timezone
  15248. configure:15033: gcc -c -O3 -ggdb conftest.c >&5
  15249. configure:15033: $? = 0
  15250. configure:15053: gcc -c -O3 -ggdb conftest.c >&5
  15251. configure:15053: $? = 0
  15252. configure:15061: result: long
  15253. configure:15071: checking for external altzone
  15254. configure:15094: gcc -c -O3 -ggdb conftest.c >&5
  15255. conftest.c: In function 'main':
  15256. conftest.c:280:8: error: 'altzone' undeclared (first use in this function)
  15257. t = &(&altzone)[0];
  15258. ^
  15259. conftest.c:280:8: note: each undeclared identifier is reported only once for each function it appears in
  15260. configure:15094: $? = 1
  15261. configure: failed program was:
  15262. | /* confdefs.h */
  15263. | #define PACKAGE_NAME ""
  15264. | #define PACKAGE_TARNAME ""
  15265. | #define PACKAGE_VERSION ""
  15266. | #define PACKAGE_STRING ""
  15267. | #define PACKAGE_BUGREPORT ""
  15268. | #define PACKAGE_URL ""
  15269. | #define CANONICALIZATION_FOR_MATHN 1
  15270. | #define STDC_HEADERS 1
  15271. | #define HAVE_SYS_TYPES_H 1
  15272. | #define HAVE_SYS_STAT_H 1
  15273. | #define HAVE_STDLIB_H 1
  15274. | #define HAVE_STRING_H 1
  15275. | #define HAVE_MEMORY_H 1
  15276. | #define HAVE_STRINGS_H 1
  15277. | #define HAVE_INTTYPES_H 1
  15278. | #define HAVE_STDINT_H 1
  15279. | #define HAVE_UNISTD_H 1
  15280. | #define __EXTENSIONS__ 1
  15281. | #define _ALL_SOURCE 1
  15282. | #define _GNU_SOURCE 1
  15283. | #define _POSIX_PTHREAD_SEMANTICS 1
  15284. | #define _TANDEM_SOURCE 1
  15285. | #define HAVE_LONG_LONG 1
  15286. | #define HAVE_OFF_T 1
  15287. | #define SIZEOF_INT 4
  15288. | #define SIZEOF_SHORT 2
  15289. | #define SIZEOF_LONG 8
  15290. | #define SIZEOF_LONG_LONG 8
  15291. | #define SIZEOF___INT64 0
  15292. | #define SIZEOF_OFF_T 8
  15293. | #define SIZEOF_VOIDP 8
  15294. | #define SIZEOF_FLOAT 4
  15295. | #define SIZEOF_DOUBLE 8
  15296. | #define SIZEOF_TIME_T 8
  15297. | #define PRI_LL_PREFIX "ll"
  15298. | #define rb_pid_t pid_t
  15299. | #define PIDT2NUM(v) INT2NUM(v)
  15300. | #define NUM2PIDT(v) NUM2INT(v)
  15301. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  15302. | #define rb_uid_t uid_t
  15303. | #define UIDT2NUM(v) UINT2NUM(v)
  15304. | #define NUM2UIDT(v) NUM2UINT(v)
  15305. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  15306. | #define rb_gid_t gid_t
  15307. | #define GIDT2NUM(v) UINT2NUM(v)
  15308. | #define NUM2GIDT(v) NUM2UINT(v)
  15309. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  15310. | #define rb_time_t time_t
  15311. | #define TIMET2NUM(v) LONG2NUM(v)
  15312. | #define NUM2TIMET(v) NUM2LONG(v)
  15313. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  15314. | #define rb_dev_t dev_t
  15315. | #define DEVT2NUM(v) ULONG2NUM(v)
  15316. | #define NUM2DEVT(v) NUM2ULONG(v)
  15317. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  15318. | #define rb_mode_t mode_t
  15319. | #define MODET2NUM(v) UINT2NUM(v)
  15320. | #define NUM2MODET(v) NUM2UINT(v)
  15321. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  15322. | #define rb_rlim_t rlim_t
  15323. | #define RLIM2NUM(v) ULONG2NUM(v)
  15324. | #define NUM2RLIM(v) NUM2ULONG(v)
  15325. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  15326. | #define HAVE_PROTOTYPES 1
  15327. | #define TOKEN_PASTE(x,y) x##y
  15328. | #define STRINGIZE(expr) STRINGIZE0(expr)
  15329. | #define HAVE_STDARG_PROTOTYPES 1
  15330. | #define HAVE_VA_ARGS_MACRO 1
  15331. | #define NORETURN(x) __attribute__ ((noreturn)) x
  15332. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  15333. | #define NOINLINE(x) __attribute__ ((noinline)) x
  15334. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  15335. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  15336. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  15337. | #define HAVE_GCC_SYNC_BUILTINS 1
  15338. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  15339. | #define HAVE_DECL_SYS_NERR 1
  15340. | #define HAVE_LIBCRYPT 1
  15341. | #define HAVE_LIBDL 1
  15342. | #define HAVE_LIBRT 1
  15343. | #define HAVE_DIRENT_H 1
  15344. | #define HAVE__BOOL 1
  15345. | #define HAVE_STDBOOL_H 1
  15346. | #define HAVE_SYS_WAIT_H 1
  15347. | #define HAVE_LIMITS_H 1
  15348. | #define HAVE_SYS_FILE_H 1
  15349. | #define HAVE_SYS_IOCTL_H 1
  15350. | #define HAVE_SYS_SYSCALL_H 1
  15351. | #define HAVE_FCNTL_H 1
  15352. | #define HAVE_SYS_FCNTL_H 1
  15353. | #define HAVE_SYS_SELECT_H 1
  15354. | #define HAVE_SYS_TIME_H 1
  15355. | #define HAVE_SYS_TIMES_H 1
  15356. | #define HAVE_SYS_PARAM_H 1
  15357. | #define HAVE_SYSCALL_H 1
  15358. | #define HAVE_PWD_H 1
  15359. | #define HAVE_GRP_H 1
  15360. | #define HAVE_A_OUT_H 1
  15361. | #define HAVE_UTIME_H 1
  15362. | #define HAVE_SYS_RESOURCE_H 1
  15363. | #define HAVE_NETINET_IN_SYSTM_H 1
  15364. | #define HAVE_FLOAT_H 1
  15365. | #define HAVE_UCONTEXT_H 1
  15366. | #define HAVE_LANGINFO_H 1
  15367. | #define HAVE_LOCALE_H 1
  15368. | #define HAVE_SYS_SENDFILE_H 1
  15369. | #define HAVE_TIME_H 1
  15370. | #define HAVE_SYS_SOCKET_H 1
  15371. | #define SIZEOF_SIZE_T 8
  15372. | #define SIZEOF_PTRDIFF_T 8
  15373. | #define PRI_SIZE_PREFIX "z"
  15374. | #define PRI_PTRDIFF_PREFIX "t"
  15375. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  15376. | #define HAVE_ST_BLKSIZE 1
  15377. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  15378. | #define HAVE_ST_BLOCKS 1
  15379. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  15380. | #define HAVE_ST_RDEV 1
  15381. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  15382. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  15383. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  15384. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  15385. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  15386. | #define HAVE_STRUCT_TIMEVAL 1
  15387. | #define HAVE_STRUCT_TIMESPEC 1
  15388. | #define HAVE_STRUCT_TIMEZONE 1
  15389. | #define HAVE_CLOCKID_T 1
  15390. | #define HAVE_RB_FD_INIT 1
  15391. | #define HAVE_INT8_T 1
  15392. | #define SIZEOF_INT8_T 1
  15393. | #define HAVE_UINT8_T 1
  15394. | #define SIZEOF_UINT8_T 1
  15395. | #define HAVE_INT16_T 1
  15396. | #define SIZEOF_INT16_T 2
  15397. | #define HAVE_UINT16_T 1
  15398. | #define SIZEOF_UINT16_T 2
  15399. | #define HAVE_INT32_T 1
  15400. | #define SIZEOF_INT32_T 4
  15401. | #define HAVE_UINT32_T 1
  15402. | #define SIZEOF_UINT32_T 4
  15403. | #define HAVE_INT64_T 1
  15404. | #define SIZEOF_INT64_T 8
  15405. | #define HAVE_UINT64_T 1
  15406. | #define SIZEOF_UINT64_T 8
  15407. | #define HAVE_INTPTR_T 1
  15408. | #define SIZEOF_INTPTR_T 8
  15409. | #define HAVE_UINTPTR_T 1
  15410. | #define SIZEOF_UINTPTR_T 8
  15411. | #define HAVE_SSIZE_T 1
  15412. | #define SIZEOF_SSIZE_T 8
  15413. | #define STACK_END_ADDRESS __libc_stack_end
  15414. | #define GETGROUPS_T gid_t
  15415. | #define RETSIGTYPE void
  15416. | #define HAVE_ALLOCA_H 1
  15417. | #define HAVE_ALLOCA 1
  15418. | #define HAVE_DUP2 1
  15419. | #define HAVE_MEMMOVE 1
  15420. | #define HAVE_STRERROR 1
  15421. | #define HAVE_STRCHR 1
  15422. | #define HAVE_STRSTR 1
  15423. | #define HAVE_CRYPT 1
  15424. | #define HAVE_FLOCK 1
  15425. | #define HAVE_ISNAN 1
  15426. | #define HAVE_FINITE 1
  15427. | #define HAVE_ISINF 1
  15428. | #define HAVE_HYPOT 1
  15429. | #define HAVE_ACOSH 1
  15430. | #define HAVE_ERF 1
  15431. | #define HAVE_TGAMMA 1
  15432. | #define HAVE_LGAMMA_R 1
  15433. | #define HAVE_CBRT 1
  15434. | #define HAVE_FFS 1
  15435. | #define SPT_TYPE SPT_REUSEARGV
  15436. | #define HAVE_SIGNBIT 1
  15437. | #define HAVE_FMOD 1
  15438. | #define HAVE_KILLPG 1
  15439. | #define HAVE_WAIT4 1
  15440. | #define HAVE_WAITPID 1
  15441. | #define HAVE_FORK 1
  15442. | #define HAVE_SYSCALL 1
  15443. | #define HAVE_CHROOT 1
  15444. | #define HAVE_GETCWD 1
  15445. | #define HAVE_EACCESS 1
  15446. | #define HAVE_TRUNCATE 1
  15447. | #define HAVE_FTRUNCATE 1
  15448. | #define HAVE_FTELLO 1
  15449. | #define HAVE_TIMES 1
  15450. | #define HAVE_UTIMES 1
  15451. | #define HAVE_UTIMENSAT 1
  15452. | #define HAVE_FCNTL 1
  15453. | #define HAVE_LOCKF 1
  15454. | #define HAVE_LSTAT 1
  15455. | #define HAVE_TRUNCATE64 1
  15456. | #define HAVE_FTRUNCATE64 1
  15457. | #define HAVE_FTELLO64 1
  15458. | #define HAVE_FSEEKO 1
  15459. | #define HAVE_FSEEKO64 1
  15460. | #define HAVE_LINK 1
  15461. | #define HAVE_SYMLINK 1
  15462. | #define HAVE_READLINK 1
  15463. | #define HAVE_READDIR_R 1
  15464. | #define HAVE_FSYNC 1
  15465. | #define HAVE_FDATASYNC 1
  15466. | #define HAVE_FCHOWN 1
  15467. | #define HAVE_POSIX_FADVISE 1
  15468. | #define HAVE_SETITIMER 1
  15469. | #define HAVE_SETEUID 1
  15470. | #define HAVE_SETREUID 1
  15471. | #define HAVE_SETRESUID 1
  15472. | #define HAVE_SOCKETPAIR 1
  15473. | #define HAVE_SETEGID 1
  15474. | #define HAVE_SETREGID 1
  15475. | #define HAVE_SETRESGID 1
  15476. | #define HAVE_PAUSE 1
  15477. | #define HAVE_LCHOWN 1
  15478. | #define HAVE_GETPGRP 1
  15479. | #define HAVE_SETPGRP 1
  15480. | #define HAVE_GETPGID 1
  15481. | #define HAVE_SETPGID 1
  15482. | #define HAVE_INITGROUPS 1
  15483. | #define HAVE_GETGROUPS 1
  15484. | #define HAVE_SETGROUPS 1
  15485. | #define HAVE_GETPRIORITY 1
  15486. | #define HAVE_GETRLIMIT 1
  15487. | #define HAVE_SETRLIMIT 1
  15488. | #define HAVE_SYSCONF 1
  15489. | #define HAVE_CLOSE 1
  15490. | #define HAVE_GETGRNAM_R 1
  15491. | #define HAVE_DLOPEN 1
  15492. | #define HAVE_SIGPROCMASK 1
  15493. | #define HAVE_SIGACTION 1
  15494. | #define HAVE__SETJMP 1
  15495. | #define HAVE__LONGJMP 1
  15496. | #define HAVE_SETSID 1
  15497. | #define HAVE_TELLDIR 1
  15498. | #define HAVE_SEEKDIR 1
  15499. | #define HAVE_FCHMOD 1
  15500. | #define HAVE_COSH 1
  15501. | #define HAVE_SINH 1
  15502. | #define HAVE_TANH 1
  15503. | #define HAVE_LOG2 1
  15504. | #define HAVE_ROUND 1
  15505. | #define HAVE_SETUID 1
  15506. | #define HAVE_SETGID 1
  15507. | #define HAVE_SETENV 1
  15508. | #define HAVE_UNSETENV 1
  15509. | #define HAVE_MKTIME 1
  15510. | #define HAVE_TIMEGM 1
  15511. | #define HAVE_GMTIME_R 1
  15512. | #define HAVE_CLOCK_GETTIME 1
  15513. | #define HAVE_GETTIMEOFDAY 1
  15514. | #define HAVE_POLL 1
  15515. | #define HAVE_PPOLL 1
  15516. | #define HAVE_PREAD 1
  15517. | #define HAVE_SENDFILE 1
  15518. | #define HAVE_SHUTDOWN 1
  15519. | #define HAVE_SIGALTSTACK 1
  15520. | #define HAVE_DL_ITERATE_PHDR 1
  15521. | #define RUBY_SETJMP(env) _setjmp(env)
  15522. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  15523. | #define RUBY_JMP_BUF jmp_buf
  15524. | #define HAVE_STRUCT_TM_TM_ZONE 1
  15525. | #define HAVE_TM_ZONE 1
  15526. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  15527. | #define HAVE_DAYLIGHT 1
  15528. | #define HAVE_VAR_TIMEZONE 1
  15529. | #define TYPEOF_VAR_TIMEZONE long
  15530. | /* end confdefs.h. */
  15531. |
  15532. | #ifndef _XOPEN_SOURCE
  15533. | #define _XOPEN_SOURCE 1
  15534. | #endif
  15535. | #include <time.h>
  15536. | ;
  15537. | const volatile void *volatile t;
  15538. | int
  15539. | main ()
  15540. | {
  15541. | t = &(&altzone)[0];
  15542. | ;
  15543. | return 0;
  15544. | }
  15545. configure:15122: result: no
  15546. configure:15134: checking for timezone
  15547. configure:15134: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  15548. configure:15134: $? = 0
  15549. configure:15134: result: yes
  15550. configure:15144: checking whether timezone requires zero arguments
  15551. configure:15160: gcc -c -O3 -ggdb conftest.c >&5
  15552. conftest.c: In function 'main':
  15553. conftest.c:275:7: error: called object 'timezone' is not a function or function pointer
  15554. (void)timezone(0, 0);
  15555. ^
  15556. In file included from conftest.c:271:0:
  15557. /usr/include/time.h:298:17: note: declared here
  15558. extern long int timezone;
  15559. ^
  15560. configure:15160: $? = 1
  15561. configure: failed program was:
  15562. | /* confdefs.h */
  15563. | #define PACKAGE_NAME ""
  15564. | #define PACKAGE_TARNAME ""
  15565. | #define PACKAGE_VERSION ""
  15566. | #define PACKAGE_STRING ""
  15567. | #define PACKAGE_BUGREPORT ""
  15568. | #define PACKAGE_URL ""
  15569. | #define CANONICALIZATION_FOR_MATHN 1
  15570. | #define STDC_HEADERS 1
  15571. | #define HAVE_SYS_TYPES_H 1
  15572. | #define HAVE_SYS_STAT_H 1
  15573. | #define HAVE_STDLIB_H 1
  15574. | #define HAVE_STRING_H 1
  15575. | #define HAVE_MEMORY_H 1
  15576. | #define HAVE_STRINGS_H 1
  15577. | #define HAVE_INTTYPES_H 1
  15578. | #define HAVE_STDINT_H 1
  15579. | #define HAVE_UNISTD_H 1
  15580. | #define __EXTENSIONS__ 1
  15581. | #define _ALL_SOURCE 1
  15582. | #define _GNU_SOURCE 1
  15583. | #define _POSIX_PTHREAD_SEMANTICS 1
  15584. | #define _TANDEM_SOURCE 1
  15585. | #define HAVE_LONG_LONG 1
  15586. | #define HAVE_OFF_T 1
  15587. | #define SIZEOF_INT 4
  15588. | #define SIZEOF_SHORT 2
  15589. | #define SIZEOF_LONG 8
  15590. | #define SIZEOF_LONG_LONG 8
  15591. | #define SIZEOF___INT64 0
  15592. | #define SIZEOF_OFF_T 8
  15593. | #define SIZEOF_VOIDP 8
  15594. | #define SIZEOF_FLOAT 4
  15595. | #define SIZEOF_DOUBLE 8
  15596. | #define SIZEOF_TIME_T 8
  15597. | #define PRI_LL_PREFIX "ll"
  15598. | #define rb_pid_t pid_t
  15599. | #define PIDT2NUM(v) INT2NUM(v)
  15600. | #define NUM2PIDT(v) NUM2INT(v)
  15601. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  15602. | #define rb_uid_t uid_t
  15603. | #define UIDT2NUM(v) UINT2NUM(v)
  15604. | #define NUM2UIDT(v) NUM2UINT(v)
  15605. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  15606. | #define rb_gid_t gid_t
  15607. | #define GIDT2NUM(v) UINT2NUM(v)
  15608. | #define NUM2GIDT(v) NUM2UINT(v)
  15609. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  15610. | #define rb_time_t time_t
  15611. | #define TIMET2NUM(v) LONG2NUM(v)
  15612. | #define NUM2TIMET(v) NUM2LONG(v)
  15613. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  15614. | #define rb_dev_t dev_t
  15615. | #define DEVT2NUM(v) ULONG2NUM(v)
  15616. | #define NUM2DEVT(v) NUM2ULONG(v)
  15617. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  15618. | #define rb_mode_t mode_t
  15619. | #define MODET2NUM(v) UINT2NUM(v)
  15620. | #define NUM2MODET(v) NUM2UINT(v)
  15621. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  15622. | #define rb_rlim_t rlim_t
  15623. | #define RLIM2NUM(v) ULONG2NUM(v)
  15624. | #define NUM2RLIM(v) NUM2ULONG(v)
  15625. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  15626. | #define HAVE_PROTOTYPES 1
  15627. | #define TOKEN_PASTE(x,y) x##y
  15628. | #define STRINGIZE(expr) STRINGIZE0(expr)
  15629. | #define HAVE_STDARG_PROTOTYPES 1
  15630. | #define HAVE_VA_ARGS_MACRO 1
  15631. | #define NORETURN(x) __attribute__ ((noreturn)) x
  15632. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  15633. | #define NOINLINE(x) __attribute__ ((noinline)) x
  15634. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  15635. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  15636. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  15637. | #define HAVE_GCC_SYNC_BUILTINS 1
  15638. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  15639. | #define HAVE_DECL_SYS_NERR 1
  15640. | #define HAVE_LIBCRYPT 1
  15641. | #define HAVE_LIBDL 1
  15642. | #define HAVE_LIBRT 1
  15643. | #define HAVE_DIRENT_H 1
  15644. | #define HAVE__BOOL 1
  15645. | #define HAVE_STDBOOL_H 1
  15646. | #define HAVE_SYS_WAIT_H 1
  15647. | #define HAVE_LIMITS_H 1
  15648. | #define HAVE_SYS_FILE_H 1
  15649. | #define HAVE_SYS_IOCTL_H 1
  15650. | #define HAVE_SYS_SYSCALL_H 1
  15651. | #define HAVE_FCNTL_H 1
  15652. | #define HAVE_SYS_FCNTL_H 1
  15653. | #define HAVE_SYS_SELECT_H 1
  15654. | #define HAVE_SYS_TIME_H 1
  15655. | #define HAVE_SYS_TIMES_H 1
  15656. | #define HAVE_SYS_PARAM_H 1
  15657. | #define HAVE_SYSCALL_H 1
  15658. | #define HAVE_PWD_H 1
  15659. | #define HAVE_GRP_H 1
  15660. | #define HAVE_A_OUT_H 1
  15661. | #define HAVE_UTIME_H 1
  15662. | #define HAVE_SYS_RESOURCE_H 1
  15663. | #define HAVE_NETINET_IN_SYSTM_H 1
  15664. | #define HAVE_FLOAT_H 1
  15665. | #define HAVE_UCONTEXT_H 1
  15666. | #define HAVE_LANGINFO_H 1
  15667. | #define HAVE_LOCALE_H 1
  15668. | #define HAVE_SYS_SENDFILE_H 1
  15669. | #define HAVE_TIME_H 1
  15670. | #define HAVE_SYS_SOCKET_H 1
  15671. | #define SIZEOF_SIZE_T 8
  15672. | #define SIZEOF_PTRDIFF_T 8
  15673. | #define PRI_SIZE_PREFIX "z"
  15674. | #define PRI_PTRDIFF_PREFIX "t"
  15675. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  15676. | #define HAVE_ST_BLKSIZE 1
  15677. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  15678. | #define HAVE_ST_BLOCKS 1
  15679. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  15680. | #define HAVE_ST_RDEV 1
  15681. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  15682. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  15683. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  15684. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  15685. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  15686. | #define HAVE_STRUCT_TIMEVAL 1
  15687. | #define HAVE_STRUCT_TIMESPEC 1
  15688. | #define HAVE_STRUCT_TIMEZONE 1
  15689. | #define HAVE_CLOCKID_T 1
  15690. | #define HAVE_RB_FD_INIT 1
  15691. | #define HAVE_INT8_T 1
  15692. | #define SIZEOF_INT8_T 1
  15693. | #define HAVE_UINT8_T 1
  15694. | #define SIZEOF_UINT8_T 1
  15695. | #define HAVE_INT16_T 1
  15696. | #define SIZEOF_INT16_T 2
  15697. | #define HAVE_UINT16_T 1
  15698. | #define SIZEOF_UINT16_T 2
  15699. | #define HAVE_INT32_T 1
  15700. | #define SIZEOF_INT32_T 4
  15701. | #define HAVE_UINT32_T 1
  15702. | #define SIZEOF_UINT32_T 4
  15703. | #define HAVE_INT64_T 1
  15704. | #define SIZEOF_INT64_T 8
  15705. | #define HAVE_UINT64_T 1
  15706. | #define SIZEOF_UINT64_T 8
  15707. | #define HAVE_INTPTR_T 1
  15708. | #define SIZEOF_INTPTR_T 8
  15709. | #define HAVE_UINTPTR_T 1
  15710. | #define SIZEOF_UINTPTR_T 8
  15711. | #define HAVE_SSIZE_T 1
  15712. | #define SIZEOF_SSIZE_T 8
  15713. | #define STACK_END_ADDRESS __libc_stack_end
  15714. | #define GETGROUPS_T gid_t
  15715. | #define RETSIGTYPE void
  15716. | #define HAVE_ALLOCA_H 1
  15717. | #define HAVE_ALLOCA 1
  15718. | #define HAVE_DUP2 1
  15719. | #define HAVE_MEMMOVE 1
  15720. | #define HAVE_STRERROR 1
  15721. | #define HAVE_STRCHR 1
  15722. | #define HAVE_STRSTR 1
  15723. | #define HAVE_CRYPT 1
  15724. | #define HAVE_FLOCK 1
  15725. | #define HAVE_ISNAN 1
  15726. | #define HAVE_FINITE 1
  15727. | #define HAVE_ISINF 1
  15728. | #define HAVE_HYPOT 1
  15729. | #define HAVE_ACOSH 1
  15730. | #define HAVE_ERF 1
  15731. | #define HAVE_TGAMMA 1
  15732. | #define HAVE_LGAMMA_R 1
  15733. | #define HAVE_CBRT 1
  15734. | #define HAVE_FFS 1
  15735. | #define SPT_TYPE SPT_REUSEARGV
  15736. | #define HAVE_SIGNBIT 1
  15737. | #define HAVE_FMOD 1
  15738. | #define HAVE_KILLPG 1
  15739. | #define HAVE_WAIT4 1
  15740. | #define HAVE_WAITPID 1
  15741. | #define HAVE_FORK 1
  15742. | #define HAVE_SYSCALL 1
  15743. | #define HAVE_CHROOT 1
  15744. | #define HAVE_GETCWD 1
  15745. | #define HAVE_EACCESS 1
  15746. | #define HAVE_TRUNCATE 1
  15747. | #define HAVE_FTRUNCATE 1
  15748. | #define HAVE_FTELLO 1
  15749. | #define HAVE_TIMES 1
  15750. | #define HAVE_UTIMES 1
  15751. | #define HAVE_UTIMENSAT 1
  15752. | #define HAVE_FCNTL 1
  15753. | #define HAVE_LOCKF 1
  15754. | #define HAVE_LSTAT 1
  15755. | #define HAVE_TRUNCATE64 1
  15756. | #define HAVE_FTRUNCATE64 1
  15757. | #define HAVE_FTELLO64 1
  15758. | #define HAVE_FSEEKO 1
  15759. | #define HAVE_FSEEKO64 1
  15760. | #define HAVE_LINK 1
  15761. | #define HAVE_SYMLINK 1
  15762. | #define HAVE_READLINK 1
  15763. | #define HAVE_READDIR_R 1
  15764. | #define HAVE_FSYNC 1
  15765. | #define HAVE_FDATASYNC 1
  15766. | #define HAVE_FCHOWN 1
  15767. | #define HAVE_POSIX_FADVISE 1
  15768. | #define HAVE_SETITIMER 1
  15769. | #define HAVE_SETEUID 1
  15770. | #define HAVE_SETREUID 1
  15771. | #define HAVE_SETRESUID 1
  15772. | #define HAVE_SOCKETPAIR 1
  15773. | #define HAVE_SETEGID 1
  15774. | #define HAVE_SETREGID 1
  15775. | #define HAVE_SETRESGID 1
  15776. | #define HAVE_PAUSE 1
  15777. | #define HAVE_LCHOWN 1
  15778. | #define HAVE_GETPGRP 1
  15779. | #define HAVE_SETPGRP 1
  15780. | #define HAVE_GETPGID 1
  15781. | #define HAVE_SETPGID 1
  15782. | #define HAVE_INITGROUPS 1
  15783. | #define HAVE_GETGROUPS 1
  15784. | #define HAVE_SETGROUPS 1
  15785. | #define HAVE_GETPRIORITY 1
  15786. | #define HAVE_GETRLIMIT 1
  15787. | #define HAVE_SETRLIMIT 1
  15788. | #define HAVE_SYSCONF 1
  15789. | #define HAVE_CLOSE 1
  15790. | #define HAVE_GETGRNAM_R 1
  15791. | #define HAVE_DLOPEN 1
  15792. | #define HAVE_SIGPROCMASK 1
  15793. | #define HAVE_SIGACTION 1
  15794. | #define HAVE__SETJMP 1
  15795. | #define HAVE__LONGJMP 1
  15796. | #define HAVE_SETSID 1
  15797. | #define HAVE_TELLDIR 1
  15798. | #define HAVE_SEEKDIR 1
  15799. | #define HAVE_FCHMOD 1
  15800. | #define HAVE_COSH 1
  15801. | #define HAVE_SINH 1
  15802. | #define HAVE_TANH 1
  15803. | #define HAVE_LOG2 1
  15804. | #define HAVE_ROUND 1
  15805. | #define HAVE_SETUID 1
  15806. | #define HAVE_SETGID 1
  15807. | #define HAVE_SETENV 1
  15808. | #define HAVE_UNSETENV 1
  15809. | #define HAVE_MKTIME 1
  15810. | #define HAVE_TIMEGM 1
  15811. | #define HAVE_GMTIME_R 1
  15812. | #define HAVE_CLOCK_GETTIME 1
  15813. | #define HAVE_GETTIMEOFDAY 1
  15814. | #define HAVE_POLL 1
  15815. | #define HAVE_PPOLL 1
  15816. | #define HAVE_PREAD 1
  15817. | #define HAVE_SENDFILE 1
  15818. | #define HAVE_SHUTDOWN 1
  15819. | #define HAVE_SIGALTSTACK 1
  15820. | #define HAVE_DL_ITERATE_PHDR 1
  15821. | #define RUBY_SETJMP(env) _setjmp(env)
  15822. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  15823. | #define RUBY_JMP_BUF jmp_buf
  15824. | #define HAVE_STRUCT_TM_TM_ZONE 1
  15825. | #define HAVE_TM_ZONE 1
  15826. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  15827. | #define HAVE_DAYLIGHT 1
  15828. | #define HAVE_VAR_TIMEZONE 1
  15829. | #define TYPEOF_VAR_TIMEZONE long
  15830. | #define HAVE_TIMEZONE 1
  15831. | /* end confdefs.h. */
  15832. | #include <time.h>
  15833. | int
  15834. | main ()
  15835. | {
  15836. | (void)timezone(0, 0);
  15837. | ;
  15838. | return 0;
  15839. | }
  15840. configure:15168: result: yes
  15841. configure:15176: checking for negative time_t for gmtime(3)
  15842. configure:15218: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  15843. configure:15218: $? = 0
  15844. configure:15218: ./conftest
  15845. configure:15218: $? = 0
  15846. configure:15228: result: yes
  15847. configure:15237: checking for localtime(3) overflow correctly
  15848. configure:15281: gcc -o conftest -O3 -ggdb conftest.c -lrt -ldl -lcrypt -lm >&5
  15849. configure:15281: $? = 0
  15850. configure:15281: ./conftest
  15851. configure:15281: $? = 0
  15852. configure:15291: result: yes
  15853. configure:15478: checking whether right shift preserve sign bit
  15854. configure:15497: gcc -c -O3 -ggdb conftest.c >&5
  15855. configure:15497: $? = 0
  15856. configure:15504: result: yes
  15857. configure:15515: checking read count field in FILE structures
  15858. configure:15534: gcc -c -O3 -ggdb conftest.c >&5
  15859. conftest.c: In function 'main':
  15860. conftest.c:280:19: error: 'FILE {aka struct _IO_FILE}' has no member named '_cnt'
  15861. FILE *f = stdin; f->_cnt = 0;
  15862. ^
  15863. configure:15534: $? = 1
  15864. configure: failed program was:
  15865. | /* confdefs.h */
  15866. | #define PACKAGE_NAME ""
  15867. | #define PACKAGE_TARNAME ""
  15868. | #define PACKAGE_VERSION ""
  15869. | #define PACKAGE_STRING ""
  15870. | #define PACKAGE_BUGREPORT ""
  15871. | #define PACKAGE_URL ""
  15872. | #define CANONICALIZATION_FOR_MATHN 1
  15873. | #define STDC_HEADERS 1
  15874. | #define HAVE_SYS_TYPES_H 1
  15875. | #define HAVE_SYS_STAT_H 1
  15876. | #define HAVE_STDLIB_H 1
  15877. | #define HAVE_STRING_H 1
  15878. | #define HAVE_MEMORY_H 1
  15879. | #define HAVE_STRINGS_H 1
  15880. | #define HAVE_INTTYPES_H 1
  15881. | #define HAVE_STDINT_H 1
  15882. | #define HAVE_UNISTD_H 1
  15883. | #define __EXTENSIONS__ 1
  15884. | #define _ALL_SOURCE 1
  15885. | #define _GNU_SOURCE 1
  15886. | #define _POSIX_PTHREAD_SEMANTICS 1
  15887. | #define _TANDEM_SOURCE 1
  15888. | #define HAVE_LONG_LONG 1
  15889. | #define HAVE_OFF_T 1
  15890. | #define SIZEOF_INT 4
  15891. | #define SIZEOF_SHORT 2
  15892. | #define SIZEOF_LONG 8
  15893. | #define SIZEOF_LONG_LONG 8
  15894. | #define SIZEOF___INT64 0
  15895. | #define SIZEOF_OFF_T 8
  15896. | #define SIZEOF_VOIDP 8
  15897. | #define SIZEOF_FLOAT 4
  15898. | #define SIZEOF_DOUBLE 8
  15899. | #define SIZEOF_TIME_T 8
  15900. | #define PRI_LL_PREFIX "ll"
  15901. | #define rb_pid_t pid_t
  15902. | #define PIDT2NUM(v) INT2NUM(v)
  15903. | #define NUM2PIDT(v) NUM2INT(v)
  15904. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  15905. | #define rb_uid_t uid_t
  15906. | #define UIDT2NUM(v) UINT2NUM(v)
  15907. | #define NUM2UIDT(v) NUM2UINT(v)
  15908. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  15909. | #define rb_gid_t gid_t
  15910. | #define GIDT2NUM(v) UINT2NUM(v)
  15911. | #define NUM2GIDT(v) NUM2UINT(v)
  15912. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  15913. | #define rb_time_t time_t
  15914. | #define TIMET2NUM(v) LONG2NUM(v)
  15915. | #define NUM2TIMET(v) NUM2LONG(v)
  15916. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  15917. | #define rb_dev_t dev_t
  15918. | #define DEVT2NUM(v) ULONG2NUM(v)
  15919. | #define NUM2DEVT(v) NUM2ULONG(v)
  15920. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  15921. | #define rb_mode_t mode_t
  15922. | #define MODET2NUM(v) UINT2NUM(v)
  15923. | #define NUM2MODET(v) NUM2UINT(v)
  15924. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  15925. | #define rb_rlim_t rlim_t
  15926. | #define RLIM2NUM(v) ULONG2NUM(v)
  15927. | #define NUM2RLIM(v) NUM2ULONG(v)
  15928. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  15929. | #define HAVE_PROTOTYPES 1
  15930. | #define TOKEN_PASTE(x,y) x##y
  15931. | #define STRINGIZE(expr) STRINGIZE0(expr)
  15932. | #define HAVE_STDARG_PROTOTYPES 1
  15933. | #define HAVE_VA_ARGS_MACRO 1
  15934. | #define NORETURN(x) __attribute__ ((noreturn)) x
  15935. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  15936. | #define NOINLINE(x) __attribute__ ((noinline)) x
  15937. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  15938. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  15939. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  15940. | #define HAVE_GCC_SYNC_BUILTINS 1
  15941. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  15942. | #define HAVE_DECL_SYS_NERR 1
  15943. | #define HAVE_LIBCRYPT 1
  15944. | #define HAVE_LIBDL 1
  15945. | #define HAVE_LIBRT 1
  15946. | #define HAVE_DIRENT_H 1
  15947. | #define HAVE__BOOL 1
  15948. | #define HAVE_STDBOOL_H 1
  15949. | #define HAVE_SYS_WAIT_H 1
  15950. | #define HAVE_LIMITS_H 1
  15951. | #define HAVE_SYS_FILE_H 1
  15952. | #define HAVE_SYS_IOCTL_H 1
  15953. | #define HAVE_SYS_SYSCALL_H 1
  15954. | #define HAVE_FCNTL_H 1
  15955. | #define HAVE_SYS_FCNTL_H 1
  15956. | #define HAVE_SYS_SELECT_H 1
  15957. | #define HAVE_SYS_TIME_H 1
  15958. | #define HAVE_SYS_TIMES_H 1
  15959. | #define HAVE_SYS_PARAM_H 1
  15960. | #define HAVE_SYSCALL_H 1
  15961. | #define HAVE_PWD_H 1
  15962. | #define HAVE_GRP_H 1
  15963. | #define HAVE_A_OUT_H 1
  15964. | #define HAVE_UTIME_H 1
  15965. | #define HAVE_SYS_RESOURCE_H 1
  15966. | #define HAVE_NETINET_IN_SYSTM_H 1
  15967. | #define HAVE_FLOAT_H 1
  15968. | #define HAVE_UCONTEXT_H 1
  15969. | #define HAVE_LANGINFO_H 1
  15970. | #define HAVE_LOCALE_H 1
  15971. | #define HAVE_SYS_SENDFILE_H 1
  15972. | #define HAVE_TIME_H 1
  15973. | #define HAVE_SYS_SOCKET_H 1
  15974. | #define SIZEOF_SIZE_T 8
  15975. | #define SIZEOF_PTRDIFF_T 8
  15976. | #define PRI_SIZE_PREFIX "z"
  15977. | #define PRI_PTRDIFF_PREFIX "t"
  15978. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  15979. | #define HAVE_ST_BLKSIZE 1
  15980. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  15981. | #define HAVE_ST_BLOCKS 1
  15982. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  15983. | #define HAVE_ST_RDEV 1
  15984. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  15985. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  15986. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  15987. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  15988. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  15989. | #define HAVE_STRUCT_TIMEVAL 1
  15990. | #define HAVE_STRUCT_TIMESPEC 1
  15991. | #define HAVE_STRUCT_TIMEZONE 1
  15992. | #define HAVE_CLOCKID_T 1
  15993. | #define HAVE_RB_FD_INIT 1
  15994. | #define HAVE_INT8_T 1
  15995. | #define SIZEOF_INT8_T 1
  15996. | #define HAVE_UINT8_T 1
  15997. | #define SIZEOF_UINT8_T 1
  15998. | #define HAVE_INT16_T 1
  15999. | #define SIZEOF_INT16_T 2
  16000. | #define HAVE_UINT16_T 1
  16001. | #define SIZEOF_UINT16_T 2
  16002. | #define HAVE_INT32_T 1
  16003. | #define SIZEOF_INT32_T 4
  16004. | #define HAVE_UINT32_T 1
  16005. | #define SIZEOF_UINT32_T 4
  16006. | #define HAVE_INT64_T 1
  16007. | #define SIZEOF_INT64_T 8
  16008. | #define HAVE_UINT64_T 1
  16009. | #define SIZEOF_UINT64_T 8
  16010. | #define HAVE_INTPTR_T 1
  16011. | #define SIZEOF_INTPTR_T 8
  16012. | #define HAVE_UINTPTR_T 1
  16013. | #define SIZEOF_UINTPTR_T 8
  16014. | #define HAVE_SSIZE_T 1
  16015. | #define SIZEOF_SSIZE_T 8
  16016. | #define STACK_END_ADDRESS __libc_stack_end
  16017. | #define GETGROUPS_T gid_t
  16018. | #define RETSIGTYPE void
  16019. | #define HAVE_ALLOCA_H 1
  16020. | #define HAVE_ALLOCA 1
  16021. | #define HAVE_DUP2 1
  16022. | #define HAVE_MEMMOVE 1
  16023. | #define HAVE_STRERROR 1
  16024. | #define HAVE_STRCHR 1
  16025. | #define HAVE_STRSTR 1
  16026. | #define HAVE_CRYPT 1
  16027. | #define HAVE_FLOCK 1
  16028. | #define HAVE_ISNAN 1
  16029. | #define HAVE_FINITE 1
  16030. | #define HAVE_ISINF 1
  16031. | #define HAVE_HYPOT 1
  16032. | #define HAVE_ACOSH 1
  16033. | #define HAVE_ERF 1
  16034. | #define HAVE_TGAMMA 1
  16035. | #define HAVE_LGAMMA_R 1
  16036. | #define HAVE_CBRT 1
  16037. | #define HAVE_FFS 1
  16038. | #define SPT_TYPE SPT_REUSEARGV
  16039. | #define HAVE_SIGNBIT 1
  16040. | #define HAVE_FMOD 1
  16041. | #define HAVE_KILLPG 1
  16042. | #define HAVE_WAIT4 1
  16043. | #define HAVE_WAITPID 1
  16044. | #define HAVE_FORK 1
  16045. | #define HAVE_SYSCALL 1
  16046. | #define HAVE_CHROOT 1
  16047. | #define HAVE_GETCWD 1
  16048. | #define HAVE_EACCESS 1
  16049. | #define HAVE_TRUNCATE 1
  16050. | #define HAVE_FTRUNCATE 1
  16051. | #define HAVE_FTELLO 1
  16052. | #define HAVE_TIMES 1
  16053. | #define HAVE_UTIMES 1
  16054. | #define HAVE_UTIMENSAT 1
  16055. | #define HAVE_FCNTL 1
  16056. | #define HAVE_LOCKF 1
  16057. | #define HAVE_LSTAT 1
  16058. | #define HAVE_TRUNCATE64 1
  16059. | #define HAVE_FTRUNCATE64 1
  16060. | #define HAVE_FTELLO64 1
  16061. | #define HAVE_FSEEKO 1
  16062. | #define HAVE_FSEEKO64 1
  16063. | #define HAVE_LINK 1
  16064. | #define HAVE_SYMLINK 1
  16065. | #define HAVE_READLINK 1
  16066. | #define HAVE_READDIR_R 1
  16067. | #define HAVE_FSYNC 1
  16068. | #define HAVE_FDATASYNC 1
  16069. | #define HAVE_FCHOWN 1
  16070. | #define HAVE_POSIX_FADVISE 1
  16071. | #define HAVE_SETITIMER 1
  16072. | #define HAVE_SETEUID 1
  16073. | #define HAVE_SETREUID 1
  16074. | #define HAVE_SETRESUID 1
  16075. | #define HAVE_SOCKETPAIR 1
  16076. | #define HAVE_SETEGID 1
  16077. | #define HAVE_SETREGID 1
  16078. | #define HAVE_SETRESGID 1
  16079. | #define HAVE_PAUSE 1
  16080. | #define HAVE_LCHOWN 1
  16081. | #define HAVE_GETPGRP 1
  16082. | #define HAVE_SETPGRP 1
  16083. | #define HAVE_GETPGID 1
  16084. | #define HAVE_SETPGID 1
  16085. | #define HAVE_INITGROUPS 1
  16086. | #define HAVE_GETGROUPS 1
  16087. | #define HAVE_SETGROUPS 1
  16088. | #define HAVE_GETPRIORITY 1
  16089. | #define HAVE_GETRLIMIT 1
  16090. | #define HAVE_SETRLIMIT 1
  16091. | #define HAVE_SYSCONF 1
  16092. | #define HAVE_CLOSE 1
  16093. | #define HAVE_GETGRNAM_R 1
  16094. | #define HAVE_DLOPEN 1
  16095. | #define HAVE_SIGPROCMASK 1
  16096. | #define HAVE_SIGACTION 1
  16097. | #define HAVE__SETJMP 1
  16098. | #define HAVE__LONGJMP 1
  16099. | #define HAVE_SETSID 1
  16100. | #define HAVE_TELLDIR 1
  16101. | #define HAVE_SEEKDIR 1
  16102. | #define HAVE_FCHMOD 1
  16103. | #define HAVE_COSH 1
  16104. | #define HAVE_SINH 1
  16105. | #define HAVE_TANH 1
  16106. | #define HAVE_LOG2 1
  16107. | #define HAVE_ROUND 1
  16108. | #define HAVE_SETUID 1
  16109. | #define HAVE_SETGID 1
  16110. | #define HAVE_SETENV 1
  16111. | #define HAVE_UNSETENV 1
  16112. | #define HAVE_MKTIME 1
  16113. | #define HAVE_TIMEGM 1
  16114. | #define HAVE_GMTIME_R 1
  16115. | #define HAVE_CLOCK_GETTIME 1
  16116. | #define HAVE_GETTIMEOFDAY 1
  16117. | #define HAVE_POLL 1
  16118. | #define HAVE_PPOLL 1
  16119. | #define HAVE_PREAD 1
  16120. | #define HAVE_SENDFILE 1
  16121. | #define HAVE_SHUTDOWN 1
  16122. | #define HAVE_SIGALTSTACK 1
  16123. | #define HAVE_DL_ITERATE_PHDR 1
  16124. | #define RUBY_SETJMP(env) _setjmp(env)
  16125. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  16126. | #define RUBY_JMP_BUF jmp_buf
  16127. | #define HAVE_STRUCT_TM_TM_ZONE 1
  16128. | #define HAVE_TM_ZONE 1
  16129. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  16130. | #define HAVE_DAYLIGHT 1
  16131. | #define HAVE_VAR_TIMEZONE 1
  16132. | #define TYPEOF_VAR_TIMEZONE long
  16133. | #define HAVE_TIMEZONE 1
  16134. | #define TIMEZONE_VOID 1
  16135. | #define NEGATIVE_TIME_T 1
  16136. | #define POSIX_SIGNAL 1
  16137. | #define RSHIFT(x,y) ((x)>>(int)(y))
  16138. | /* end confdefs.h. */
  16139. | #include <stdio.h>
  16140. |
  16141. | int
  16142. | main ()
  16143. | {
  16144. | FILE *f = stdin; f->_cnt = 0;
  16145. | ;
  16146. | return 0;
  16147. | }
  16148. configure:15534: gcc -c -O3 -ggdb conftest.c >&5
  16149. conftest.c: In function 'main':
  16150. conftest.c:280:19: error: 'FILE {aka struct _IO_FILE}' has no member named '__cnt'
  16151. FILE *f = stdin; f->__cnt = 0;
  16152. ^
  16153. configure:15534: $? = 1
  16154. configure: failed program was:
  16155. | /* confdefs.h */
  16156. | #define PACKAGE_NAME ""
  16157. | #define PACKAGE_TARNAME ""
  16158. | #define PACKAGE_VERSION ""
  16159. | #define PACKAGE_STRING ""
  16160. | #define PACKAGE_BUGREPORT ""
  16161. | #define PACKAGE_URL ""
  16162. | #define CANONICALIZATION_FOR_MATHN 1
  16163. | #define STDC_HEADERS 1
  16164. | #define HAVE_SYS_TYPES_H 1
  16165. | #define HAVE_SYS_STAT_H 1
  16166. | #define HAVE_STDLIB_H 1
  16167. | #define HAVE_STRING_H 1
  16168. | #define HAVE_MEMORY_H 1
  16169. | #define HAVE_STRINGS_H 1
  16170. | #define HAVE_INTTYPES_H 1
  16171. | #define HAVE_STDINT_H 1
  16172. | #define HAVE_UNISTD_H 1
  16173. | #define __EXTENSIONS__ 1
  16174. | #define _ALL_SOURCE 1
  16175. | #define _GNU_SOURCE 1
  16176. | #define _POSIX_PTHREAD_SEMANTICS 1
  16177. | #define _TANDEM_SOURCE 1
  16178. | #define HAVE_LONG_LONG 1
  16179. | #define HAVE_OFF_T 1
  16180. | #define SIZEOF_INT 4
  16181. | #define SIZEOF_SHORT 2
  16182. | #define SIZEOF_LONG 8
  16183. | #define SIZEOF_LONG_LONG 8
  16184. | #define SIZEOF___INT64 0
  16185. | #define SIZEOF_OFF_T 8
  16186. | #define SIZEOF_VOIDP 8
  16187. | #define SIZEOF_FLOAT 4
  16188. | #define SIZEOF_DOUBLE 8
  16189. | #define SIZEOF_TIME_T 8
  16190. | #define PRI_LL_PREFIX "ll"
  16191. | #define rb_pid_t pid_t
  16192. | #define PIDT2NUM(v) INT2NUM(v)
  16193. | #define NUM2PIDT(v) NUM2INT(v)
  16194. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  16195. | #define rb_uid_t uid_t
  16196. | #define UIDT2NUM(v) UINT2NUM(v)
  16197. | #define NUM2UIDT(v) NUM2UINT(v)
  16198. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  16199. | #define rb_gid_t gid_t
  16200. | #define GIDT2NUM(v) UINT2NUM(v)
  16201. | #define NUM2GIDT(v) NUM2UINT(v)
  16202. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  16203. | #define rb_time_t time_t
  16204. | #define TIMET2NUM(v) LONG2NUM(v)
  16205. | #define NUM2TIMET(v) NUM2LONG(v)
  16206. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  16207. | #define rb_dev_t dev_t
  16208. | #define DEVT2NUM(v) ULONG2NUM(v)
  16209. | #define NUM2DEVT(v) NUM2ULONG(v)
  16210. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  16211. | #define rb_mode_t mode_t
  16212. | #define MODET2NUM(v) UINT2NUM(v)
  16213. | #define NUM2MODET(v) NUM2UINT(v)
  16214. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  16215. | #define rb_rlim_t rlim_t
  16216. | #define RLIM2NUM(v) ULONG2NUM(v)
  16217. | #define NUM2RLIM(v) NUM2ULONG(v)
  16218. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  16219. | #define HAVE_PROTOTYPES 1
  16220. | #define TOKEN_PASTE(x,y) x##y
  16221. | #define STRINGIZE(expr) STRINGIZE0(expr)
  16222. | #define HAVE_STDARG_PROTOTYPES 1
  16223. | #define HAVE_VA_ARGS_MACRO 1
  16224. | #define NORETURN(x) __attribute__ ((noreturn)) x
  16225. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  16226. | #define NOINLINE(x) __attribute__ ((noinline)) x
  16227. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  16228. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  16229. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  16230. | #define HAVE_GCC_SYNC_BUILTINS 1
  16231. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  16232. | #define HAVE_DECL_SYS_NERR 1
  16233. | #define HAVE_LIBCRYPT 1
  16234. | #define HAVE_LIBDL 1
  16235. | #define HAVE_LIBRT 1
  16236. | #define HAVE_DIRENT_H 1
  16237. | #define HAVE__BOOL 1
  16238. | #define HAVE_STDBOOL_H 1
  16239. | #define HAVE_SYS_WAIT_H 1
  16240. | #define HAVE_LIMITS_H 1
  16241. | #define HAVE_SYS_FILE_H 1
  16242. | #define HAVE_SYS_IOCTL_H 1
  16243. | #define HAVE_SYS_SYSCALL_H 1
  16244. | #define HAVE_FCNTL_H 1
  16245. | #define HAVE_SYS_FCNTL_H 1
  16246. | #define HAVE_SYS_SELECT_H 1
  16247. | #define HAVE_SYS_TIME_H 1
  16248. | #define HAVE_SYS_TIMES_H 1
  16249. | #define HAVE_SYS_PARAM_H 1
  16250. | #define HAVE_SYSCALL_H 1
  16251. | #define HAVE_PWD_H 1
  16252. | #define HAVE_GRP_H 1
  16253. | #define HAVE_A_OUT_H 1
  16254. | #define HAVE_UTIME_H 1
  16255. | #define HAVE_SYS_RESOURCE_H 1
  16256. | #define HAVE_NETINET_IN_SYSTM_H 1
  16257. | #define HAVE_FLOAT_H 1
  16258. | #define HAVE_UCONTEXT_H 1
  16259. | #define HAVE_LANGINFO_H 1
  16260. | #define HAVE_LOCALE_H 1
  16261. | #define HAVE_SYS_SENDFILE_H 1
  16262. | #define HAVE_TIME_H 1
  16263. | #define HAVE_SYS_SOCKET_H 1
  16264. | #define SIZEOF_SIZE_T 8
  16265. | #define SIZEOF_PTRDIFF_T 8
  16266. | #define PRI_SIZE_PREFIX "z"
  16267. | #define PRI_PTRDIFF_PREFIX "t"
  16268. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  16269. | #define HAVE_ST_BLKSIZE 1
  16270. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  16271. | #define HAVE_ST_BLOCKS 1
  16272. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  16273. | #define HAVE_ST_RDEV 1
  16274. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  16275. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  16276. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  16277. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  16278. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  16279. | #define HAVE_STRUCT_TIMEVAL 1
  16280. | #define HAVE_STRUCT_TIMESPEC 1
  16281. | #define HAVE_STRUCT_TIMEZONE 1
  16282. | #define HAVE_CLOCKID_T 1
  16283. | #define HAVE_RB_FD_INIT 1
  16284. | #define HAVE_INT8_T 1
  16285. | #define SIZEOF_INT8_T 1
  16286. | #define HAVE_UINT8_T 1
  16287. | #define SIZEOF_UINT8_T 1
  16288. | #define HAVE_INT16_T 1
  16289. | #define SIZEOF_INT16_T 2
  16290. | #define HAVE_UINT16_T 1
  16291. | #define SIZEOF_UINT16_T 2
  16292. | #define HAVE_INT32_T 1
  16293. | #define SIZEOF_INT32_T 4
  16294. | #define HAVE_UINT32_T 1
  16295. | #define SIZEOF_UINT32_T 4
  16296. | #define HAVE_INT64_T 1
  16297. | #define SIZEOF_INT64_T 8
  16298. | #define HAVE_UINT64_T 1
  16299. | #define SIZEOF_UINT64_T 8
  16300. | #define HAVE_INTPTR_T 1
  16301. | #define SIZEOF_INTPTR_T 8
  16302. | #define HAVE_UINTPTR_T 1
  16303. | #define SIZEOF_UINTPTR_T 8
  16304. | #define HAVE_SSIZE_T 1
  16305. | #define SIZEOF_SSIZE_T 8
  16306. | #define STACK_END_ADDRESS __libc_stack_end
  16307. | #define GETGROUPS_T gid_t
  16308. | #define RETSIGTYPE void
  16309. | #define HAVE_ALLOCA_H 1
  16310. | #define HAVE_ALLOCA 1
  16311. | #define HAVE_DUP2 1
  16312. | #define HAVE_MEMMOVE 1
  16313. | #define HAVE_STRERROR 1
  16314. | #define HAVE_STRCHR 1
  16315. | #define HAVE_STRSTR 1
  16316. | #define HAVE_CRYPT 1
  16317. | #define HAVE_FLOCK 1
  16318. | #define HAVE_ISNAN 1
  16319. | #define HAVE_FINITE 1
  16320. | #define HAVE_ISINF 1
  16321. | #define HAVE_HYPOT 1
  16322. | #define HAVE_ACOSH 1
  16323. | #define HAVE_ERF 1
  16324. | #define HAVE_TGAMMA 1
  16325. | #define HAVE_LGAMMA_R 1
  16326. | #define HAVE_CBRT 1
  16327. | #define HAVE_FFS 1
  16328. | #define SPT_TYPE SPT_REUSEARGV
  16329. | #define HAVE_SIGNBIT 1
  16330. | #define HAVE_FMOD 1
  16331. | #define HAVE_KILLPG 1
  16332. | #define HAVE_WAIT4 1
  16333. | #define HAVE_WAITPID 1
  16334. | #define HAVE_FORK 1
  16335. | #define HAVE_SYSCALL 1
  16336. | #define HAVE_CHROOT 1
  16337. | #define HAVE_GETCWD 1
  16338. | #define HAVE_EACCESS 1
  16339. | #define HAVE_TRUNCATE 1
  16340. | #define HAVE_FTRUNCATE 1
  16341. | #define HAVE_FTELLO 1
  16342. | #define HAVE_TIMES 1
  16343. | #define HAVE_UTIMES 1
  16344. | #define HAVE_UTIMENSAT 1
  16345. | #define HAVE_FCNTL 1
  16346. | #define HAVE_LOCKF 1
  16347. | #define HAVE_LSTAT 1
  16348. | #define HAVE_TRUNCATE64 1
  16349. | #define HAVE_FTRUNCATE64 1
  16350. | #define HAVE_FTELLO64 1
  16351. | #define HAVE_FSEEKO 1
  16352. | #define HAVE_FSEEKO64 1
  16353. | #define HAVE_LINK 1
  16354. | #define HAVE_SYMLINK 1
  16355. | #define HAVE_READLINK 1
  16356. | #define HAVE_READDIR_R 1
  16357. | #define HAVE_FSYNC 1
  16358. | #define HAVE_FDATASYNC 1
  16359. | #define HAVE_FCHOWN 1
  16360. | #define HAVE_POSIX_FADVISE 1
  16361. | #define HAVE_SETITIMER 1
  16362. | #define HAVE_SETEUID 1
  16363. | #define HAVE_SETREUID 1
  16364. | #define HAVE_SETRESUID 1
  16365. | #define HAVE_SOCKETPAIR 1
  16366. | #define HAVE_SETEGID 1
  16367. | #define HAVE_SETREGID 1
  16368. | #define HAVE_SETRESGID 1
  16369. | #define HAVE_PAUSE 1
  16370. | #define HAVE_LCHOWN 1
  16371. | #define HAVE_GETPGRP 1
  16372. | #define HAVE_SETPGRP 1
  16373. | #define HAVE_GETPGID 1
  16374. | #define HAVE_SETPGID 1
  16375. | #define HAVE_INITGROUPS 1
  16376. | #define HAVE_GETGROUPS 1
  16377. | #define HAVE_SETGROUPS 1
  16378. | #define HAVE_GETPRIORITY 1
  16379. | #define HAVE_GETRLIMIT 1
  16380. | #define HAVE_SETRLIMIT 1
  16381. | #define HAVE_SYSCONF 1
  16382. | #define HAVE_CLOSE 1
  16383. | #define HAVE_GETGRNAM_R 1
  16384. | #define HAVE_DLOPEN 1
  16385. | #define HAVE_SIGPROCMASK 1
  16386. | #define HAVE_SIGACTION 1
  16387. | #define HAVE__SETJMP 1
  16388. | #define HAVE__LONGJMP 1
  16389. | #define HAVE_SETSID 1
  16390. | #define HAVE_TELLDIR 1
  16391. | #define HAVE_SEEKDIR 1
  16392. | #define HAVE_FCHMOD 1
  16393. | #define HAVE_COSH 1
  16394. | #define HAVE_SINH 1
  16395. | #define HAVE_TANH 1
  16396. | #define HAVE_LOG2 1
  16397. | #define HAVE_ROUND 1
  16398. | #define HAVE_SETUID 1
  16399. | #define HAVE_SETGID 1
  16400. | #define HAVE_SETENV 1
  16401. | #define HAVE_UNSETENV 1
  16402. | #define HAVE_MKTIME 1
  16403. | #define HAVE_TIMEGM 1
  16404. | #define HAVE_GMTIME_R 1
  16405. | #define HAVE_CLOCK_GETTIME 1
  16406. | #define HAVE_GETTIMEOFDAY 1
  16407. | #define HAVE_POLL 1
  16408. | #define HAVE_PPOLL 1
  16409. | #define HAVE_PREAD 1
  16410. | #define HAVE_SENDFILE 1
  16411. | #define HAVE_SHUTDOWN 1
  16412. | #define HAVE_SIGALTSTACK 1
  16413. | #define HAVE_DL_ITERATE_PHDR 1
  16414. | #define RUBY_SETJMP(env) _setjmp(env)
  16415. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  16416. | #define RUBY_JMP_BUF jmp_buf
  16417. | #define HAVE_STRUCT_TM_TM_ZONE 1
  16418. | #define HAVE_TM_ZONE 1
  16419. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  16420. | #define HAVE_DAYLIGHT 1
  16421. | #define HAVE_VAR_TIMEZONE 1
  16422. | #define TYPEOF_VAR_TIMEZONE long
  16423. | #define HAVE_TIMEZONE 1
  16424. | #define TIMEZONE_VOID 1
  16425. | #define NEGATIVE_TIME_T 1
  16426. | #define POSIX_SIGNAL 1
  16427. | #define RSHIFT(x,y) ((x)>>(int)(y))
  16428. | /* end confdefs.h. */
  16429. | #include <stdio.h>
  16430. |
  16431. | int
  16432. | main ()
  16433. | {
  16434. | FILE *f = stdin; f->__cnt = 0;
  16435. | ;
  16436. | return 0;
  16437. | }
  16438. configure:15534: gcc -c -O3 -ggdb conftest.c >&5
  16439. conftest.c: In function 'main':
  16440. conftest.c:280:19: error: 'FILE {aka struct _IO_FILE}' has no member named '_r'
  16441. FILE *f = stdin; f->_r = 0;
  16442. ^
  16443. configure:15534: $? = 1
  16444. configure: failed program was:
  16445. | /* confdefs.h */
  16446. | #define PACKAGE_NAME ""
  16447. | #define PACKAGE_TARNAME ""
  16448. | #define PACKAGE_VERSION ""
  16449. | #define PACKAGE_STRING ""
  16450. | #define PACKAGE_BUGREPORT ""
  16451. | #define PACKAGE_URL ""
  16452. | #define CANONICALIZATION_FOR_MATHN 1
  16453. | #define STDC_HEADERS 1
  16454. | #define HAVE_SYS_TYPES_H 1
  16455. | #define HAVE_SYS_STAT_H 1
  16456. | #define HAVE_STDLIB_H 1
  16457. | #define HAVE_STRING_H 1
  16458. | #define HAVE_MEMORY_H 1
  16459. | #define HAVE_STRINGS_H 1
  16460. | #define HAVE_INTTYPES_H 1
  16461. | #define HAVE_STDINT_H 1
  16462. | #define HAVE_UNISTD_H 1
  16463. | #define __EXTENSIONS__ 1
  16464. | #define _ALL_SOURCE 1
  16465. | #define _GNU_SOURCE 1
  16466. | #define _POSIX_PTHREAD_SEMANTICS 1
  16467. | #define _TANDEM_SOURCE 1
  16468. | #define HAVE_LONG_LONG 1
  16469. | #define HAVE_OFF_T 1
  16470. | #define SIZEOF_INT 4
  16471. | #define SIZEOF_SHORT 2
  16472. | #define SIZEOF_LONG 8
  16473. | #define SIZEOF_LONG_LONG 8
  16474. | #define SIZEOF___INT64 0
  16475. | #define SIZEOF_OFF_T 8
  16476. | #define SIZEOF_VOIDP 8
  16477. | #define SIZEOF_FLOAT 4
  16478. | #define SIZEOF_DOUBLE 8
  16479. | #define SIZEOF_TIME_T 8
  16480. | #define PRI_LL_PREFIX "ll"
  16481. | #define rb_pid_t pid_t
  16482. | #define PIDT2NUM(v) INT2NUM(v)
  16483. | #define NUM2PIDT(v) NUM2INT(v)
  16484. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  16485. | #define rb_uid_t uid_t
  16486. | #define UIDT2NUM(v) UINT2NUM(v)
  16487. | #define NUM2UIDT(v) NUM2UINT(v)
  16488. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  16489. | #define rb_gid_t gid_t
  16490. | #define GIDT2NUM(v) UINT2NUM(v)
  16491. | #define NUM2GIDT(v) NUM2UINT(v)
  16492. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  16493. | #define rb_time_t time_t
  16494. | #define TIMET2NUM(v) LONG2NUM(v)
  16495. | #define NUM2TIMET(v) NUM2LONG(v)
  16496. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  16497. | #define rb_dev_t dev_t
  16498. | #define DEVT2NUM(v) ULONG2NUM(v)
  16499. | #define NUM2DEVT(v) NUM2ULONG(v)
  16500. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  16501. | #define rb_mode_t mode_t
  16502. | #define MODET2NUM(v) UINT2NUM(v)
  16503. | #define NUM2MODET(v) NUM2UINT(v)
  16504. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  16505. | #define rb_rlim_t rlim_t
  16506. | #define RLIM2NUM(v) ULONG2NUM(v)
  16507. | #define NUM2RLIM(v) NUM2ULONG(v)
  16508. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  16509. | #define HAVE_PROTOTYPES 1
  16510. | #define TOKEN_PASTE(x,y) x##y
  16511. | #define STRINGIZE(expr) STRINGIZE0(expr)
  16512. | #define HAVE_STDARG_PROTOTYPES 1
  16513. | #define HAVE_VA_ARGS_MACRO 1
  16514. | #define NORETURN(x) __attribute__ ((noreturn)) x
  16515. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  16516. | #define NOINLINE(x) __attribute__ ((noinline)) x
  16517. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  16518. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  16519. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  16520. | #define HAVE_GCC_SYNC_BUILTINS 1
  16521. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  16522. | #define HAVE_DECL_SYS_NERR 1
  16523. | #define HAVE_LIBCRYPT 1
  16524. | #define HAVE_LIBDL 1
  16525. | #define HAVE_LIBRT 1
  16526. | #define HAVE_DIRENT_H 1
  16527. | #define HAVE__BOOL 1
  16528. | #define HAVE_STDBOOL_H 1
  16529. | #define HAVE_SYS_WAIT_H 1
  16530. | #define HAVE_LIMITS_H 1
  16531. | #define HAVE_SYS_FILE_H 1
  16532. | #define HAVE_SYS_IOCTL_H 1
  16533. | #define HAVE_SYS_SYSCALL_H 1
  16534. | #define HAVE_FCNTL_H 1
  16535. | #define HAVE_SYS_FCNTL_H 1
  16536. | #define HAVE_SYS_SELECT_H 1
  16537. | #define HAVE_SYS_TIME_H 1
  16538. | #define HAVE_SYS_TIMES_H 1
  16539. | #define HAVE_SYS_PARAM_H 1
  16540. | #define HAVE_SYSCALL_H 1
  16541. | #define HAVE_PWD_H 1
  16542. | #define HAVE_GRP_H 1
  16543. | #define HAVE_A_OUT_H 1
  16544. | #define HAVE_UTIME_H 1
  16545. | #define HAVE_SYS_RESOURCE_H 1
  16546. | #define HAVE_NETINET_IN_SYSTM_H 1
  16547. | #define HAVE_FLOAT_H 1
  16548. | #define HAVE_UCONTEXT_H 1
  16549. | #define HAVE_LANGINFO_H 1
  16550. | #define HAVE_LOCALE_H 1
  16551. | #define HAVE_SYS_SENDFILE_H 1
  16552. | #define HAVE_TIME_H 1
  16553. | #define HAVE_SYS_SOCKET_H 1
  16554. | #define SIZEOF_SIZE_T 8
  16555. | #define SIZEOF_PTRDIFF_T 8
  16556. | #define PRI_SIZE_PREFIX "z"
  16557. | #define PRI_PTRDIFF_PREFIX "t"
  16558. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  16559. | #define HAVE_ST_BLKSIZE 1
  16560. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  16561. | #define HAVE_ST_BLOCKS 1
  16562. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  16563. | #define HAVE_ST_RDEV 1
  16564. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  16565. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  16566. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  16567. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  16568. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  16569. | #define HAVE_STRUCT_TIMEVAL 1
  16570. | #define HAVE_STRUCT_TIMESPEC 1
  16571. | #define HAVE_STRUCT_TIMEZONE 1
  16572. | #define HAVE_CLOCKID_T 1
  16573. | #define HAVE_RB_FD_INIT 1
  16574. | #define HAVE_INT8_T 1
  16575. | #define SIZEOF_INT8_T 1
  16576. | #define HAVE_UINT8_T 1
  16577. | #define SIZEOF_UINT8_T 1
  16578. | #define HAVE_INT16_T 1
  16579. | #define SIZEOF_INT16_T 2
  16580. | #define HAVE_UINT16_T 1
  16581. | #define SIZEOF_UINT16_T 2
  16582. | #define HAVE_INT32_T 1
  16583. | #define SIZEOF_INT32_T 4
  16584. | #define HAVE_UINT32_T 1
  16585. | #define SIZEOF_UINT32_T 4
  16586. | #define HAVE_INT64_T 1
  16587. | #define SIZEOF_INT64_T 8
  16588. | #define HAVE_UINT64_T 1
  16589. | #define SIZEOF_UINT64_T 8
  16590. | #define HAVE_INTPTR_T 1
  16591. | #define SIZEOF_INTPTR_T 8
  16592. | #define HAVE_UINTPTR_T 1
  16593. | #define SIZEOF_UINTPTR_T 8
  16594. | #define HAVE_SSIZE_T 1
  16595. | #define SIZEOF_SSIZE_T 8
  16596. | #define STACK_END_ADDRESS __libc_stack_end
  16597. | #define GETGROUPS_T gid_t
  16598. | #define RETSIGTYPE void
  16599. | #define HAVE_ALLOCA_H 1
  16600. | #define HAVE_ALLOCA 1
  16601. | #define HAVE_DUP2 1
  16602. | #define HAVE_MEMMOVE 1
  16603. | #define HAVE_STRERROR 1
  16604. | #define HAVE_STRCHR 1
  16605. | #define HAVE_STRSTR 1
  16606. | #define HAVE_CRYPT 1
  16607. | #define HAVE_FLOCK 1
  16608. | #define HAVE_ISNAN 1
  16609. | #define HAVE_FINITE 1
  16610. | #define HAVE_ISINF 1
  16611. | #define HAVE_HYPOT 1
  16612. | #define HAVE_ACOSH 1
  16613. | #define HAVE_ERF 1
  16614. | #define HAVE_TGAMMA 1
  16615. | #define HAVE_LGAMMA_R 1
  16616. | #define HAVE_CBRT 1
  16617. | #define HAVE_FFS 1
  16618. | #define SPT_TYPE SPT_REUSEARGV
  16619. | #define HAVE_SIGNBIT 1
  16620. | #define HAVE_FMOD 1
  16621. | #define HAVE_KILLPG 1
  16622. | #define HAVE_WAIT4 1
  16623. | #define HAVE_WAITPID 1
  16624. | #define HAVE_FORK 1
  16625. | #define HAVE_SYSCALL 1
  16626. | #define HAVE_CHROOT 1
  16627. | #define HAVE_GETCWD 1
  16628. | #define HAVE_EACCESS 1
  16629. | #define HAVE_TRUNCATE 1
  16630. | #define HAVE_FTRUNCATE 1
  16631. | #define HAVE_FTELLO 1
  16632. | #define HAVE_TIMES 1
  16633. | #define HAVE_UTIMES 1
  16634. | #define HAVE_UTIMENSAT 1
  16635. | #define HAVE_FCNTL 1
  16636. | #define HAVE_LOCKF 1
  16637. | #define HAVE_LSTAT 1
  16638. | #define HAVE_TRUNCATE64 1
  16639. | #define HAVE_FTRUNCATE64 1
  16640. | #define HAVE_FTELLO64 1
  16641. | #define HAVE_FSEEKO 1
  16642. | #define HAVE_FSEEKO64 1
  16643. | #define HAVE_LINK 1
  16644. | #define HAVE_SYMLINK 1
  16645. | #define HAVE_READLINK 1
  16646. | #define HAVE_READDIR_R 1
  16647. | #define HAVE_FSYNC 1
  16648. | #define HAVE_FDATASYNC 1
  16649. | #define HAVE_FCHOWN 1
  16650. | #define HAVE_POSIX_FADVISE 1
  16651. | #define HAVE_SETITIMER 1
  16652. | #define HAVE_SETEUID 1
  16653. | #define HAVE_SETREUID 1
  16654. | #define HAVE_SETRESUID 1
  16655. | #define HAVE_SOCKETPAIR 1
  16656. | #define HAVE_SETEGID 1
  16657. | #define HAVE_SETREGID 1
  16658. | #define HAVE_SETRESGID 1
  16659. | #define HAVE_PAUSE 1
  16660. | #define HAVE_LCHOWN 1
  16661. | #define HAVE_GETPGRP 1
  16662. | #define HAVE_SETPGRP 1
  16663. | #define HAVE_GETPGID 1
  16664. | #define HAVE_SETPGID 1
  16665. | #define HAVE_INITGROUPS 1
  16666. | #define HAVE_GETGROUPS 1
  16667. | #define HAVE_SETGROUPS 1
  16668. | #define HAVE_GETPRIORITY 1
  16669. | #define HAVE_GETRLIMIT 1
  16670. | #define HAVE_SETRLIMIT 1
  16671. | #define HAVE_SYSCONF 1
  16672. | #define HAVE_CLOSE 1
  16673. | #define HAVE_GETGRNAM_R 1
  16674. | #define HAVE_DLOPEN 1
  16675. | #define HAVE_SIGPROCMASK 1
  16676. | #define HAVE_SIGACTION 1
  16677. | #define HAVE__SETJMP 1
  16678. | #define HAVE__LONGJMP 1
  16679. | #define HAVE_SETSID 1
  16680. | #define HAVE_TELLDIR 1
  16681. | #define HAVE_SEEKDIR 1
  16682. | #define HAVE_FCHMOD 1
  16683. | #define HAVE_COSH 1
  16684. | #define HAVE_SINH 1
  16685. | #define HAVE_TANH 1
  16686. | #define HAVE_LOG2 1
  16687. | #define HAVE_ROUND 1
  16688. | #define HAVE_SETUID 1
  16689. | #define HAVE_SETGID 1
  16690. | #define HAVE_SETENV 1
  16691. | #define HAVE_UNSETENV 1
  16692. | #define HAVE_MKTIME 1
  16693. | #define HAVE_TIMEGM 1
  16694. | #define HAVE_GMTIME_R 1
  16695. | #define HAVE_CLOCK_GETTIME 1
  16696. | #define HAVE_GETTIMEOFDAY 1
  16697. | #define HAVE_POLL 1
  16698. | #define HAVE_PPOLL 1
  16699. | #define HAVE_PREAD 1
  16700. | #define HAVE_SENDFILE 1
  16701. | #define HAVE_SHUTDOWN 1
  16702. | #define HAVE_SIGALTSTACK 1
  16703. | #define HAVE_DL_ITERATE_PHDR 1
  16704. | #define RUBY_SETJMP(env) _setjmp(env)
  16705. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  16706. | #define RUBY_JMP_BUF jmp_buf
  16707. | #define HAVE_STRUCT_TM_TM_ZONE 1
  16708. | #define HAVE_TM_ZONE 1
  16709. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  16710. | #define HAVE_DAYLIGHT 1
  16711. | #define HAVE_VAR_TIMEZONE 1
  16712. | #define TYPEOF_VAR_TIMEZONE long
  16713. | #define HAVE_TIMEZONE 1
  16714. | #define TIMEZONE_VOID 1
  16715. | #define NEGATIVE_TIME_T 1
  16716. | #define POSIX_SIGNAL 1
  16717. | #define RSHIFT(x,y) ((x)>>(int)(y))
  16718. | /* end confdefs.h. */
  16719. | #include <stdio.h>
  16720. |
  16721. | int
  16722. | main ()
  16723. | {
  16724. | FILE *f = stdin; f->_r = 0;
  16725. | ;
  16726. | return 0;
  16727. | }
  16728. configure:15534: gcc -c -O3 -ggdb conftest.c >&5
  16729. conftest.c: In function 'main':
  16730. conftest.c:280:19: error: 'FILE {aka struct _IO_FILE}' has no member named 'readCount'
  16731. FILE *f = stdin; f->readCount = 0;
  16732. ^
  16733. configure:15534: $? = 1
  16734. configure: failed program was:
  16735. | /* confdefs.h */
  16736. | #define PACKAGE_NAME ""
  16737. | #define PACKAGE_TARNAME ""
  16738. | #define PACKAGE_VERSION ""
  16739. | #define PACKAGE_STRING ""
  16740. | #define PACKAGE_BUGREPORT ""
  16741. | #define PACKAGE_URL ""
  16742. | #define CANONICALIZATION_FOR_MATHN 1
  16743. | #define STDC_HEADERS 1
  16744. | #define HAVE_SYS_TYPES_H 1
  16745. | #define HAVE_SYS_STAT_H 1
  16746. | #define HAVE_STDLIB_H 1
  16747. | #define HAVE_STRING_H 1
  16748. | #define HAVE_MEMORY_H 1
  16749. | #define HAVE_STRINGS_H 1
  16750. | #define HAVE_INTTYPES_H 1
  16751. | #define HAVE_STDINT_H 1
  16752. | #define HAVE_UNISTD_H 1
  16753. | #define __EXTENSIONS__ 1
  16754. | #define _ALL_SOURCE 1
  16755. | #define _GNU_SOURCE 1
  16756. | #define _POSIX_PTHREAD_SEMANTICS 1
  16757. | #define _TANDEM_SOURCE 1
  16758. | #define HAVE_LONG_LONG 1
  16759. | #define HAVE_OFF_T 1
  16760. | #define SIZEOF_INT 4
  16761. | #define SIZEOF_SHORT 2
  16762. | #define SIZEOF_LONG 8
  16763. | #define SIZEOF_LONG_LONG 8
  16764. | #define SIZEOF___INT64 0
  16765. | #define SIZEOF_OFF_T 8
  16766. | #define SIZEOF_VOIDP 8
  16767. | #define SIZEOF_FLOAT 4
  16768. | #define SIZEOF_DOUBLE 8
  16769. | #define SIZEOF_TIME_T 8
  16770. | #define PRI_LL_PREFIX "ll"
  16771. | #define rb_pid_t pid_t
  16772. | #define PIDT2NUM(v) INT2NUM(v)
  16773. | #define NUM2PIDT(v) NUM2INT(v)
  16774. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  16775. | #define rb_uid_t uid_t
  16776. | #define UIDT2NUM(v) UINT2NUM(v)
  16777. | #define NUM2UIDT(v) NUM2UINT(v)
  16778. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  16779. | #define rb_gid_t gid_t
  16780. | #define GIDT2NUM(v) UINT2NUM(v)
  16781. | #define NUM2GIDT(v) NUM2UINT(v)
  16782. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  16783. | #define rb_time_t time_t
  16784. | #define TIMET2NUM(v) LONG2NUM(v)
  16785. | #define NUM2TIMET(v) NUM2LONG(v)
  16786. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  16787. | #define rb_dev_t dev_t
  16788. | #define DEVT2NUM(v) ULONG2NUM(v)
  16789. | #define NUM2DEVT(v) NUM2ULONG(v)
  16790. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  16791. | #define rb_mode_t mode_t
  16792. | #define MODET2NUM(v) UINT2NUM(v)
  16793. | #define NUM2MODET(v) NUM2UINT(v)
  16794. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  16795. | #define rb_rlim_t rlim_t
  16796. | #define RLIM2NUM(v) ULONG2NUM(v)
  16797. | #define NUM2RLIM(v) NUM2ULONG(v)
  16798. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  16799. | #define HAVE_PROTOTYPES 1
  16800. | #define TOKEN_PASTE(x,y) x##y
  16801. | #define STRINGIZE(expr) STRINGIZE0(expr)
  16802. | #define HAVE_STDARG_PROTOTYPES 1
  16803. | #define HAVE_VA_ARGS_MACRO 1
  16804. | #define NORETURN(x) __attribute__ ((noreturn)) x
  16805. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  16806. | #define NOINLINE(x) __attribute__ ((noinline)) x
  16807. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  16808. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  16809. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  16810. | #define HAVE_GCC_SYNC_BUILTINS 1
  16811. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  16812. | #define HAVE_DECL_SYS_NERR 1
  16813. | #define HAVE_LIBCRYPT 1
  16814. | #define HAVE_LIBDL 1
  16815. | #define HAVE_LIBRT 1
  16816. | #define HAVE_DIRENT_H 1
  16817. | #define HAVE__BOOL 1
  16818. | #define HAVE_STDBOOL_H 1
  16819. | #define HAVE_SYS_WAIT_H 1
  16820. | #define HAVE_LIMITS_H 1
  16821. | #define HAVE_SYS_FILE_H 1
  16822. | #define HAVE_SYS_IOCTL_H 1
  16823. | #define HAVE_SYS_SYSCALL_H 1
  16824. | #define HAVE_FCNTL_H 1
  16825. | #define HAVE_SYS_FCNTL_H 1
  16826. | #define HAVE_SYS_SELECT_H 1
  16827. | #define HAVE_SYS_TIME_H 1
  16828. | #define HAVE_SYS_TIMES_H 1
  16829. | #define HAVE_SYS_PARAM_H 1
  16830. | #define HAVE_SYSCALL_H 1
  16831. | #define HAVE_PWD_H 1
  16832. | #define HAVE_GRP_H 1
  16833. | #define HAVE_A_OUT_H 1
  16834. | #define HAVE_UTIME_H 1
  16835. | #define HAVE_SYS_RESOURCE_H 1
  16836. | #define HAVE_NETINET_IN_SYSTM_H 1
  16837. | #define HAVE_FLOAT_H 1
  16838. | #define HAVE_UCONTEXT_H 1
  16839. | #define HAVE_LANGINFO_H 1
  16840. | #define HAVE_LOCALE_H 1
  16841. | #define HAVE_SYS_SENDFILE_H 1
  16842. | #define HAVE_TIME_H 1
  16843. | #define HAVE_SYS_SOCKET_H 1
  16844. | #define SIZEOF_SIZE_T 8
  16845. | #define SIZEOF_PTRDIFF_T 8
  16846. | #define PRI_SIZE_PREFIX "z"
  16847. | #define PRI_PTRDIFF_PREFIX "t"
  16848. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  16849. | #define HAVE_ST_BLKSIZE 1
  16850. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  16851. | #define HAVE_ST_BLOCKS 1
  16852. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  16853. | #define HAVE_ST_RDEV 1
  16854. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  16855. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  16856. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  16857. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  16858. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  16859. | #define HAVE_STRUCT_TIMEVAL 1
  16860. | #define HAVE_STRUCT_TIMESPEC 1
  16861. | #define HAVE_STRUCT_TIMEZONE 1
  16862. | #define HAVE_CLOCKID_T 1
  16863. | #define HAVE_RB_FD_INIT 1
  16864. | #define HAVE_INT8_T 1
  16865. | #define SIZEOF_INT8_T 1
  16866. | #define HAVE_UINT8_T 1
  16867. | #define SIZEOF_UINT8_T 1
  16868. | #define HAVE_INT16_T 1
  16869. | #define SIZEOF_INT16_T 2
  16870. | #define HAVE_UINT16_T 1
  16871. | #define SIZEOF_UINT16_T 2
  16872. | #define HAVE_INT32_T 1
  16873. | #define SIZEOF_INT32_T 4
  16874. | #define HAVE_UINT32_T 1
  16875. | #define SIZEOF_UINT32_T 4
  16876. | #define HAVE_INT64_T 1
  16877. | #define SIZEOF_INT64_T 8
  16878. | #define HAVE_UINT64_T 1
  16879. | #define SIZEOF_UINT64_T 8
  16880. | #define HAVE_INTPTR_T 1
  16881. | #define SIZEOF_INTPTR_T 8
  16882. | #define HAVE_UINTPTR_T 1
  16883. | #define SIZEOF_UINTPTR_T 8
  16884. | #define HAVE_SSIZE_T 1
  16885. | #define SIZEOF_SSIZE_T 8
  16886. | #define STACK_END_ADDRESS __libc_stack_end
  16887. | #define GETGROUPS_T gid_t
  16888. | #define RETSIGTYPE void
  16889. | #define HAVE_ALLOCA_H 1
  16890. | #define HAVE_ALLOCA 1
  16891. | #define HAVE_DUP2 1
  16892. | #define HAVE_MEMMOVE 1
  16893. | #define HAVE_STRERROR 1
  16894. | #define HAVE_STRCHR 1
  16895. | #define HAVE_STRSTR 1
  16896. | #define HAVE_CRYPT 1
  16897. | #define HAVE_FLOCK 1
  16898. | #define HAVE_ISNAN 1
  16899. | #define HAVE_FINITE 1
  16900. | #define HAVE_ISINF 1
  16901. | #define HAVE_HYPOT 1
  16902. | #define HAVE_ACOSH 1
  16903. | #define HAVE_ERF 1
  16904. | #define HAVE_TGAMMA 1
  16905. | #define HAVE_LGAMMA_R 1
  16906. | #define HAVE_CBRT 1
  16907. | #define HAVE_FFS 1
  16908. | #define SPT_TYPE SPT_REUSEARGV
  16909. | #define HAVE_SIGNBIT 1
  16910. | #define HAVE_FMOD 1
  16911. | #define HAVE_KILLPG 1
  16912. | #define HAVE_WAIT4 1
  16913. | #define HAVE_WAITPID 1
  16914. | #define HAVE_FORK 1
  16915. | #define HAVE_SYSCALL 1
  16916. | #define HAVE_CHROOT 1
  16917. | #define HAVE_GETCWD 1
  16918. | #define HAVE_EACCESS 1
  16919. | #define HAVE_TRUNCATE 1
  16920. | #define HAVE_FTRUNCATE 1
  16921. | #define HAVE_FTELLO 1
  16922. | #define HAVE_TIMES 1
  16923. | #define HAVE_UTIMES 1
  16924. | #define HAVE_UTIMENSAT 1
  16925. | #define HAVE_FCNTL 1
  16926. | #define HAVE_LOCKF 1
  16927. | #define HAVE_LSTAT 1
  16928. | #define HAVE_TRUNCATE64 1
  16929. | #define HAVE_FTRUNCATE64 1
  16930. | #define HAVE_FTELLO64 1
  16931. | #define HAVE_FSEEKO 1
  16932. | #define HAVE_FSEEKO64 1
  16933. | #define HAVE_LINK 1
  16934. | #define HAVE_SYMLINK 1
  16935. | #define HAVE_READLINK 1
  16936. | #define HAVE_READDIR_R 1
  16937. | #define HAVE_FSYNC 1
  16938. | #define HAVE_FDATASYNC 1
  16939. | #define HAVE_FCHOWN 1
  16940. | #define HAVE_POSIX_FADVISE 1
  16941. | #define HAVE_SETITIMER 1
  16942. | #define HAVE_SETEUID 1
  16943. | #define HAVE_SETREUID 1
  16944. | #define HAVE_SETRESUID 1
  16945. | #define HAVE_SOCKETPAIR 1
  16946. | #define HAVE_SETEGID 1
  16947. | #define HAVE_SETREGID 1
  16948. | #define HAVE_SETRESGID 1
  16949. | #define HAVE_PAUSE 1
  16950. | #define HAVE_LCHOWN 1
  16951. | #define HAVE_GETPGRP 1
  16952. | #define HAVE_SETPGRP 1
  16953. | #define HAVE_GETPGID 1
  16954. | #define HAVE_SETPGID 1
  16955. | #define HAVE_INITGROUPS 1
  16956. | #define HAVE_GETGROUPS 1
  16957. | #define HAVE_SETGROUPS 1
  16958. | #define HAVE_GETPRIORITY 1
  16959. | #define HAVE_GETRLIMIT 1
  16960. | #define HAVE_SETRLIMIT 1
  16961. | #define HAVE_SYSCONF 1
  16962. | #define HAVE_CLOSE 1
  16963. | #define HAVE_GETGRNAM_R 1
  16964. | #define HAVE_DLOPEN 1
  16965. | #define HAVE_SIGPROCMASK 1
  16966. | #define HAVE_SIGACTION 1
  16967. | #define HAVE__SETJMP 1
  16968. | #define HAVE__LONGJMP 1
  16969. | #define HAVE_SETSID 1
  16970. | #define HAVE_TELLDIR 1
  16971. | #define HAVE_SEEKDIR 1
  16972. | #define HAVE_FCHMOD 1
  16973. | #define HAVE_COSH 1
  16974. | #define HAVE_SINH 1
  16975. | #define HAVE_TANH 1
  16976. | #define HAVE_LOG2 1
  16977. | #define HAVE_ROUND 1
  16978. | #define HAVE_SETUID 1
  16979. | #define HAVE_SETGID 1
  16980. | #define HAVE_SETENV 1
  16981. | #define HAVE_UNSETENV 1
  16982. | #define HAVE_MKTIME 1
  16983. | #define HAVE_TIMEGM 1
  16984. | #define HAVE_GMTIME_R 1
  16985. | #define HAVE_CLOCK_GETTIME 1
  16986. | #define HAVE_GETTIMEOFDAY 1
  16987. | #define HAVE_POLL 1
  16988. | #define HAVE_PPOLL 1
  16989. | #define HAVE_PREAD 1
  16990. | #define HAVE_SENDFILE 1
  16991. | #define HAVE_SHUTDOWN 1
  16992. | #define HAVE_SIGALTSTACK 1
  16993. | #define HAVE_DL_ITERATE_PHDR 1
  16994. | #define RUBY_SETJMP(env) _setjmp(env)
  16995. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  16996. | #define RUBY_JMP_BUF jmp_buf
  16997. | #define HAVE_STRUCT_TM_TM_ZONE 1
  16998. | #define HAVE_TM_ZONE 1
  16999. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  17000. | #define HAVE_DAYLIGHT 1
  17001. | #define HAVE_VAR_TIMEZONE 1
  17002. | #define TYPEOF_VAR_TIMEZONE long
  17003. | #define HAVE_TIMEZONE 1
  17004. | #define TIMEZONE_VOID 1
  17005. | #define NEGATIVE_TIME_T 1
  17006. | #define POSIX_SIGNAL 1
  17007. | #define RSHIFT(x,y) ((x)>>(int)(y))
  17008. | /* end confdefs.h. */
  17009. | #include <stdio.h>
  17010. |
  17011. | int
  17012. | main ()
  17013. | {
  17014. | FILE *f = stdin; f->readCount = 0;
  17015. | ;
  17016. | return 0;
  17017. | }
  17018. configure:15534: gcc -c -O3 -ggdb conftest.c >&5
  17019. conftest.c: In function 'main':
  17020. conftest.c:280:19: error: 'FILE {aka struct _IO_FILE}' has no member named '_rcount'
  17021. FILE *f = stdin; f->_rcount = 0;
  17022. ^
  17023. configure:15534: $? = 1
  17024. configure: failed program was:
  17025. | /* confdefs.h */
  17026. | #define PACKAGE_NAME ""
  17027. | #define PACKAGE_TARNAME ""
  17028. | #define PACKAGE_VERSION ""
  17029. | #define PACKAGE_STRING ""
  17030. | #define PACKAGE_BUGREPORT ""
  17031. | #define PACKAGE_URL ""
  17032. | #define CANONICALIZATION_FOR_MATHN 1
  17033. | #define STDC_HEADERS 1
  17034. | #define HAVE_SYS_TYPES_H 1
  17035. | #define HAVE_SYS_STAT_H 1
  17036. | #define HAVE_STDLIB_H 1
  17037. | #define HAVE_STRING_H 1
  17038. | #define HAVE_MEMORY_H 1
  17039. | #define HAVE_STRINGS_H 1
  17040. | #define HAVE_INTTYPES_H 1
  17041. | #define HAVE_STDINT_H 1
  17042. | #define HAVE_UNISTD_H 1
  17043. | #define __EXTENSIONS__ 1
  17044. | #define _ALL_SOURCE 1
  17045. | #define _GNU_SOURCE 1
  17046. | #define _POSIX_PTHREAD_SEMANTICS 1
  17047. | #define _TANDEM_SOURCE 1
  17048. | #define HAVE_LONG_LONG 1
  17049. | #define HAVE_OFF_T 1
  17050. | #define SIZEOF_INT 4
  17051. | #define SIZEOF_SHORT 2
  17052. | #define SIZEOF_LONG 8
  17053. | #define SIZEOF_LONG_LONG 8
  17054. | #define SIZEOF___INT64 0
  17055. | #define SIZEOF_OFF_T 8
  17056. | #define SIZEOF_VOIDP 8
  17057. | #define SIZEOF_FLOAT 4
  17058. | #define SIZEOF_DOUBLE 8
  17059. | #define SIZEOF_TIME_T 8
  17060. | #define PRI_LL_PREFIX "ll"
  17061. | #define rb_pid_t pid_t
  17062. | #define PIDT2NUM(v) INT2NUM(v)
  17063. | #define NUM2PIDT(v) NUM2INT(v)
  17064. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  17065. | #define rb_uid_t uid_t
  17066. | #define UIDT2NUM(v) UINT2NUM(v)
  17067. | #define NUM2UIDT(v) NUM2UINT(v)
  17068. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  17069. | #define rb_gid_t gid_t
  17070. | #define GIDT2NUM(v) UINT2NUM(v)
  17071. | #define NUM2GIDT(v) NUM2UINT(v)
  17072. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  17073. | #define rb_time_t time_t
  17074. | #define TIMET2NUM(v) LONG2NUM(v)
  17075. | #define NUM2TIMET(v) NUM2LONG(v)
  17076. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  17077. | #define rb_dev_t dev_t
  17078. | #define DEVT2NUM(v) ULONG2NUM(v)
  17079. | #define NUM2DEVT(v) NUM2ULONG(v)
  17080. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  17081. | #define rb_mode_t mode_t
  17082. | #define MODET2NUM(v) UINT2NUM(v)
  17083. | #define NUM2MODET(v) NUM2UINT(v)
  17084. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  17085. | #define rb_rlim_t rlim_t
  17086. | #define RLIM2NUM(v) ULONG2NUM(v)
  17087. | #define NUM2RLIM(v) NUM2ULONG(v)
  17088. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  17089. | #define HAVE_PROTOTYPES 1
  17090. | #define TOKEN_PASTE(x,y) x##y
  17091. | #define STRINGIZE(expr) STRINGIZE0(expr)
  17092. | #define HAVE_STDARG_PROTOTYPES 1
  17093. | #define HAVE_VA_ARGS_MACRO 1
  17094. | #define NORETURN(x) __attribute__ ((noreturn)) x
  17095. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  17096. | #define NOINLINE(x) __attribute__ ((noinline)) x
  17097. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  17098. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  17099. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  17100. | #define HAVE_GCC_SYNC_BUILTINS 1
  17101. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  17102. | #define HAVE_DECL_SYS_NERR 1
  17103. | #define HAVE_LIBCRYPT 1
  17104. | #define HAVE_LIBDL 1
  17105. | #define HAVE_LIBRT 1
  17106. | #define HAVE_DIRENT_H 1
  17107. | #define HAVE__BOOL 1
  17108. | #define HAVE_STDBOOL_H 1
  17109. | #define HAVE_SYS_WAIT_H 1
  17110. | #define HAVE_LIMITS_H 1
  17111. | #define HAVE_SYS_FILE_H 1
  17112. | #define HAVE_SYS_IOCTL_H 1
  17113. | #define HAVE_SYS_SYSCALL_H 1
  17114. | #define HAVE_FCNTL_H 1
  17115. | #define HAVE_SYS_FCNTL_H 1
  17116. | #define HAVE_SYS_SELECT_H 1
  17117. | #define HAVE_SYS_TIME_H 1
  17118. | #define HAVE_SYS_TIMES_H 1
  17119. | #define HAVE_SYS_PARAM_H 1
  17120. | #define HAVE_SYSCALL_H 1
  17121. | #define HAVE_PWD_H 1
  17122. | #define HAVE_GRP_H 1
  17123. | #define HAVE_A_OUT_H 1
  17124. | #define HAVE_UTIME_H 1
  17125. | #define HAVE_SYS_RESOURCE_H 1
  17126. | #define HAVE_NETINET_IN_SYSTM_H 1
  17127. | #define HAVE_FLOAT_H 1
  17128. | #define HAVE_UCONTEXT_H 1
  17129. | #define HAVE_LANGINFO_H 1
  17130. | #define HAVE_LOCALE_H 1
  17131. | #define HAVE_SYS_SENDFILE_H 1
  17132. | #define HAVE_TIME_H 1
  17133. | #define HAVE_SYS_SOCKET_H 1
  17134. | #define SIZEOF_SIZE_T 8
  17135. | #define SIZEOF_PTRDIFF_T 8
  17136. | #define PRI_SIZE_PREFIX "z"
  17137. | #define PRI_PTRDIFF_PREFIX "t"
  17138. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  17139. | #define HAVE_ST_BLKSIZE 1
  17140. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  17141. | #define HAVE_ST_BLOCKS 1
  17142. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  17143. | #define HAVE_ST_RDEV 1
  17144. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  17145. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  17146. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  17147. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  17148. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  17149. | #define HAVE_STRUCT_TIMEVAL 1
  17150. | #define HAVE_STRUCT_TIMESPEC 1
  17151. | #define HAVE_STRUCT_TIMEZONE 1
  17152. | #define HAVE_CLOCKID_T 1
  17153. | #define HAVE_RB_FD_INIT 1
  17154. | #define HAVE_INT8_T 1
  17155. | #define SIZEOF_INT8_T 1
  17156. | #define HAVE_UINT8_T 1
  17157. | #define SIZEOF_UINT8_T 1
  17158. | #define HAVE_INT16_T 1
  17159. | #define SIZEOF_INT16_T 2
  17160. | #define HAVE_UINT16_T 1
  17161. | #define SIZEOF_UINT16_T 2
  17162. | #define HAVE_INT32_T 1
  17163. | #define SIZEOF_INT32_T 4
  17164. | #define HAVE_UINT32_T 1
  17165. | #define SIZEOF_UINT32_T 4
  17166. | #define HAVE_INT64_T 1
  17167. | #define SIZEOF_INT64_T 8
  17168. | #define HAVE_UINT64_T 1
  17169. | #define SIZEOF_UINT64_T 8
  17170. | #define HAVE_INTPTR_T 1
  17171. | #define SIZEOF_INTPTR_T 8
  17172. | #define HAVE_UINTPTR_T 1
  17173. | #define SIZEOF_UINTPTR_T 8
  17174. | #define HAVE_SSIZE_T 1
  17175. | #define SIZEOF_SSIZE_T 8
  17176. | #define STACK_END_ADDRESS __libc_stack_end
  17177. | #define GETGROUPS_T gid_t
  17178. | #define RETSIGTYPE void
  17179. | #define HAVE_ALLOCA_H 1
  17180. | #define HAVE_ALLOCA 1
  17181. | #define HAVE_DUP2 1
  17182. | #define HAVE_MEMMOVE 1
  17183. | #define HAVE_STRERROR 1
  17184. | #define HAVE_STRCHR 1
  17185. | #define HAVE_STRSTR 1
  17186. | #define HAVE_CRYPT 1
  17187. | #define HAVE_FLOCK 1
  17188. | #define HAVE_ISNAN 1
  17189. | #define HAVE_FINITE 1
  17190. | #define HAVE_ISINF 1
  17191. | #define HAVE_HYPOT 1
  17192. | #define HAVE_ACOSH 1
  17193. | #define HAVE_ERF 1
  17194. | #define HAVE_TGAMMA 1
  17195. | #define HAVE_LGAMMA_R 1
  17196. | #define HAVE_CBRT 1
  17197. | #define HAVE_FFS 1
  17198. | #define SPT_TYPE SPT_REUSEARGV
  17199. | #define HAVE_SIGNBIT 1
  17200. | #define HAVE_FMOD 1
  17201. | #define HAVE_KILLPG 1
  17202. | #define HAVE_WAIT4 1
  17203. | #define HAVE_WAITPID 1
  17204. | #define HAVE_FORK 1
  17205. | #define HAVE_SYSCALL 1
  17206. | #define HAVE_CHROOT 1
  17207. | #define HAVE_GETCWD 1
  17208. | #define HAVE_EACCESS 1
  17209. | #define HAVE_TRUNCATE 1
  17210. | #define HAVE_FTRUNCATE 1
  17211. | #define HAVE_FTELLO 1
  17212. | #define HAVE_TIMES 1
  17213. | #define HAVE_UTIMES 1
  17214. | #define HAVE_UTIMENSAT 1
  17215. | #define HAVE_FCNTL 1
  17216. | #define HAVE_LOCKF 1
  17217. | #define HAVE_LSTAT 1
  17218. | #define HAVE_TRUNCATE64 1
  17219. | #define HAVE_FTRUNCATE64 1
  17220. | #define HAVE_FTELLO64 1
  17221. | #define HAVE_FSEEKO 1
  17222. | #define HAVE_FSEEKO64 1
  17223. | #define HAVE_LINK 1
  17224. | #define HAVE_SYMLINK 1
  17225. | #define HAVE_READLINK 1
  17226. | #define HAVE_READDIR_R 1
  17227. | #define HAVE_FSYNC 1
  17228. | #define HAVE_FDATASYNC 1
  17229. | #define HAVE_FCHOWN 1
  17230. | #define HAVE_POSIX_FADVISE 1
  17231. | #define HAVE_SETITIMER 1
  17232. | #define HAVE_SETEUID 1
  17233. | #define HAVE_SETREUID 1
  17234. | #define HAVE_SETRESUID 1
  17235. | #define HAVE_SOCKETPAIR 1
  17236. | #define HAVE_SETEGID 1
  17237. | #define HAVE_SETREGID 1
  17238. | #define HAVE_SETRESGID 1
  17239. | #define HAVE_PAUSE 1
  17240. | #define HAVE_LCHOWN 1
  17241. | #define HAVE_GETPGRP 1
  17242. | #define HAVE_SETPGRP 1
  17243. | #define HAVE_GETPGID 1
  17244. | #define HAVE_SETPGID 1
  17245. | #define HAVE_INITGROUPS 1
  17246. | #define HAVE_GETGROUPS 1
  17247. | #define HAVE_SETGROUPS 1
  17248. | #define HAVE_GETPRIORITY 1
  17249. | #define HAVE_GETRLIMIT 1
  17250. | #define HAVE_SETRLIMIT 1
  17251. | #define HAVE_SYSCONF 1
  17252. | #define HAVE_CLOSE 1
  17253. | #define HAVE_GETGRNAM_R 1
  17254. | #define HAVE_DLOPEN 1
  17255. | #define HAVE_SIGPROCMASK 1
  17256. | #define HAVE_SIGACTION 1
  17257. | #define HAVE__SETJMP 1
  17258. | #define HAVE__LONGJMP 1
  17259. | #define HAVE_SETSID 1
  17260. | #define HAVE_TELLDIR 1
  17261. | #define HAVE_SEEKDIR 1
  17262. | #define HAVE_FCHMOD 1
  17263. | #define HAVE_COSH 1
  17264. | #define HAVE_SINH 1
  17265. | #define HAVE_TANH 1
  17266. | #define HAVE_LOG2 1
  17267. | #define HAVE_ROUND 1
  17268. | #define HAVE_SETUID 1
  17269. | #define HAVE_SETGID 1
  17270. | #define HAVE_SETENV 1
  17271. | #define HAVE_UNSETENV 1
  17272. | #define HAVE_MKTIME 1
  17273. | #define HAVE_TIMEGM 1
  17274. | #define HAVE_GMTIME_R 1
  17275. | #define HAVE_CLOCK_GETTIME 1
  17276. | #define HAVE_GETTIMEOFDAY 1
  17277. | #define HAVE_POLL 1
  17278. | #define HAVE_PPOLL 1
  17279. | #define HAVE_PREAD 1
  17280. | #define HAVE_SENDFILE 1
  17281. | #define HAVE_SHUTDOWN 1
  17282. | #define HAVE_SIGALTSTACK 1
  17283. | #define HAVE_DL_ITERATE_PHDR 1
  17284. | #define RUBY_SETJMP(env) _setjmp(env)
  17285. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  17286. | #define RUBY_JMP_BUF jmp_buf
  17287. | #define HAVE_STRUCT_TM_TM_ZONE 1
  17288. | #define HAVE_TM_ZONE 1
  17289. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  17290. | #define HAVE_DAYLIGHT 1
  17291. | #define HAVE_VAR_TIMEZONE 1
  17292. | #define TYPEOF_VAR_TIMEZONE long
  17293. | #define HAVE_TIMEZONE 1
  17294. | #define TIMEZONE_VOID 1
  17295. | #define NEGATIVE_TIME_T 1
  17296. | #define POSIX_SIGNAL 1
  17297. | #define RSHIFT(x,y) ((x)>>(int)(y))
  17298. | /* end confdefs.h. */
  17299. | #include <stdio.h>
  17300. |
  17301. | int
  17302. | main ()
  17303. | {
  17304. | FILE *f = stdin; f->_rcount = 0;
  17305. | ;
  17306. | return 0;
  17307. | }
  17308. configure:15540: result: not found (OK if using GNU libc)
  17309. configure:15552: checking read buffer ptr field in FILE structures
  17310. configure:15570: gcc -c -O3 -ggdb conftest.c >&5
  17311. configure:15570: $? = 0
  17312. configure:15578: result: _IO_read_ptr
  17313. configure:15587: checking read buffer end field in FILE structures
  17314. configure:15605: gcc -c -O3 -ggdb conftest.c >&5
  17315. configure:15605: $? = 0
  17316. configure:15613: result: _IO_read_end
  17317. configure:15625: checking size of struct stat.st_ino
  17318. configure:15655: gcc -c -O3 -ggdb conftest.c >&5
  17319. configure:15655: $? = 0
  17320. configure:15693: result: SIZEOF_LONG
  17321. configure:15721: checking whether _SC_CLK_TCK is supported
  17322. configure:15738: gcc -c -O3 -ggdb conftest.c >&5
  17323. configure:15738: $? = 0
  17324. configure:15746: result: yes
  17325. configure:15856: checking stack growing direction on x86_64
  17326. configure:15907: result: -1
  17327. configure:15920: checking for pthread_kill in -lthr
  17328. configure:15945: gcc -o conftest -O3 -ggdb conftest.c -lthr -lrt -ldl -lcrypt -lm >&5
  17329. /usr/bin/ld: cannot find -lthr
  17330. collect2: error: ld returned 1 exit status
  17331. configure:15945: $? = 1
  17332. configure: failed program was:
  17333. | /* confdefs.h */
  17334. | #define PACKAGE_NAME ""
  17335. | #define PACKAGE_TARNAME ""
  17336. | #define PACKAGE_VERSION ""
  17337. | #define PACKAGE_STRING ""
  17338. | #define PACKAGE_BUGREPORT ""
  17339. | #define PACKAGE_URL ""
  17340. | #define CANONICALIZATION_FOR_MATHN 1
  17341. | #define STDC_HEADERS 1
  17342. | #define HAVE_SYS_TYPES_H 1
  17343. | #define HAVE_SYS_STAT_H 1
  17344. | #define HAVE_STDLIB_H 1
  17345. | #define HAVE_STRING_H 1
  17346. | #define HAVE_MEMORY_H 1
  17347. | #define HAVE_STRINGS_H 1
  17348. | #define HAVE_INTTYPES_H 1
  17349. | #define HAVE_STDINT_H 1
  17350. | #define HAVE_UNISTD_H 1
  17351. | #define __EXTENSIONS__ 1
  17352. | #define _ALL_SOURCE 1
  17353. | #define _GNU_SOURCE 1
  17354. | #define _POSIX_PTHREAD_SEMANTICS 1
  17355. | #define _TANDEM_SOURCE 1
  17356. | #define HAVE_LONG_LONG 1
  17357. | #define HAVE_OFF_T 1
  17358. | #define SIZEOF_INT 4
  17359. | #define SIZEOF_SHORT 2
  17360. | #define SIZEOF_LONG 8
  17361. | #define SIZEOF_LONG_LONG 8
  17362. | #define SIZEOF___INT64 0
  17363. | #define SIZEOF_OFF_T 8
  17364. | #define SIZEOF_VOIDP 8
  17365. | #define SIZEOF_FLOAT 4
  17366. | #define SIZEOF_DOUBLE 8
  17367. | #define SIZEOF_TIME_T 8
  17368. | #define PRI_LL_PREFIX "ll"
  17369. | #define rb_pid_t pid_t
  17370. | #define PIDT2NUM(v) INT2NUM(v)
  17371. | #define NUM2PIDT(v) NUM2INT(v)
  17372. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  17373. | #define rb_uid_t uid_t
  17374. | #define UIDT2NUM(v) UINT2NUM(v)
  17375. | #define NUM2UIDT(v) NUM2UINT(v)
  17376. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  17377. | #define rb_gid_t gid_t
  17378. | #define GIDT2NUM(v) UINT2NUM(v)
  17379. | #define NUM2GIDT(v) NUM2UINT(v)
  17380. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  17381. | #define rb_time_t time_t
  17382. | #define TIMET2NUM(v) LONG2NUM(v)
  17383. | #define NUM2TIMET(v) NUM2LONG(v)
  17384. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  17385. | #define rb_dev_t dev_t
  17386. | #define DEVT2NUM(v) ULONG2NUM(v)
  17387. | #define NUM2DEVT(v) NUM2ULONG(v)
  17388. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  17389. | #define rb_mode_t mode_t
  17390. | #define MODET2NUM(v) UINT2NUM(v)
  17391. | #define NUM2MODET(v) NUM2UINT(v)
  17392. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  17393. | #define rb_rlim_t rlim_t
  17394. | #define RLIM2NUM(v) ULONG2NUM(v)
  17395. | #define NUM2RLIM(v) NUM2ULONG(v)
  17396. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  17397. | #define HAVE_PROTOTYPES 1
  17398. | #define TOKEN_PASTE(x,y) x##y
  17399. | #define STRINGIZE(expr) STRINGIZE0(expr)
  17400. | #define HAVE_STDARG_PROTOTYPES 1
  17401. | #define HAVE_VA_ARGS_MACRO 1
  17402. | #define NORETURN(x) __attribute__ ((noreturn)) x
  17403. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  17404. | #define NOINLINE(x) __attribute__ ((noinline)) x
  17405. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  17406. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  17407. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  17408. | #define HAVE_GCC_SYNC_BUILTINS 1
  17409. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  17410. | #define HAVE_DECL_SYS_NERR 1
  17411. | #define HAVE_LIBCRYPT 1
  17412. | #define HAVE_LIBDL 1
  17413. | #define HAVE_LIBRT 1
  17414. | #define HAVE_DIRENT_H 1
  17415. | #define HAVE__BOOL 1
  17416. | #define HAVE_STDBOOL_H 1
  17417. | #define HAVE_SYS_WAIT_H 1
  17418. | #define HAVE_LIMITS_H 1
  17419. | #define HAVE_SYS_FILE_H 1
  17420. | #define HAVE_SYS_IOCTL_H 1
  17421. | #define HAVE_SYS_SYSCALL_H 1
  17422. | #define HAVE_FCNTL_H 1
  17423. | #define HAVE_SYS_FCNTL_H 1
  17424. | #define HAVE_SYS_SELECT_H 1
  17425. | #define HAVE_SYS_TIME_H 1
  17426. | #define HAVE_SYS_TIMES_H 1
  17427. | #define HAVE_SYS_PARAM_H 1
  17428. | #define HAVE_SYSCALL_H 1
  17429. | #define HAVE_PWD_H 1
  17430. | #define HAVE_GRP_H 1
  17431. | #define HAVE_A_OUT_H 1
  17432. | #define HAVE_UTIME_H 1
  17433. | #define HAVE_SYS_RESOURCE_H 1
  17434. | #define HAVE_NETINET_IN_SYSTM_H 1
  17435. | #define HAVE_FLOAT_H 1
  17436. | #define HAVE_UCONTEXT_H 1
  17437. | #define HAVE_LANGINFO_H 1
  17438. | #define HAVE_LOCALE_H 1
  17439. | #define HAVE_SYS_SENDFILE_H 1
  17440. | #define HAVE_TIME_H 1
  17441. | #define HAVE_SYS_SOCKET_H 1
  17442. | #define SIZEOF_SIZE_T 8
  17443. | #define SIZEOF_PTRDIFF_T 8
  17444. | #define PRI_SIZE_PREFIX "z"
  17445. | #define PRI_PTRDIFF_PREFIX "t"
  17446. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  17447. | #define HAVE_ST_BLKSIZE 1
  17448. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  17449. | #define HAVE_ST_BLOCKS 1
  17450. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  17451. | #define HAVE_ST_RDEV 1
  17452. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  17453. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  17454. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  17455. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  17456. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  17457. | #define HAVE_STRUCT_TIMEVAL 1
  17458. | #define HAVE_STRUCT_TIMESPEC 1
  17459. | #define HAVE_STRUCT_TIMEZONE 1
  17460. | #define HAVE_CLOCKID_T 1
  17461. | #define HAVE_RB_FD_INIT 1
  17462. | #define HAVE_INT8_T 1
  17463. | #define SIZEOF_INT8_T 1
  17464. | #define HAVE_UINT8_T 1
  17465. | #define SIZEOF_UINT8_T 1
  17466. | #define HAVE_INT16_T 1
  17467. | #define SIZEOF_INT16_T 2
  17468. | #define HAVE_UINT16_T 1
  17469. | #define SIZEOF_UINT16_T 2
  17470. | #define HAVE_INT32_T 1
  17471. | #define SIZEOF_INT32_T 4
  17472. | #define HAVE_UINT32_T 1
  17473. | #define SIZEOF_UINT32_T 4
  17474. | #define HAVE_INT64_T 1
  17475. | #define SIZEOF_INT64_T 8
  17476. | #define HAVE_UINT64_T 1
  17477. | #define SIZEOF_UINT64_T 8
  17478. | #define HAVE_INTPTR_T 1
  17479. | #define SIZEOF_INTPTR_T 8
  17480. | #define HAVE_UINTPTR_T 1
  17481. | #define SIZEOF_UINTPTR_T 8
  17482. | #define HAVE_SSIZE_T 1
  17483. | #define SIZEOF_SSIZE_T 8
  17484. | #define STACK_END_ADDRESS __libc_stack_end
  17485. | #define GETGROUPS_T gid_t
  17486. | #define RETSIGTYPE void
  17487. | #define HAVE_ALLOCA_H 1
  17488. | #define HAVE_ALLOCA 1
  17489. | #define HAVE_DUP2 1
  17490. | #define HAVE_MEMMOVE 1
  17491. | #define HAVE_STRERROR 1
  17492. | #define HAVE_STRCHR 1
  17493. | #define HAVE_STRSTR 1
  17494. | #define HAVE_CRYPT 1
  17495. | #define HAVE_FLOCK 1
  17496. | #define HAVE_ISNAN 1
  17497. | #define HAVE_FINITE 1
  17498. | #define HAVE_ISINF 1
  17499. | #define HAVE_HYPOT 1
  17500. | #define HAVE_ACOSH 1
  17501. | #define HAVE_ERF 1
  17502. | #define HAVE_TGAMMA 1
  17503. | #define HAVE_LGAMMA_R 1
  17504. | #define HAVE_CBRT 1
  17505. | #define HAVE_FFS 1
  17506. | #define SPT_TYPE SPT_REUSEARGV
  17507. | #define HAVE_SIGNBIT 1
  17508. | #define HAVE_FMOD 1
  17509. | #define HAVE_KILLPG 1
  17510. | #define HAVE_WAIT4 1
  17511. | #define HAVE_WAITPID 1
  17512. | #define HAVE_FORK 1
  17513. | #define HAVE_SYSCALL 1
  17514. | #define HAVE_CHROOT 1
  17515. | #define HAVE_GETCWD 1
  17516. | #define HAVE_EACCESS 1
  17517. | #define HAVE_TRUNCATE 1
  17518. | #define HAVE_FTRUNCATE 1
  17519. | #define HAVE_FTELLO 1
  17520. | #define HAVE_TIMES 1
  17521. | #define HAVE_UTIMES 1
  17522. | #define HAVE_UTIMENSAT 1
  17523. | #define HAVE_FCNTL 1
  17524. | #define HAVE_LOCKF 1
  17525. | #define HAVE_LSTAT 1
  17526. | #define HAVE_TRUNCATE64 1
  17527. | #define HAVE_FTRUNCATE64 1
  17528. | #define HAVE_FTELLO64 1
  17529. | #define HAVE_FSEEKO 1
  17530. | #define HAVE_FSEEKO64 1
  17531. | #define HAVE_LINK 1
  17532. | #define HAVE_SYMLINK 1
  17533. | #define HAVE_READLINK 1
  17534. | #define HAVE_READDIR_R 1
  17535. | #define HAVE_FSYNC 1
  17536. | #define HAVE_FDATASYNC 1
  17537. | #define HAVE_FCHOWN 1
  17538. | #define HAVE_POSIX_FADVISE 1
  17539. | #define HAVE_SETITIMER 1
  17540. | #define HAVE_SETEUID 1
  17541. | #define HAVE_SETREUID 1
  17542. | #define HAVE_SETRESUID 1
  17543. | #define HAVE_SOCKETPAIR 1
  17544. | #define HAVE_SETEGID 1
  17545. | #define HAVE_SETREGID 1
  17546. | #define HAVE_SETRESGID 1
  17547. | #define HAVE_PAUSE 1
  17548. | #define HAVE_LCHOWN 1
  17549. | #define HAVE_GETPGRP 1
  17550. | #define HAVE_SETPGRP 1
  17551. | #define HAVE_GETPGID 1
  17552. | #define HAVE_SETPGID 1
  17553. | #define HAVE_INITGROUPS 1
  17554. | #define HAVE_GETGROUPS 1
  17555. | #define HAVE_SETGROUPS 1
  17556. | #define HAVE_GETPRIORITY 1
  17557. | #define HAVE_GETRLIMIT 1
  17558. | #define HAVE_SETRLIMIT 1
  17559. | #define HAVE_SYSCONF 1
  17560. | #define HAVE_CLOSE 1
  17561. | #define HAVE_GETGRNAM_R 1
  17562. | #define HAVE_DLOPEN 1
  17563. | #define HAVE_SIGPROCMASK 1
  17564. | #define HAVE_SIGACTION 1
  17565. | #define HAVE__SETJMP 1
  17566. | #define HAVE__LONGJMP 1
  17567. | #define HAVE_SETSID 1
  17568. | #define HAVE_TELLDIR 1
  17569. | #define HAVE_SEEKDIR 1
  17570. | #define HAVE_FCHMOD 1
  17571. | #define HAVE_COSH 1
  17572. | #define HAVE_SINH 1
  17573. | #define HAVE_TANH 1
  17574. | #define HAVE_LOG2 1
  17575. | #define HAVE_ROUND 1
  17576. | #define HAVE_SETUID 1
  17577. | #define HAVE_SETGID 1
  17578. | #define HAVE_SETENV 1
  17579. | #define HAVE_UNSETENV 1
  17580. | #define HAVE_MKTIME 1
  17581. | #define HAVE_TIMEGM 1
  17582. | #define HAVE_GMTIME_R 1
  17583. | #define HAVE_CLOCK_GETTIME 1
  17584. | #define HAVE_GETTIMEOFDAY 1
  17585. | #define HAVE_POLL 1
  17586. | #define HAVE_PPOLL 1
  17587. | #define HAVE_PREAD 1
  17588. | #define HAVE_SENDFILE 1
  17589. | #define HAVE_SHUTDOWN 1
  17590. | #define HAVE_SIGALTSTACK 1
  17591. | #define HAVE_DL_ITERATE_PHDR 1
  17592. | #define RUBY_SETJMP(env) _setjmp(env)
  17593. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  17594. | #define RUBY_JMP_BUF jmp_buf
  17595. | #define HAVE_STRUCT_TM_TM_ZONE 1
  17596. | #define HAVE_TM_ZONE 1
  17597. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  17598. | #define HAVE_DAYLIGHT 1
  17599. | #define HAVE_VAR_TIMEZONE 1
  17600. | #define TYPEOF_VAR_TIMEZONE long
  17601. | #define HAVE_TIMEZONE 1
  17602. | #define TIMEZONE_VOID 1
  17603. | #define NEGATIVE_TIME_T 1
  17604. | #define POSIX_SIGNAL 1
  17605. | #define RSHIFT(x,y) ((x)>>(int)(y))
  17606. | #define FILE_READPTR _IO_read_ptr
  17607. | #define FILE_READEND _IO_read_end
  17608. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  17609. | #define HAVE__SC_CLK_TCK 1
  17610. | #define STACK_GROW_DIRECTION -1
  17611. | /* end confdefs.h. */
  17612. |
  17613. | /* Override any GCC internal prototype to avoid an error.
  17614. | Use char because int might match the return type of a GCC
  17615. | builtin and then its argument prototype would still apply. */
  17616. | #ifdef __cplusplus
  17617. | extern "C"
  17618. | #endif
  17619. | char pthread_kill ();
  17620. | int
  17621. | main ()
  17622. | {
  17623. | return pthread_kill ();
  17624. | ;
  17625. | return 0;
  17626. | }
  17627. configure:15955: result: no
  17628. configure:15920: checking for pthread_kill in -lpthread
  17629. configure:15945: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  17630. configure:15945: $? = 0
  17631. configure:15955: result: yes
  17632. configure:15974: checking for pthread_np.h
  17633. configure:15974: gcc -c -O3 -ggdb conftest.c >&5
  17634. conftest.c:285:24: fatal error: pthread_np.h: No such file or directory
  17635. compilation terminated.
  17636. configure:15974: $? = 1
  17637. configure: failed program was:
  17638. | /* confdefs.h */
  17639. | #define PACKAGE_NAME ""
  17640. | #define PACKAGE_TARNAME ""
  17641. | #define PACKAGE_VERSION ""
  17642. | #define PACKAGE_STRING ""
  17643. | #define PACKAGE_BUGREPORT ""
  17644. | #define PACKAGE_URL ""
  17645. | #define CANONICALIZATION_FOR_MATHN 1
  17646. | #define STDC_HEADERS 1
  17647. | #define HAVE_SYS_TYPES_H 1
  17648. | #define HAVE_SYS_STAT_H 1
  17649. | #define HAVE_STDLIB_H 1
  17650. | #define HAVE_STRING_H 1
  17651. | #define HAVE_MEMORY_H 1
  17652. | #define HAVE_STRINGS_H 1
  17653. | #define HAVE_INTTYPES_H 1
  17654. | #define HAVE_STDINT_H 1
  17655. | #define HAVE_UNISTD_H 1
  17656. | #define __EXTENSIONS__ 1
  17657. | #define _ALL_SOURCE 1
  17658. | #define _GNU_SOURCE 1
  17659. | #define _POSIX_PTHREAD_SEMANTICS 1
  17660. | #define _TANDEM_SOURCE 1
  17661. | #define HAVE_LONG_LONG 1
  17662. | #define HAVE_OFF_T 1
  17663. | #define SIZEOF_INT 4
  17664. | #define SIZEOF_SHORT 2
  17665. | #define SIZEOF_LONG 8
  17666. | #define SIZEOF_LONG_LONG 8
  17667. | #define SIZEOF___INT64 0
  17668. | #define SIZEOF_OFF_T 8
  17669. | #define SIZEOF_VOIDP 8
  17670. | #define SIZEOF_FLOAT 4
  17671. | #define SIZEOF_DOUBLE 8
  17672. | #define SIZEOF_TIME_T 8
  17673. | #define PRI_LL_PREFIX "ll"
  17674. | #define rb_pid_t pid_t
  17675. | #define PIDT2NUM(v) INT2NUM(v)
  17676. | #define NUM2PIDT(v) NUM2INT(v)
  17677. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  17678. | #define rb_uid_t uid_t
  17679. | #define UIDT2NUM(v) UINT2NUM(v)
  17680. | #define NUM2UIDT(v) NUM2UINT(v)
  17681. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  17682. | #define rb_gid_t gid_t
  17683. | #define GIDT2NUM(v) UINT2NUM(v)
  17684. | #define NUM2GIDT(v) NUM2UINT(v)
  17685. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  17686. | #define rb_time_t time_t
  17687. | #define TIMET2NUM(v) LONG2NUM(v)
  17688. | #define NUM2TIMET(v) NUM2LONG(v)
  17689. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  17690. | #define rb_dev_t dev_t
  17691. | #define DEVT2NUM(v) ULONG2NUM(v)
  17692. | #define NUM2DEVT(v) NUM2ULONG(v)
  17693. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  17694. | #define rb_mode_t mode_t
  17695. | #define MODET2NUM(v) UINT2NUM(v)
  17696. | #define NUM2MODET(v) NUM2UINT(v)
  17697. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  17698. | #define rb_rlim_t rlim_t
  17699. | #define RLIM2NUM(v) ULONG2NUM(v)
  17700. | #define NUM2RLIM(v) NUM2ULONG(v)
  17701. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  17702. | #define HAVE_PROTOTYPES 1
  17703. | #define TOKEN_PASTE(x,y) x##y
  17704. | #define STRINGIZE(expr) STRINGIZE0(expr)
  17705. | #define HAVE_STDARG_PROTOTYPES 1
  17706. | #define HAVE_VA_ARGS_MACRO 1
  17707. | #define NORETURN(x) __attribute__ ((noreturn)) x
  17708. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  17709. | #define NOINLINE(x) __attribute__ ((noinline)) x
  17710. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  17711. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  17712. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  17713. | #define HAVE_GCC_SYNC_BUILTINS 1
  17714. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  17715. | #define HAVE_DECL_SYS_NERR 1
  17716. | #define HAVE_LIBCRYPT 1
  17717. | #define HAVE_LIBDL 1
  17718. | #define HAVE_LIBRT 1
  17719. | #define HAVE_DIRENT_H 1
  17720. | #define HAVE__BOOL 1
  17721. | #define HAVE_STDBOOL_H 1
  17722. | #define HAVE_SYS_WAIT_H 1
  17723. | #define HAVE_LIMITS_H 1
  17724. | #define HAVE_SYS_FILE_H 1
  17725. | #define HAVE_SYS_IOCTL_H 1
  17726. | #define HAVE_SYS_SYSCALL_H 1
  17727. | #define HAVE_FCNTL_H 1
  17728. | #define HAVE_SYS_FCNTL_H 1
  17729. | #define HAVE_SYS_SELECT_H 1
  17730. | #define HAVE_SYS_TIME_H 1
  17731. | #define HAVE_SYS_TIMES_H 1
  17732. | #define HAVE_SYS_PARAM_H 1
  17733. | #define HAVE_SYSCALL_H 1
  17734. | #define HAVE_PWD_H 1
  17735. | #define HAVE_GRP_H 1
  17736. | #define HAVE_A_OUT_H 1
  17737. | #define HAVE_UTIME_H 1
  17738. | #define HAVE_SYS_RESOURCE_H 1
  17739. | #define HAVE_NETINET_IN_SYSTM_H 1
  17740. | #define HAVE_FLOAT_H 1
  17741. | #define HAVE_UCONTEXT_H 1
  17742. | #define HAVE_LANGINFO_H 1
  17743. | #define HAVE_LOCALE_H 1
  17744. | #define HAVE_SYS_SENDFILE_H 1
  17745. | #define HAVE_TIME_H 1
  17746. | #define HAVE_SYS_SOCKET_H 1
  17747. | #define SIZEOF_SIZE_T 8
  17748. | #define SIZEOF_PTRDIFF_T 8
  17749. | #define PRI_SIZE_PREFIX "z"
  17750. | #define PRI_PTRDIFF_PREFIX "t"
  17751. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  17752. | #define HAVE_ST_BLKSIZE 1
  17753. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  17754. | #define HAVE_ST_BLOCKS 1
  17755. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  17756. | #define HAVE_ST_RDEV 1
  17757. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  17758. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  17759. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  17760. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  17761. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  17762. | #define HAVE_STRUCT_TIMEVAL 1
  17763. | #define HAVE_STRUCT_TIMESPEC 1
  17764. | #define HAVE_STRUCT_TIMEZONE 1
  17765. | #define HAVE_CLOCKID_T 1
  17766. | #define HAVE_RB_FD_INIT 1
  17767. | #define HAVE_INT8_T 1
  17768. | #define SIZEOF_INT8_T 1
  17769. | #define HAVE_UINT8_T 1
  17770. | #define SIZEOF_UINT8_T 1
  17771. | #define HAVE_INT16_T 1
  17772. | #define SIZEOF_INT16_T 2
  17773. | #define HAVE_UINT16_T 1
  17774. | #define SIZEOF_UINT16_T 2
  17775. | #define HAVE_INT32_T 1
  17776. | #define SIZEOF_INT32_T 4
  17777. | #define HAVE_UINT32_T 1
  17778. | #define SIZEOF_UINT32_T 4
  17779. | #define HAVE_INT64_T 1
  17780. | #define SIZEOF_INT64_T 8
  17781. | #define HAVE_UINT64_T 1
  17782. | #define SIZEOF_UINT64_T 8
  17783. | #define HAVE_INTPTR_T 1
  17784. | #define SIZEOF_INTPTR_T 8
  17785. | #define HAVE_UINTPTR_T 1
  17786. | #define SIZEOF_UINTPTR_T 8
  17787. | #define HAVE_SSIZE_T 1
  17788. | #define SIZEOF_SSIZE_T 8
  17789. | #define STACK_END_ADDRESS __libc_stack_end
  17790. | #define GETGROUPS_T gid_t
  17791. | #define RETSIGTYPE void
  17792. | #define HAVE_ALLOCA_H 1
  17793. | #define HAVE_ALLOCA 1
  17794. | #define HAVE_DUP2 1
  17795. | #define HAVE_MEMMOVE 1
  17796. | #define HAVE_STRERROR 1
  17797. | #define HAVE_STRCHR 1
  17798. | #define HAVE_STRSTR 1
  17799. | #define HAVE_CRYPT 1
  17800. | #define HAVE_FLOCK 1
  17801. | #define HAVE_ISNAN 1
  17802. | #define HAVE_FINITE 1
  17803. | #define HAVE_ISINF 1
  17804. | #define HAVE_HYPOT 1
  17805. | #define HAVE_ACOSH 1
  17806. | #define HAVE_ERF 1
  17807. | #define HAVE_TGAMMA 1
  17808. | #define HAVE_LGAMMA_R 1
  17809. | #define HAVE_CBRT 1
  17810. | #define HAVE_FFS 1
  17811. | #define SPT_TYPE SPT_REUSEARGV
  17812. | #define HAVE_SIGNBIT 1
  17813. | #define HAVE_FMOD 1
  17814. | #define HAVE_KILLPG 1
  17815. | #define HAVE_WAIT4 1
  17816. | #define HAVE_WAITPID 1
  17817. | #define HAVE_FORK 1
  17818. | #define HAVE_SYSCALL 1
  17819. | #define HAVE_CHROOT 1
  17820. | #define HAVE_GETCWD 1
  17821. | #define HAVE_EACCESS 1
  17822. | #define HAVE_TRUNCATE 1
  17823. | #define HAVE_FTRUNCATE 1
  17824. | #define HAVE_FTELLO 1
  17825. | #define HAVE_TIMES 1
  17826. | #define HAVE_UTIMES 1
  17827. | #define HAVE_UTIMENSAT 1
  17828. | #define HAVE_FCNTL 1
  17829. | #define HAVE_LOCKF 1
  17830. | #define HAVE_LSTAT 1
  17831. | #define HAVE_TRUNCATE64 1
  17832. | #define HAVE_FTRUNCATE64 1
  17833. | #define HAVE_FTELLO64 1
  17834. | #define HAVE_FSEEKO 1
  17835. | #define HAVE_FSEEKO64 1
  17836. | #define HAVE_LINK 1
  17837. | #define HAVE_SYMLINK 1
  17838. | #define HAVE_READLINK 1
  17839. | #define HAVE_READDIR_R 1
  17840. | #define HAVE_FSYNC 1
  17841. | #define HAVE_FDATASYNC 1
  17842. | #define HAVE_FCHOWN 1
  17843. | #define HAVE_POSIX_FADVISE 1
  17844. | #define HAVE_SETITIMER 1
  17845. | #define HAVE_SETEUID 1
  17846. | #define HAVE_SETREUID 1
  17847. | #define HAVE_SETRESUID 1
  17848. | #define HAVE_SOCKETPAIR 1
  17849. | #define HAVE_SETEGID 1
  17850. | #define HAVE_SETREGID 1
  17851. | #define HAVE_SETRESGID 1
  17852. | #define HAVE_PAUSE 1
  17853. | #define HAVE_LCHOWN 1
  17854. | #define HAVE_GETPGRP 1
  17855. | #define HAVE_SETPGRP 1
  17856. | #define HAVE_GETPGID 1
  17857. | #define HAVE_SETPGID 1
  17858. | #define HAVE_INITGROUPS 1
  17859. | #define HAVE_GETGROUPS 1
  17860. | #define HAVE_SETGROUPS 1
  17861. | #define HAVE_GETPRIORITY 1
  17862. | #define HAVE_GETRLIMIT 1
  17863. | #define HAVE_SETRLIMIT 1
  17864. | #define HAVE_SYSCONF 1
  17865. | #define HAVE_CLOSE 1
  17866. | #define HAVE_GETGRNAM_R 1
  17867. | #define HAVE_DLOPEN 1
  17868. | #define HAVE_SIGPROCMASK 1
  17869. | #define HAVE_SIGACTION 1
  17870. | #define HAVE__SETJMP 1
  17871. | #define HAVE__LONGJMP 1
  17872. | #define HAVE_SETSID 1
  17873. | #define HAVE_TELLDIR 1
  17874. | #define HAVE_SEEKDIR 1
  17875. | #define HAVE_FCHMOD 1
  17876. | #define HAVE_COSH 1
  17877. | #define HAVE_SINH 1
  17878. | #define HAVE_TANH 1
  17879. | #define HAVE_LOG2 1
  17880. | #define HAVE_ROUND 1
  17881. | #define HAVE_SETUID 1
  17882. | #define HAVE_SETGID 1
  17883. | #define HAVE_SETENV 1
  17884. | #define HAVE_UNSETENV 1
  17885. | #define HAVE_MKTIME 1
  17886. | #define HAVE_TIMEGM 1
  17887. | #define HAVE_GMTIME_R 1
  17888. | #define HAVE_CLOCK_GETTIME 1
  17889. | #define HAVE_GETTIMEOFDAY 1
  17890. | #define HAVE_POLL 1
  17891. | #define HAVE_PPOLL 1
  17892. | #define HAVE_PREAD 1
  17893. | #define HAVE_SENDFILE 1
  17894. | #define HAVE_SHUTDOWN 1
  17895. | #define HAVE_SIGALTSTACK 1
  17896. | #define HAVE_DL_ITERATE_PHDR 1
  17897. | #define RUBY_SETJMP(env) _setjmp(env)
  17898. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  17899. | #define RUBY_JMP_BUF jmp_buf
  17900. | #define HAVE_STRUCT_TM_TM_ZONE 1
  17901. | #define HAVE_TM_ZONE 1
  17902. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  17903. | #define HAVE_DAYLIGHT 1
  17904. | #define HAVE_VAR_TIMEZONE 1
  17905. | #define TYPEOF_VAR_TIMEZONE long
  17906. | #define HAVE_TIMEZONE 1
  17907. | #define TIMEZONE_VOID 1
  17908. | #define NEGATIVE_TIME_T 1
  17909. | #define POSIX_SIGNAL 1
  17910. | #define RSHIFT(x,y) ((x)>>(int)(y))
  17911. | #define FILE_READPTR _IO_read_ptr
  17912. | #define FILE_READEND _IO_read_end
  17913. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  17914. | #define HAVE__SC_CLK_TCK 1
  17915. | #define STACK_GROW_DIRECTION -1
  17916. | #define _REENTRANT 1
  17917. | #define _THREAD_SAFE 1
  17918. | #define HAVE_LIBPTHREAD 1
  17919. | /* end confdefs.h. */
  17920. | #include <pthread.h>
  17921. |
  17922. | #include <pthread_np.h>
  17923. configure:15974: result: no
  17924. configure:16011: checking for sched_yield
  17925. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  17926. configure:16011: $? = 0
  17927. configure:16011: result: yes
  17928. configure:16011: checking for pthread_attr_setinheritsched
  17929. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  17930. configure:16011: $? = 0
  17931. configure:16011: result: yes
  17932. configure:16011: checking for pthread_getattr_np
  17933. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  17934. configure:16011: $? = 0
  17935. configure:16011: result: yes
  17936. configure:16011: checking for pthread_attr_get_np
  17937. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  17938. /tmp/cc4TM5hi.o: In function `main':
  17939. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:320: undefined reference to `pthread_attr_get_np'
  17940. collect2: error: ld returned 1 exit status
  17941. configure:16011: $? = 1
  17942. configure: failed program was:
  17943. | /* confdefs.h */
  17944. | #define PACKAGE_NAME ""
  17945. | #define PACKAGE_TARNAME ""
  17946. | #define PACKAGE_VERSION ""
  17947. | #define PACKAGE_STRING ""
  17948. | #define PACKAGE_BUGREPORT ""
  17949. | #define PACKAGE_URL ""
  17950. | #define CANONICALIZATION_FOR_MATHN 1
  17951. | #define STDC_HEADERS 1
  17952. | #define HAVE_SYS_TYPES_H 1
  17953. | #define HAVE_SYS_STAT_H 1
  17954. | #define HAVE_STDLIB_H 1
  17955. | #define HAVE_STRING_H 1
  17956. | #define HAVE_MEMORY_H 1
  17957. | #define HAVE_STRINGS_H 1
  17958. | #define HAVE_INTTYPES_H 1
  17959. | #define HAVE_STDINT_H 1
  17960. | #define HAVE_UNISTD_H 1
  17961. | #define __EXTENSIONS__ 1
  17962. | #define _ALL_SOURCE 1
  17963. | #define _GNU_SOURCE 1
  17964. | #define _POSIX_PTHREAD_SEMANTICS 1
  17965. | #define _TANDEM_SOURCE 1
  17966. | #define HAVE_LONG_LONG 1
  17967. | #define HAVE_OFF_T 1
  17968. | #define SIZEOF_INT 4
  17969. | #define SIZEOF_SHORT 2
  17970. | #define SIZEOF_LONG 8
  17971. | #define SIZEOF_LONG_LONG 8
  17972. | #define SIZEOF___INT64 0
  17973. | #define SIZEOF_OFF_T 8
  17974. | #define SIZEOF_VOIDP 8
  17975. | #define SIZEOF_FLOAT 4
  17976. | #define SIZEOF_DOUBLE 8
  17977. | #define SIZEOF_TIME_T 8
  17978. | #define PRI_LL_PREFIX "ll"
  17979. | #define rb_pid_t pid_t
  17980. | #define PIDT2NUM(v) INT2NUM(v)
  17981. | #define NUM2PIDT(v) NUM2INT(v)
  17982. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  17983. | #define rb_uid_t uid_t
  17984. | #define UIDT2NUM(v) UINT2NUM(v)
  17985. | #define NUM2UIDT(v) NUM2UINT(v)
  17986. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  17987. | #define rb_gid_t gid_t
  17988. | #define GIDT2NUM(v) UINT2NUM(v)
  17989. | #define NUM2GIDT(v) NUM2UINT(v)
  17990. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  17991. | #define rb_time_t time_t
  17992. | #define TIMET2NUM(v) LONG2NUM(v)
  17993. | #define NUM2TIMET(v) NUM2LONG(v)
  17994. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  17995. | #define rb_dev_t dev_t
  17996. | #define DEVT2NUM(v) ULONG2NUM(v)
  17997. | #define NUM2DEVT(v) NUM2ULONG(v)
  17998. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  17999. | #define rb_mode_t mode_t
  18000. | #define MODET2NUM(v) UINT2NUM(v)
  18001. | #define NUM2MODET(v) NUM2UINT(v)
  18002. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  18003. | #define rb_rlim_t rlim_t
  18004. | #define RLIM2NUM(v) ULONG2NUM(v)
  18005. | #define NUM2RLIM(v) NUM2ULONG(v)
  18006. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  18007. | #define HAVE_PROTOTYPES 1
  18008. | #define TOKEN_PASTE(x,y) x##y
  18009. | #define STRINGIZE(expr) STRINGIZE0(expr)
  18010. | #define HAVE_STDARG_PROTOTYPES 1
  18011. | #define HAVE_VA_ARGS_MACRO 1
  18012. | #define NORETURN(x) __attribute__ ((noreturn)) x
  18013. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  18014. | #define NOINLINE(x) __attribute__ ((noinline)) x
  18015. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  18016. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  18017. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  18018. | #define HAVE_GCC_SYNC_BUILTINS 1
  18019. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  18020. | #define HAVE_DECL_SYS_NERR 1
  18021. | #define HAVE_LIBCRYPT 1
  18022. | #define HAVE_LIBDL 1
  18023. | #define HAVE_LIBRT 1
  18024. | #define HAVE_DIRENT_H 1
  18025. | #define HAVE__BOOL 1
  18026. | #define HAVE_STDBOOL_H 1
  18027. | #define HAVE_SYS_WAIT_H 1
  18028. | #define HAVE_LIMITS_H 1
  18029. | #define HAVE_SYS_FILE_H 1
  18030. | #define HAVE_SYS_IOCTL_H 1
  18031. | #define HAVE_SYS_SYSCALL_H 1
  18032. | #define HAVE_FCNTL_H 1
  18033. | #define HAVE_SYS_FCNTL_H 1
  18034. | #define HAVE_SYS_SELECT_H 1
  18035. | #define HAVE_SYS_TIME_H 1
  18036. | #define HAVE_SYS_TIMES_H 1
  18037. | #define HAVE_SYS_PARAM_H 1
  18038. | #define HAVE_SYSCALL_H 1
  18039. | #define HAVE_PWD_H 1
  18040. | #define HAVE_GRP_H 1
  18041. | #define HAVE_A_OUT_H 1
  18042. | #define HAVE_UTIME_H 1
  18043. | #define HAVE_SYS_RESOURCE_H 1
  18044. | #define HAVE_NETINET_IN_SYSTM_H 1
  18045. | #define HAVE_FLOAT_H 1
  18046. | #define HAVE_UCONTEXT_H 1
  18047. | #define HAVE_LANGINFO_H 1
  18048. | #define HAVE_LOCALE_H 1
  18049. | #define HAVE_SYS_SENDFILE_H 1
  18050. | #define HAVE_TIME_H 1
  18051. | #define HAVE_SYS_SOCKET_H 1
  18052. | #define SIZEOF_SIZE_T 8
  18053. | #define SIZEOF_PTRDIFF_T 8
  18054. | #define PRI_SIZE_PREFIX "z"
  18055. | #define PRI_PTRDIFF_PREFIX "t"
  18056. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  18057. | #define HAVE_ST_BLKSIZE 1
  18058. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  18059. | #define HAVE_ST_BLOCKS 1
  18060. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  18061. | #define HAVE_ST_RDEV 1
  18062. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  18063. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  18064. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  18065. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  18066. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  18067. | #define HAVE_STRUCT_TIMEVAL 1
  18068. | #define HAVE_STRUCT_TIMESPEC 1
  18069. | #define HAVE_STRUCT_TIMEZONE 1
  18070. | #define HAVE_CLOCKID_T 1
  18071. | #define HAVE_RB_FD_INIT 1
  18072. | #define HAVE_INT8_T 1
  18073. | #define SIZEOF_INT8_T 1
  18074. | #define HAVE_UINT8_T 1
  18075. | #define SIZEOF_UINT8_T 1
  18076. | #define HAVE_INT16_T 1
  18077. | #define SIZEOF_INT16_T 2
  18078. | #define HAVE_UINT16_T 1
  18079. | #define SIZEOF_UINT16_T 2
  18080. | #define HAVE_INT32_T 1
  18081. | #define SIZEOF_INT32_T 4
  18082. | #define HAVE_UINT32_T 1
  18083. | #define SIZEOF_UINT32_T 4
  18084. | #define HAVE_INT64_T 1
  18085. | #define SIZEOF_INT64_T 8
  18086. | #define HAVE_UINT64_T 1
  18087. | #define SIZEOF_UINT64_T 8
  18088. | #define HAVE_INTPTR_T 1
  18089. | #define SIZEOF_INTPTR_T 8
  18090. | #define HAVE_UINTPTR_T 1
  18091. | #define SIZEOF_UINTPTR_T 8
  18092. | #define HAVE_SSIZE_T 1
  18093. | #define SIZEOF_SSIZE_T 8
  18094. | #define STACK_END_ADDRESS __libc_stack_end
  18095. | #define GETGROUPS_T gid_t
  18096. | #define RETSIGTYPE void
  18097. | #define HAVE_ALLOCA_H 1
  18098. | #define HAVE_ALLOCA 1
  18099. | #define HAVE_DUP2 1
  18100. | #define HAVE_MEMMOVE 1
  18101. | #define HAVE_STRERROR 1
  18102. | #define HAVE_STRCHR 1
  18103. | #define HAVE_STRSTR 1
  18104. | #define HAVE_CRYPT 1
  18105. | #define HAVE_FLOCK 1
  18106. | #define HAVE_ISNAN 1
  18107. | #define HAVE_FINITE 1
  18108. | #define HAVE_ISINF 1
  18109. | #define HAVE_HYPOT 1
  18110. | #define HAVE_ACOSH 1
  18111. | #define HAVE_ERF 1
  18112. | #define HAVE_TGAMMA 1
  18113. | #define HAVE_LGAMMA_R 1
  18114. | #define HAVE_CBRT 1
  18115. | #define HAVE_FFS 1
  18116. | #define SPT_TYPE SPT_REUSEARGV
  18117. | #define HAVE_SIGNBIT 1
  18118. | #define HAVE_FMOD 1
  18119. | #define HAVE_KILLPG 1
  18120. | #define HAVE_WAIT4 1
  18121. | #define HAVE_WAITPID 1
  18122. | #define HAVE_FORK 1
  18123. | #define HAVE_SYSCALL 1
  18124. | #define HAVE_CHROOT 1
  18125. | #define HAVE_GETCWD 1
  18126. | #define HAVE_EACCESS 1
  18127. | #define HAVE_TRUNCATE 1
  18128. | #define HAVE_FTRUNCATE 1
  18129. | #define HAVE_FTELLO 1
  18130. | #define HAVE_TIMES 1
  18131. | #define HAVE_UTIMES 1
  18132. | #define HAVE_UTIMENSAT 1
  18133. | #define HAVE_FCNTL 1
  18134. | #define HAVE_LOCKF 1
  18135. | #define HAVE_LSTAT 1
  18136. | #define HAVE_TRUNCATE64 1
  18137. | #define HAVE_FTRUNCATE64 1
  18138. | #define HAVE_FTELLO64 1
  18139. | #define HAVE_FSEEKO 1
  18140. | #define HAVE_FSEEKO64 1
  18141. | #define HAVE_LINK 1
  18142. | #define HAVE_SYMLINK 1
  18143. | #define HAVE_READLINK 1
  18144. | #define HAVE_READDIR_R 1
  18145. | #define HAVE_FSYNC 1
  18146. | #define HAVE_FDATASYNC 1
  18147. | #define HAVE_FCHOWN 1
  18148. | #define HAVE_POSIX_FADVISE 1
  18149. | #define HAVE_SETITIMER 1
  18150. | #define HAVE_SETEUID 1
  18151. | #define HAVE_SETREUID 1
  18152. | #define HAVE_SETRESUID 1
  18153. | #define HAVE_SOCKETPAIR 1
  18154. | #define HAVE_SETEGID 1
  18155. | #define HAVE_SETREGID 1
  18156. | #define HAVE_SETRESGID 1
  18157. | #define HAVE_PAUSE 1
  18158. | #define HAVE_LCHOWN 1
  18159. | #define HAVE_GETPGRP 1
  18160. | #define HAVE_SETPGRP 1
  18161. | #define HAVE_GETPGID 1
  18162. | #define HAVE_SETPGID 1
  18163. | #define HAVE_INITGROUPS 1
  18164. | #define HAVE_GETGROUPS 1
  18165. | #define HAVE_SETGROUPS 1
  18166. | #define HAVE_GETPRIORITY 1
  18167. | #define HAVE_GETRLIMIT 1
  18168. | #define HAVE_SETRLIMIT 1
  18169. | #define HAVE_SYSCONF 1
  18170. | #define HAVE_CLOSE 1
  18171. | #define HAVE_GETGRNAM_R 1
  18172. | #define HAVE_DLOPEN 1
  18173. | #define HAVE_SIGPROCMASK 1
  18174. | #define HAVE_SIGACTION 1
  18175. | #define HAVE__SETJMP 1
  18176. | #define HAVE__LONGJMP 1
  18177. | #define HAVE_SETSID 1
  18178. | #define HAVE_TELLDIR 1
  18179. | #define HAVE_SEEKDIR 1
  18180. | #define HAVE_FCHMOD 1
  18181. | #define HAVE_COSH 1
  18182. | #define HAVE_SINH 1
  18183. | #define HAVE_TANH 1
  18184. | #define HAVE_LOG2 1
  18185. | #define HAVE_ROUND 1
  18186. | #define HAVE_SETUID 1
  18187. | #define HAVE_SETGID 1
  18188. | #define HAVE_SETENV 1
  18189. | #define HAVE_UNSETENV 1
  18190. | #define HAVE_MKTIME 1
  18191. | #define HAVE_TIMEGM 1
  18192. | #define HAVE_GMTIME_R 1
  18193. | #define HAVE_CLOCK_GETTIME 1
  18194. | #define HAVE_GETTIMEOFDAY 1
  18195. | #define HAVE_POLL 1
  18196. | #define HAVE_PPOLL 1
  18197. | #define HAVE_PREAD 1
  18198. | #define HAVE_SENDFILE 1
  18199. | #define HAVE_SHUTDOWN 1
  18200. | #define HAVE_SIGALTSTACK 1
  18201. | #define HAVE_DL_ITERATE_PHDR 1
  18202. | #define RUBY_SETJMP(env) _setjmp(env)
  18203. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  18204. | #define RUBY_JMP_BUF jmp_buf
  18205. | #define HAVE_STRUCT_TM_TM_ZONE 1
  18206. | #define HAVE_TM_ZONE 1
  18207. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  18208. | #define HAVE_DAYLIGHT 1
  18209. | #define HAVE_VAR_TIMEZONE 1
  18210. | #define TYPEOF_VAR_TIMEZONE long
  18211. | #define HAVE_TIMEZONE 1
  18212. | #define TIMEZONE_VOID 1
  18213. | #define NEGATIVE_TIME_T 1
  18214. | #define POSIX_SIGNAL 1
  18215. | #define RSHIFT(x,y) ((x)>>(int)(y))
  18216. | #define FILE_READPTR _IO_read_ptr
  18217. | #define FILE_READEND _IO_read_end
  18218. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  18219. | #define HAVE__SC_CLK_TCK 1
  18220. | #define STACK_GROW_DIRECTION -1
  18221. | #define _REENTRANT 1
  18222. | #define _THREAD_SAFE 1
  18223. | #define HAVE_LIBPTHREAD 1
  18224. | #define HAVE_SCHED_YIELD 1
  18225. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  18226. | #define HAVE_PTHREAD_GETATTR_NP 1
  18227. | /* end confdefs.h. */
  18228. | /* Define pthread_attr_get_np to an innocuous variant, in case <limits.h> declares pthread_attr_get_np.
  18229. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  18230. | #define pthread_attr_get_np innocuous_pthread_attr_get_np
  18231. |
  18232. | /* System header to define __stub macros and hopefully few prototypes,
  18233. | which can conflict with char pthread_attr_get_np (); below.
  18234. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  18235. | <limits.h> exists even on freestanding compilers. */
  18236. |
  18237. | #ifdef __STDC__
  18238. | # include <limits.h>
  18239. | #else
  18240. | # include <assert.h>
  18241. | #endif
  18242. |
  18243. | #undef pthread_attr_get_np
  18244. |
  18245. | /* Override any GCC internal prototype to avoid an error.
  18246. | Use char because int might match the return type of a GCC
  18247. | builtin and then its argument prototype would still apply. */
  18248. | #ifdef __cplusplus
  18249. | extern "C"
  18250. | #endif
  18251. | char pthread_attr_get_np ();
  18252. | /* The GNU C library defines this for functions which it implements
  18253. | to always fail with ENOSYS. Some functions are actually named
  18254. | something starting with __ and the normal name is an alias. */
  18255. | #if defined __stub_pthread_attr_get_np || defined __stub___pthread_attr_get_np
  18256. | choke me
  18257. | #endif
  18258. |
  18259. | int
  18260. | main ()
  18261. | {
  18262. | return pthread_attr_get_np ();
  18263. | ;
  18264. | return 0;
  18265. | }
  18266. configure:16011: result: no
  18267. configure:16011: checking for pthread_attr_getstack
  18268. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  18269. configure:16011: $? = 0
  18270. configure:16011: result: yes
  18271. configure:16011: checking for pthread_get_stackaddr_np
  18272. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  18273. /tmp/cc643pWt.o: In function `main':
  18274. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:321: undefined reference to `pthread_get_stackaddr_np'
  18275. collect2: error: ld returned 1 exit status
  18276. configure:16011: $? = 1
  18277. configure: failed program was:
  18278. | /* confdefs.h */
  18279. | #define PACKAGE_NAME ""
  18280. | #define PACKAGE_TARNAME ""
  18281. | #define PACKAGE_VERSION ""
  18282. | #define PACKAGE_STRING ""
  18283. | #define PACKAGE_BUGREPORT ""
  18284. | #define PACKAGE_URL ""
  18285. | #define CANONICALIZATION_FOR_MATHN 1
  18286. | #define STDC_HEADERS 1
  18287. | #define HAVE_SYS_TYPES_H 1
  18288. | #define HAVE_SYS_STAT_H 1
  18289. | #define HAVE_STDLIB_H 1
  18290. | #define HAVE_STRING_H 1
  18291. | #define HAVE_MEMORY_H 1
  18292. | #define HAVE_STRINGS_H 1
  18293. | #define HAVE_INTTYPES_H 1
  18294. | #define HAVE_STDINT_H 1
  18295. | #define HAVE_UNISTD_H 1
  18296. | #define __EXTENSIONS__ 1
  18297. | #define _ALL_SOURCE 1
  18298. | #define _GNU_SOURCE 1
  18299. | #define _POSIX_PTHREAD_SEMANTICS 1
  18300. | #define _TANDEM_SOURCE 1
  18301. | #define HAVE_LONG_LONG 1
  18302. | #define HAVE_OFF_T 1
  18303. | #define SIZEOF_INT 4
  18304. | #define SIZEOF_SHORT 2
  18305. | #define SIZEOF_LONG 8
  18306. | #define SIZEOF_LONG_LONG 8
  18307. | #define SIZEOF___INT64 0
  18308. | #define SIZEOF_OFF_T 8
  18309. | #define SIZEOF_VOIDP 8
  18310. | #define SIZEOF_FLOAT 4
  18311. | #define SIZEOF_DOUBLE 8
  18312. | #define SIZEOF_TIME_T 8
  18313. | #define PRI_LL_PREFIX "ll"
  18314. | #define rb_pid_t pid_t
  18315. | #define PIDT2NUM(v) INT2NUM(v)
  18316. | #define NUM2PIDT(v) NUM2INT(v)
  18317. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  18318. | #define rb_uid_t uid_t
  18319. | #define UIDT2NUM(v) UINT2NUM(v)
  18320. | #define NUM2UIDT(v) NUM2UINT(v)
  18321. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  18322. | #define rb_gid_t gid_t
  18323. | #define GIDT2NUM(v) UINT2NUM(v)
  18324. | #define NUM2GIDT(v) NUM2UINT(v)
  18325. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  18326. | #define rb_time_t time_t
  18327. | #define TIMET2NUM(v) LONG2NUM(v)
  18328. | #define NUM2TIMET(v) NUM2LONG(v)
  18329. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  18330. | #define rb_dev_t dev_t
  18331. | #define DEVT2NUM(v) ULONG2NUM(v)
  18332. | #define NUM2DEVT(v) NUM2ULONG(v)
  18333. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  18334. | #define rb_mode_t mode_t
  18335. | #define MODET2NUM(v) UINT2NUM(v)
  18336. | #define NUM2MODET(v) NUM2UINT(v)
  18337. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  18338. | #define rb_rlim_t rlim_t
  18339. | #define RLIM2NUM(v) ULONG2NUM(v)
  18340. | #define NUM2RLIM(v) NUM2ULONG(v)
  18341. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  18342. | #define HAVE_PROTOTYPES 1
  18343. | #define TOKEN_PASTE(x,y) x##y
  18344. | #define STRINGIZE(expr) STRINGIZE0(expr)
  18345. | #define HAVE_STDARG_PROTOTYPES 1
  18346. | #define HAVE_VA_ARGS_MACRO 1
  18347. | #define NORETURN(x) __attribute__ ((noreturn)) x
  18348. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  18349. | #define NOINLINE(x) __attribute__ ((noinline)) x
  18350. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  18351. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  18352. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  18353. | #define HAVE_GCC_SYNC_BUILTINS 1
  18354. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  18355. | #define HAVE_DECL_SYS_NERR 1
  18356. | #define HAVE_LIBCRYPT 1
  18357. | #define HAVE_LIBDL 1
  18358. | #define HAVE_LIBRT 1
  18359. | #define HAVE_DIRENT_H 1
  18360. | #define HAVE__BOOL 1
  18361. | #define HAVE_STDBOOL_H 1
  18362. | #define HAVE_SYS_WAIT_H 1
  18363. | #define HAVE_LIMITS_H 1
  18364. | #define HAVE_SYS_FILE_H 1
  18365. | #define HAVE_SYS_IOCTL_H 1
  18366. | #define HAVE_SYS_SYSCALL_H 1
  18367. | #define HAVE_FCNTL_H 1
  18368. | #define HAVE_SYS_FCNTL_H 1
  18369. | #define HAVE_SYS_SELECT_H 1
  18370. | #define HAVE_SYS_TIME_H 1
  18371. | #define HAVE_SYS_TIMES_H 1
  18372. | #define HAVE_SYS_PARAM_H 1
  18373. | #define HAVE_SYSCALL_H 1
  18374. | #define HAVE_PWD_H 1
  18375. | #define HAVE_GRP_H 1
  18376. | #define HAVE_A_OUT_H 1
  18377. | #define HAVE_UTIME_H 1
  18378. | #define HAVE_SYS_RESOURCE_H 1
  18379. | #define HAVE_NETINET_IN_SYSTM_H 1
  18380. | #define HAVE_FLOAT_H 1
  18381. | #define HAVE_UCONTEXT_H 1
  18382. | #define HAVE_LANGINFO_H 1
  18383. | #define HAVE_LOCALE_H 1
  18384. | #define HAVE_SYS_SENDFILE_H 1
  18385. | #define HAVE_TIME_H 1
  18386. | #define HAVE_SYS_SOCKET_H 1
  18387. | #define SIZEOF_SIZE_T 8
  18388. | #define SIZEOF_PTRDIFF_T 8
  18389. | #define PRI_SIZE_PREFIX "z"
  18390. | #define PRI_PTRDIFF_PREFIX "t"
  18391. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  18392. | #define HAVE_ST_BLKSIZE 1
  18393. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  18394. | #define HAVE_ST_BLOCKS 1
  18395. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  18396. | #define HAVE_ST_RDEV 1
  18397. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  18398. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  18399. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  18400. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  18401. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  18402. | #define HAVE_STRUCT_TIMEVAL 1
  18403. | #define HAVE_STRUCT_TIMESPEC 1
  18404. | #define HAVE_STRUCT_TIMEZONE 1
  18405. | #define HAVE_CLOCKID_T 1
  18406. | #define HAVE_RB_FD_INIT 1
  18407. | #define HAVE_INT8_T 1
  18408. | #define SIZEOF_INT8_T 1
  18409. | #define HAVE_UINT8_T 1
  18410. | #define SIZEOF_UINT8_T 1
  18411. | #define HAVE_INT16_T 1
  18412. | #define SIZEOF_INT16_T 2
  18413. | #define HAVE_UINT16_T 1
  18414. | #define SIZEOF_UINT16_T 2
  18415. | #define HAVE_INT32_T 1
  18416. | #define SIZEOF_INT32_T 4
  18417. | #define HAVE_UINT32_T 1
  18418. | #define SIZEOF_UINT32_T 4
  18419. | #define HAVE_INT64_T 1
  18420. | #define SIZEOF_INT64_T 8
  18421. | #define HAVE_UINT64_T 1
  18422. | #define SIZEOF_UINT64_T 8
  18423. | #define HAVE_INTPTR_T 1
  18424. | #define SIZEOF_INTPTR_T 8
  18425. | #define HAVE_UINTPTR_T 1
  18426. | #define SIZEOF_UINTPTR_T 8
  18427. | #define HAVE_SSIZE_T 1
  18428. | #define SIZEOF_SSIZE_T 8
  18429. | #define STACK_END_ADDRESS __libc_stack_end
  18430. | #define GETGROUPS_T gid_t
  18431. | #define RETSIGTYPE void
  18432. | #define HAVE_ALLOCA_H 1
  18433. | #define HAVE_ALLOCA 1
  18434. | #define HAVE_DUP2 1
  18435. | #define HAVE_MEMMOVE 1
  18436. | #define HAVE_STRERROR 1
  18437. | #define HAVE_STRCHR 1
  18438. | #define HAVE_STRSTR 1
  18439. | #define HAVE_CRYPT 1
  18440. | #define HAVE_FLOCK 1
  18441. | #define HAVE_ISNAN 1
  18442. | #define HAVE_FINITE 1
  18443. | #define HAVE_ISINF 1
  18444. | #define HAVE_HYPOT 1
  18445. | #define HAVE_ACOSH 1
  18446. | #define HAVE_ERF 1
  18447. | #define HAVE_TGAMMA 1
  18448. | #define HAVE_LGAMMA_R 1
  18449. | #define HAVE_CBRT 1
  18450. | #define HAVE_FFS 1
  18451. | #define SPT_TYPE SPT_REUSEARGV
  18452. | #define HAVE_SIGNBIT 1
  18453. | #define HAVE_FMOD 1
  18454. | #define HAVE_KILLPG 1
  18455. | #define HAVE_WAIT4 1
  18456. | #define HAVE_WAITPID 1
  18457. | #define HAVE_FORK 1
  18458. | #define HAVE_SYSCALL 1
  18459. | #define HAVE_CHROOT 1
  18460. | #define HAVE_GETCWD 1
  18461. | #define HAVE_EACCESS 1
  18462. | #define HAVE_TRUNCATE 1
  18463. | #define HAVE_FTRUNCATE 1
  18464. | #define HAVE_FTELLO 1
  18465. | #define HAVE_TIMES 1
  18466. | #define HAVE_UTIMES 1
  18467. | #define HAVE_UTIMENSAT 1
  18468. | #define HAVE_FCNTL 1
  18469. | #define HAVE_LOCKF 1
  18470. | #define HAVE_LSTAT 1
  18471. | #define HAVE_TRUNCATE64 1
  18472. | #define HAVE_FTRUNCATE64 1
  18473. | #define HAVE_FTELLO64 1
  18474. | #define HAVE_FSEEKO 1
  18475. | #define HAVE_FSEEKO64 1
  18476. | #define HAVE_LINK 1
  18477. | #define HAVE_SYMLINK 1
  18478. | #define HAVE_READLINK 1
  18479. | #define HAVE_READDIR_R 1
  18480. | #define HAVE_FSYNC 1
  18481. | #define HAVE_FDATASYNC 1
  18482. | #define HAVE_FCHOWN 1
  18483. | #define HAVE_POSIX_FADVISE 1
  18484. | #define HAVE_SETITIMER 1
  18485. | #define HAVE_SETEUID 1
  18486. | #define HAVE_SETREUID 1
  18487. | #define HAVE_SETRESUID 1
  18488. | #define HAVE_SOCKETPAIR 1
  18489. | #define HAVE_SETEGID 1
  18490. | #define HAVE_SETREGID 1
  18491. | #define HAVE_SETRESGID 1
  18492. | #define HAVE_PAUSE 1
  18493. | #define HAVE_LCHOWN 1
  18494. | #define HAVE_GETPGRP 1
  18495. | #define HAVE_SETPGRP 1
  18496. | #define HAVE_GETPGID 1
  18497. | #define HAVE_SETPGID 1
  18498. | #define HAVE_INITGROUPS 1
  18499. | #define HAVE_GETGROUPS 1
  18500. | #define HAVE_SETGROUPS 1
  18501. | #define HAVE_GETPRIORITY 1
  18502. | #define HAVE_GETRLIMIT 1
  18503. | #define HAVE_SETRLIMIT 1
  18504. | #define HAVE_SYSCONF 1
  18505. | #define HAVE_CLOSE 1
  18506. | #define HAVE_GETGRNAM_R 1
  18507. | #define HAVE_DLOPEN 1
  18508. | #define HAVE_SIGPROCMASK 1
  18509. | #define HAVE_SIGACTION 1
  18510. | #define HAVE__SETJMP 1
  18511. | #define HAVE__LONGJMP 1
  18512. | #define HAVE_SETSID 1
  18513. | #define HAVE_TELLDIR 1
  18514. | #define HAVE_SEEKDIR 1
  18515. | #define HAVE_FCHMOD 1
  18516. | #define HAVE_COSH 1
  18517. | #define HAVE_SINH 1
  18518. | #define HAVE_TANH 1
  18519. | #define HAVE_LOG2 1
  18520. | #define HAVE_ROUND 1
  18521. | #define HAVE_SETUID 1
  18522. | #define HAVE_SETGID 1
  18523. | #define HAVE_SETENV 1
  18524. | #define HAVE_UNSETENV 1
  18525. | #define HAVE_MKTIME 1
  18526. | #define HAVE_TIMEGM 1
  18527. | #define HAVE_GMTIME_R 1
  18528. | #define HAVE_CLOCK_GETTIME 1
  18529. | #define HAVE_GETTIMEOFDAY 1
  18530. | #define HAVE_POLL 1
  18531. | #define HAVE_PPOLL 1
  18532. | #define HAVE_PREAD 1
  18533. | #define HAVE_SENDFILE 1
  18534. | #define HAVE_SHUTDOWN 1
  18535. | #define HAVE_SIGALTSTACK 1
  18536. | #define HAVE_DL_ITERATE_PHDR 1
  18537. | #define RUBY_SETJMP(env) _setjmp(env)
  18538. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  18539. | #define RUBY_JMP_BUF jmp_buf
  18540. | #define HAVE_STRUCT_TM_TM_ZONE 1
  18541. | #define HAVE_TM_ZONE 1
  18542. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  18543. | #define HAVE_DAYLIGHT 1
  18544. | #define HAVE_VAR_TIMEZONE 1
  18545. | #define TYPEOF_VAR_TIMEZONE long
  18546. | #define HAVE_TIMEZONE 1
  18547. | #define TIMEZONE_VOID 1
  18548. | #define NEGATIVE_TIME_T 1
  18549. | #define POSIX_SIGNAL 1
  18550. | #define RSHIFT(x,y) ((x)>>(int)(y))
  18551. | #define FILE_READPTR _IO_read_ptr
  18552. | #define FILE_READEND _IO_read_end
  18553. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  18554. | #define HAVE__SC_CLK_TCK 1
  18555. | #define STACK_GROW_DIRECTION -1
  18556. | #define _REENTRANT 1
  18557. | #define _THREAD_SAFE 1
  18558. | #define HAVE_LIBPTHREAD 1
  18559. | #define HAVE_SCHED_YIELD 1
  18560. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  18561. | #define HAVE_PTHREAD_GETATTR_NP 1
  18562. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  18563. | /* end confdefs.h. */
  18564. | /* Define pthread_get_stackaddr_np to an innocuous variant, in case <limits.h> declares pthread_get_stackaddr_np.
  18565. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  18566. | #define pthread_get_stackaddr_np innocuous_pthread_get_stackaddr_np
  18567. |
  18568. | /* System header to define __stub macros and hopefully few prototypes,
  18569. | which can conflict with char pthread_get_stackaddr_np (); below.
  18570. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  18571. | <limits.h> exists even on freestanding compilers. */
  18572. |
  18573. | #ifdef __STDC__
  18574. | # include <limits.h>
  18575. | #else
  18576. | # include <assert.h>
  18577. | #endif
  18578. |
  18579. | #undef pthread_get_stackaddr_np
  18580. |
  18581. | /* Override any GCC internal prototype to avoid an error.
  18582. | Use char because int might match the return type of a GCC
  18583. | builtin and then its argument prototype would still apply. */
  18584. | #ifdef __cplusplus
  18585. | extern "C"
  18586. | #endif
  18587. | char pthread_get_stackaddr_np ();
  18588. | /* The GNU C library defines this for functions which it implements
  18589. | to always fail with ENOSYS. Some functions are actually named
  18590. | something starting with __ and the normal name is an alias. */
  18591. | #if defined __stub_pthread_get_stackaddr_np || defined __stub___pthread_get_stackaddr_np
  18592. | choke me
  18593. | #endif
  18594. |
  18595. | int
  18596. | main ()
  18597. | {
  18598. | return pthread_get_stackaddr_np ();
  18599. | ;
  18600. | return 0;
  18601. | }
  18602. configure:16011: result: no
  18603. configure:16011: checking for pthread_get_stacksize_np
  18604. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  18605. /tmp/ccyUclzy.o: In function `main':
  18606. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:321: undefined reference to `pthread_get_stacksize_np'
  18607. collect2: error: ld returned 1 exit status
  18608. configure:16011: $? = 1
  18609. configure: failed program was:
  18610. | /* confdefs.h */
  18611. | #define PACKAGE_NAME ""
  18612. | #define PACKAGE_TARNAME ""
  18613. | #define PACKAGE_VERSION ""
  18614. | #define PACKAGE_STRING ""
  18615. | #define PACKAGE_BUGREPORT ""
  18616. | #define PACKAGE_URL ""
  18617. | #define CANONICALIZATION_FOR_MATHN 1
  18618. | #define STDC_HEADERS 1
  18619. | #define HAVE_SYS_TYPES_H 1
  18620. | #define HAVE_SYS_STAT_H 1
  18621. | #define HAVE_STDLIB_H 1
  18622. | #define HAVE_STRING_H 1
  18623. | #define HAVE_MEMORY_H 1
  18624. | #define HAVE_STRINGS_H 1
  18625. | #define HAVE_INTTYPES_H 1
  18626. | #define HAVE_STDINT_H 1
  18627. | #define HAVE_UNISTD_H 1
  18628. | #define __EXTENSIONS__ 1
  18629. | #define _ALL_SOURCE 1
  18630. | #define _GNU_SOURCE 1
  18631. | #define _POSIX_PTHREAD_SEMANTICS 1
  18632. | #define _TANDEM_SOURCE 1
  18633. | #define HAVE_LONG_LONG 1
  18634. | #define HAVE_OFF_T 1
  18635. | #define SIZEOF_INT 4
  18636. | #define SIZEOF_SHORT 2
  18637. | #define SIZEOF_LONG 8
  18638. | #define SIZEOF_LONG_LONG 8
  18639. | #define SIZEOF___INT64 0
  18640. | #define SIZEOF_OFF_T 8
  18641. | #define SIZEOF_VOIDP 8
  18642. | #define SIZEOF_FLOAT 4
  18643. | #define SIZEOF_DOUBLE 8
  18644. | #define SIZEOF_TIME_T 8
  18645. | #define PRI_LL_PREFIX "ll"
  18646. | #define rb_pid_t pid_t
  18647. | #define PIDT2NUM(v) INT2NUM(v)
  18648. | #define NUM2PIDT(v) NUM2INT(v)
  18649. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  18650. | #define rb_uid_t uid_t
  18651. | #define UIDT2NUM(v) UINT2NUM(v)
  18652. | #define NUM2UIDT(v) NUM2UINT(v)
  18653. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  18654. | #define rb_gid_t gid_t
  18655. | #define GIDT2NUM(v) UINT2NUM(v)
  18656. | #define NUM2GIDT(v) NUM2UINT(v)
  18657. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  18658. | #define rb_time_t time_t
  18659. | #define TIMET2NUM(v) LONG2NUM(v)
  18660. | #define NUM2TIMET(v) NUM2LONG(v)
  18661. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  18662. | #define rb_dev_t dev_t
  18663. | #define DEVT2NUM(v) ULONG2NUM(v)
  18664. | #define NUM2DEVT(v) NUM2ULONG(v)
  18665. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  18666. | #define rb_mode_t mode_t
  18667. | #define MODET2NUM(v) UINT2NUM(v)
  18668. | #define NUM2MODET(v) NUM2UINT(v)
  18669. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  18670. | #define rb_rlim_t rlim_t
  18671. | #define RLIM2NUM(v) ULONG2NUM(v)
  18672. | #define NUM2RLIM(v) NUM2ULONG(v)
  18673. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  18674. | #define HAVE_PROTOTYPES 1
  18675. | #define TOKEN_PASTE(x,y) x##y
  18676. | #define STRINGIZE(expr) STRINGIZE0(expr)
  18677. | #define HAVE_STDARG_PROTOTYPES 1
  18678. | #define HAVE_VA_ARGS_MACRO 1
  18679. | #define NORETURN(x) __attribute__ ((noreturn)) x
  18680. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  18681. | #define NOINLINE(x) __attribute__ ((noinline)) x
  18682. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  18683. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  18684. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  18685. | #define HAVE_GCC_SYNC_BUILTINS 1
  18686. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  18687. | #define HAVE_DECL_SYS_NERR 1
  18688. | #define HAVE_LIBCRYPT 1
  18689. | #define HAVE_LIBDL 1
  18690. | #define HAVE_LIBRT 1
  18691. | #define HAVE_DIRENT_H 1
  18692. | #define HAVE__BOOL 1
  18693. | #define HAVE_STDBOOL_H 1
  18694. | #define HAVE_SYS_WAIT_H 1
  18695. | #define HAVE_LIMITS_H 1
  18696. | #define HAVE_SYS_FILE_H 1
  18697. | #define HAVE_SYS_IOCTL_H 1
  18698. | #define HAVE_SYS_SYSCALL_H 1
  18699. | #define HAVE_FCNTL_H 1
  18700. | #define HAVE_SYS_FCNTL_H 1
  18701. | #define HAVE_SYS_SELECT_H 1
  18702. | #define HAVE_SYS_TIME_H 1
  18703. | #define HAVE_SYS_TIMES_H 1
  18704. | #define HAVE_SYS_PARAM_H 1
  18705. | #define HAVE_SYSCALL_H 1
  18706. | #define HAVE_PWD_H 1
  18707. | #define HAVE_GRP_H 1
  18708. | #define HAVE_A_OUT_H 1
  18709. | #define HAVE_UTIME_H 1
  18710. | #define HAVE_SYS_RESOURCE_H 1
  18711. | #define HAVE_NETINET_IN_SYSTM_H 1
  18712. | #define HAVE_FLOAT_H 1
  18713. | #define HAVE_UCONTEXT_H 1
  18714. | #define HAVE_LANGINFO_H 1
  18715. | #define HAVE_LOCALE_H 1
  18716. | #define HAVE_SYS_SENDFILE_H 1
  18717. | #define HAVE_TIME_H 1
  18718. | #define HAVE_SYS_SOCKET_H 1
  18719. | #define SIZEOF_SIZE_T 8
  18720. | #define SIZEOF_PTRDIFF_T 8
  18721. | #define PRI_SIZE_PREFIX "z"
  18722. | #define PRI_PTRDIFF_PREFIX "t"
  18723. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  18724. | #define HAVE_ST_BLKSIZE 1
  18725. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  18726. | #define HAVE_ST_BLOCKS 1
  18727. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  18728. | #define HAVE_ST_RDEV 1
  18729. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  18730. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  18731. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  18732. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  18733. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  18734. | #define HAVE_STRUCT_TIMEVAL 1
  18735. | #define HAVE_STRUCT_TIMESPEC 1
  18736. | #define HAVE_STRUCT_TIMEZONE 1
  18737. | #define HAVE_CLOCKID_T 1
  18738. | #define HAVE_RB_FD_INIT 1
  18739. | #define HAVE_INT8_T 1
  18740. | #define SIZEOF_INT8_T 1
  18741. | #define HAVE_UINT8_T 1
  18742. | #define SIZEOF_UINT8_T 1
  18743. | #define HAVE_INT16_T 1
  18744. | #define SIZEOF_INT16_T 2
  18745. | #define HAVE_UINT16_T 1
  18746. | #define SIZEOF_UINT16_T 2
  18747. | #define HAVE_INT32_T 1
  18748. | #define SIZEOF_INT32_T 4
  18749. | #define HAVE_UINT32_T 1
  18750. | #define SIZEOF_UINT32_T 4
  18751. | #define HAVE_INT64_T 1
  18752. | #define SIZEOF_INT64_T 8
  18753. | #define HAVE_UINT64_T 1
  18754. | #define SIZEOF_UINT64_T 8
  18755. | #define HAVE_INTPTR_T 1
  18756. | #define SIZEOF_INTPTR_T 8
  18757. | #define HAVE_UINTPTR_T 1
  18758. | #define SIZEOF_UINTPTR_T 8
  18759. | #define HAVE_SSIZE_T 1
  18760. | #define SIZEOF_SSIZE_T 8
  18761. | #define STACK_END_ADDRESS __libc_stack_end
  18762. | #define GETGROUPS_T gid_t
  18763. | #define RETSIGTYPE void
  18764. | #define HAVE_ALLOCA_H 1
  18765. | #define HAVE_ALLOCA 1
  18766. | #define HAVE_DUP2 1
  18767. | #define HAVE_MEMMOVE 1
  18768. | #define HAVE_STRERROR 1
  18769. | #define HAVE_STRCHR 1
  18770. | #define HAVE_STRSTR 1
  18771. | #define HAVE_CRYPT 1
  18772. | #define HAVE_FLOCK 1
  18773. | #define HAVE_ISNAN 1
  18774. | #define HAVE_FINITE 1
  18775. | #define HAVE_ISINF 1
  18776. | #define HAVE_HYPOT 1
  18777. | #define HAVE_ACOSH 1
  18778. | #define HAVE_ERF 1
  18779. | #define HAVE_TGAMMA 1
  18780. | #define HAVE_LGAMMA_R 1
  18781. | #define HAVE_CBRT 1
  18782. | #define HAVE_FFS 1
  18783. | #define SPT_TYPE SPT_REUSEARGV
  18784. | #define HAVE_SIGNBIT 1
  18785. | #define HAVE_FMOD 1
  18786. | #define HAVE_KILLPG 1
  18787. | #define HAVE_WAIT4 1
  18788. | #define HAVE_WAITPID 1
  18789. | #define HAVE_FORK 1
  18790. | #define HAVE_SYSCALL 1
  18791. | #define HAVE_CHROOT 1
  18792. | #define HAVE_GETCWD 1
  18793. | #define HAVE_EACCESS 1
  18794. | #define HAVE_TRUNCATE 1
  18795. | #define HAVE_FTRUNCATE 1
  18796. | #define HAVE_FTELLO 1
  18797. | #define HAVE_TIMES 1
  18798. | #define HAVE_UTIMES 1
  18799. | #define HAVE_UTIMENSAT 1
  18800. | #define HAVE_FCNTL 1
  18801. | #define HAVE_LOCKF 1
  18802. | #define HAVE_LSTAT 1
  18803. | #define HAVE_TRUNCATE64 1
  18804. | #define HAVE_FTRUNCATE64 1
  18805. | #define HAVE_FTELLO64 1
  18806. | #define HAVE_FSEEKO 1
  18807. | #define HAVE_FSEEKO64 1
  18808. | #define HAVE_LINK 1
  18809. | #define HAVE_SYMLINK 1
  18810. | #define HAVE_READLINK 1
  18811. | #define HAVE_READDIR_R 1
  18812. | #define HAVE_FSYNC 1
  18813. | #define HAVE_FDATASYNC 1
  18814. | #define HAVE_FCHOWN 1
  18815. | #define HAVE_POSIX_FADVISE 1
  18816. | #define HAVE_SETITIMER 1
  18817. | #define HAVE_SETEUID 1
  18818. | #define HAVE_SETREUID 1
  18819. | #define HAVE_SETRESUID 1
  18820. | #define HAVE_SOCKETPAIR 1
  18821. | #define HAVE_SETEGID 1
  18822. | #define HAVE_SETREGID 1
  18823. | #define HAVE_SETRESGID 1
  18824. | #define HAVE_PAUSE 1
  18825. | #define HAVE_LCHOWN 1
  18826. | #define HAVE_GETPGRP 1
  18827. | #define HAVE_SETPGRP 1
  18828. | #define HAVE_GETPGID 1
  18829. | #define HAVE_SETPGID 1
  18830. | #define HAVE_INITGROUPS 1
  18831. | #define HAVE_GETGROUPS 1
  18832. | #define HAVE_SETGROUPS 1
  18833. | #define HAVE_GETPRIORITY 1
  18834. | #define HAVE_GETRLIMIT 1
  18835. | #define HAVE_SETRLIMIT 1
  18836. | #define HAVE_SYSCONF 1
  18837. | #define HAVE_CLOSE 1
  18838. | #define HAVE_GETGRNAM_R 1
  18839. | #define HAVE_DLOPEN 1
  18840. | #define HAVE_SIGPROCMASK 1
  18841. | #define HAVE_SIGACTION 1
  18842. | #define HAVE__SETJMP 1
  18843. | #define HAVE__LONGJMP 1
  18844. | #define HAVE_SETSID 1
  18845. | #define HAVE_TELLDIR 1
  18846. | #define HAVE_SEEKDIR 1
  18847. | #define HAVE_FCHMOD 1
  18848. | #define HAVE_COSH 1
  18849. | #define HAVE_SINH 1
  18850. | #define HAVE_TANH 1
  18851. | #define HAVE_LOG2 1
  18852. | #define HAVE_ROUND 1
  18853. | #define HAVE_SETUID 1
  18854. | #define HAVE_SETGID 1
  18855. | #define HAVE_SETENV 1
  18856. | #define HAVE_UNSETENV 1
  18857. | #define HAVE_MKTIME 1
  18858. | #define HAVE_TIMEGM 1
  18859. | #define HAVE_GMTIME_R 1
  18860. | #define HAVE_CLOCK_GETTIME 1
  18861. | #define HAVE_GETTIMEOFDAY 1
  18862. | #define HAVE_POLL 1
  18863. | #define HAVE_PPOLL 1
  18864. | #define HAVE_PREAD 1
  18865. | #define HAVE_SENDFILE 1
  18866. | #define HAVE_SHUTDOWN 1
  18867. | #define HAVE_SIGALTSTACK 1
  18868. | #define HAVE_DL_ITERATE_PHDR 1
  18869. | #define RUBY_SETJMP(env) _setjmp(env)
  18870. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  18871. | #define RUBY_JMP_BUF jmp_buf
  18872. | #define HAVE_STRUCT_TM_TM_ZONE 1
  18873. | #define HAVE_TM_ZONE 1
  18874. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  18875. | #define HAVE_DAYLIGHT 1
  18876. | #define HAVE_VAR_TIMEZONE 1
  18877. | #define TYPEOF_VAR_TIMEZONE long
  18878. | #define HAVE_TIMEZONE 1
  18879. | #define TIMEZONE_VOID 1
  18880. | #define NEGATIVE_TIME_T 1
  18881. | #define POSIX_SIGNAL 1
  18882. | #define RSHIFT(x,y) ((x)>>(int)(y))
  18883. | #define FILE_READPTR _IO_read_ptr
  18884. | #define FILE_READEND _IO_read_end
  18885. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  18886. | #define HAVE__SC_CLK_TCK 1
  18887. | #define STACK_GROW_DIRECTION -1
  18888. | #define _REENTRANT 1
  18889. | #define _THREAD_SAFE 1
  18890. | #define HAVE_LIBPTHREAD 1
  18891. | #define HAVE_SCHED_YIELD 1
  18892. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  18893. | #define HAVE_PTHREAD_GETATTR_NP 1
  18894. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  18895. | /* end confdefs.h. */
  18896. | /* Define pthread_get_stacksize_np to an innocuous variant, in case <limits.h> declares pthread_get_stacksize_np.
  18897. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  18898. | #define pthread_get_stacksize_np innocuous_pthread_get_stacksize_np
  18899. |
  18900. | /* System header to define __stub macros and hopefully few prototypes,
  18901. | which can conflict with char pthread_get_stacksize_np (); below.
  18902. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  18903. | <limits.h> exists even on freestanding compilers. */
  18904. |
  18905. | #ifdef __STDC__
  18906. | # include <limits.h>
  18907. | #else
  18908. | # include <assert.h>
  18909. | #endif
  18910. |
  18911. | #undef pthread_get_stacksize_np
  18912. |
  18913. | /* Override any GCC internal prototype to avoid an error.
  18914. | Use char because int might match the return type of a GCC
  18915. | builtin and then its argument prototype would still apply. */
  18916. | #ifdef __cplusplus
  18917. | extern "C"
  18918. | #endif
  18919. | char pthread_get_stacksize_np ();
  18920. | /* The GNU C library defines this for functions which it implements
  18921. | to always fail with ENOSYS. Some functions are actually named
  18922. | something starting with __ and the normal name is an alias. */
  18923. | #if defined __stub_pthread_get_stacksize_np || defined __stub___pthread_get_stacksize_np
  18924. | choke me
  18925. | #endif
  18926. |
  18927. | int
  18928. | main ()
  18929. | {
  18930. | return pthread_get_stacksize_np ();
  18931. | ;
  18932. | return 0;
  18933. | }
  18934. configure:16011: result: no
  18935. configure:16011: checking for thr_stksegment
  18936. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  18937. /tmp/ccVVc5ys.o: In function `main':
  18938. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:321: undefined reference to `thr_stksegment'
  18939. collect2: error: ld returned 1 exit status
  18940. configure:16011: $? = 1
  18941. configure: failed program was:
  18942. | /* confdefs.h */
  18943. | #define PACKAGE_NAME ""
  18944. | #define PACKAGE_TARNAME ""
  18945. | #define PACKAGE_VERSION ""
  18946. | #define PACKAGE_STRING ""
  18947. | #define PACKAGE_BUGREPORT ""
  18948. | #define PACKAGE_URL ""
  18949. | #define CANONICALIZATION_FOR_MATHN 1
  18950. | #define STDC_HEADERS 1
  18951. | #define HAVE_SYS_TYPES_H 1
  18952. | #define HAVE_SYS_STAT_H 1
  18953. | #define HAVE_STDLIB_H 1
  18954. | #define HAVE_STRING_H 1
  18955. | #define HAVE_MEMORY_H 1
  18956. | #define HAVE_STRINGS_H 1
  18957. | #define HAVE_INTTYPES_H 1
  18958. | #define HAVE_STDINT_H 1
  18959. | #define HAVE_UNISTD_H 1
  18960. | #define __EXTENSIONS__ 1
  18961. | #define _ALL_SOURCE 1
  18962. | #define _GNU_SOURCE 1
  18963. | #define _POSIX_PTHREAD_SEMANTICS 1
  18964. | #define _TANDEM_SOURCE 1
  18965. | #define HAVE_LONG_LONG 1
  18966. | #define HAVE_OFF_T 1
  18967. | #define SIZEOF_INT 4
  18968. | #define SIZEOF_SHORT 2
  18969. | #define SIZEOF_LONG 8
  18970. | #define SIZEOF_LONG_LONG 8
  18971. | #define SIZEOF___INT64 0
  18972. | #define SIZEOF_OFF_T 8
  18973. | #define SIZEOF_VOIDP 8
  18974. | #define SIZEOF_FLOAT 4
  18975. | #define SIZEOF_DOUBLE 8
  18976. | #define SIZEOF_TIME_T 8
  18977. | #define PRI_LL_PREFIX "ll"
  18978. | #define rb_pid_t pid_t
  18979. | #define PIDT2NUM(v) INT2NUM(v)
  18980. | #define NUM2PIDT(v) NUM2INT(v)
  18981. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  18982. | #define rb_uid_t uid_t
  18983. | #define UIDT2NUM(v) UINT2NUM(v)
  18984. | #define NUM2UIDT(v) NUM2UINT(v)
  18985. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  18986. | #define rb_gid_t gid_t
  18987. | #define GIDT2NUM(v) UINT2NUM(v)
  18988. | #define NUM2GIDT(v) NUM2UINT(v)
  18989. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  18990. | #define rb_time_t time_t
  18991. | #define TIMET2NUM(v) LONG2NUM(v)
  18992. | #define NUM2TIMET(v) NUM2LONG(v)
  18993. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  18994. | #define rb_dev_t dev_t
  18995. | #define DEVT2NUM(v) ULONG2NUM(v)
  18996. | #define NUM2DEVT(v) NUM2ULONG(v)
  18997. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  18998. | #define rb_mode_t mode_t
  18999. | #define MODET2NUM(v) UINT2NUM(v)
  19000. | #define NUM2MODET(v) NUM2UINT(v)
  19001. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  19002. | #define rb_rlim_t rlim_t
  19003. | #define RLIM2NUM(v) ULONG2NUM(v)
  19004. | #define NUM2RLIM(v) NUM2ULONG(v)
  19005. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  19006. | #define HAVE_PROTOTYPES 1
  19007. | #define TOKEN_PASTE(x,y) x##y
  19008. | #define STRINGIZE(expr) STRINGIZE0(expr)
  19009. | #define HAVE_STDARG_PROTOTYPES 1
  19010. | #define HAVE_VA_ARGS_MACRO 1
  19011. | #define NORETURN(x) __attribute__ ((noreturn)) x
  19012. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  19013. | #define NOINLINE(x) __attribute__ ((noinline)) x
  19014. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  19015. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  19016. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  19017. | #define HAVE_GCC_SYNC_BUILTINS 1
  19018. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  19019. | #define HAVE_DECL_SYS_NERR 1
  19020. | #define HAVE_LIBCRYPT 1
  19021. | #define HAVE_LIBDL 1
  19022. | #define HAVE_LIBRT 1
  19023. | #define HAVE_DIRENT_H 1
  19024. | #define HAVE__BOOL 1
  19025. | #define HAVE_STDBOOL_H 1
  19026. | #define HAVE_SYS_WAIT_H 1
  19027. | #define HAVE_LIMITS_H 1
  19028. | #define HAVE_SYS_FILE_H 1
  19029. | #define HAVE_SYS_IOCTL_H 1
  19030. | #define HAVE_SYS_SYSCALL_H 1
  19031. | #define HAVE_FCNTL_H 1
  19032. | #define HAVE_SYS_FCNTL_H 1
  19033. | #define HAVE_SYS_SELECT_H 1
  19034. | #define HAVE_SYS_TIME_H 1
  19035. | #define HAVE_SYS_TIMES_H 1
  19036. | #define HAVE_SYS_PARAM_H 1
  19037. | #define HAVE_SYSCALL_H 1
  19038. | #define HAVE_PWD_H 1
  19039. | #define HAVE_GRP_H 1
  19040. | #define HAVE_A_OUT_H 1
  19041. | #define HAVE_UTIME_H 1
  19042. | #define HAVE_SYS_RESOURCE_H 1
  19043. | #define HAVE_NETINET_IN_SYSTM_H 1
  19044. | #define HAVE_FLOAT_H 1
  19045. | #define HAVE_UCONTEXT_H 1
  19046. | #define HAVE_LANGINFO_H 1
  19047. | #define HAVE_LOCALE_H 1
  19048. | #define HAVE_SYS_SENDFILE_H 1
  19049. | #define HAVE_TIME_H 1
  19050. | #define HAVE_SYS_SOCKET_H 1
  19051. | #define SIZEOF_SIZE_T 8
  19052. | #define SIZEOF_PTRDIFF_T 8
  19053. | #define PRI_SIZE_PREFIX "z"
  19054. | #define PRI_PTRDIFF_PREFIX "t"
  19055. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  19056. | #define HAVE_ST_BLKSIZE 1
  19057. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  19058. | #define HAVE_ST_BLOCKS 1
  19059. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  19060. | #define HAVE_ST_RDEV 1
  19061. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  19062. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  19063. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  19064. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  19065. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  19066. | #define HAVE_STRUCT_TIMEVAL 1
  19067. | #define HAVE_STRUCT_TIMESPEC 1
  19068. | #define HAVE_STRUCT_TIMEZONE 1
  19069. | #define HAVE_CLOCKID_T 1
  19070. | #define HAVE_RB_FD_INIT 1
  19071. | #define HAVE_INT8_T 1
  19072. | #define SIZEOF_INT8_T 1
  19073. | #define HAVE_UINT8_T 1
  19074. | #define SIZEOF_UINT8_T 1
  19075. | #define HAVE_INT16_T 1
  19076. | #define SIZEOF_INT16_T 2
  19077. | #define HAVE_UINT16_T 1
  19078. | #define SIZEOF_UINT16_T 2
  19079. | #define HAVE_INT32_T 1
  19080. | #define SIZEOF_INT32_T 4
  19081. | #define HAVE_UINT32_T 1
  19082. | #define SIZEOF_UINT32_T 4
  19083. | #define HAVE_INT64_T 1
  19084. | #define SIZEOF_INT64_T 8
  19085. | #define HAVE_UINT64_T 1
  19086. | #define SIZEOF_UINT64_T 8
  19087. | #define HAVE_INTPTR_T 1
  19088. | #define SIZEOF_INTPTR_T 8
  19089. | #define HAVE_UINTPTR_T 1
  19090. | #define SIZEOF_UINTPTR_T 8
  19091. | #define HAVE_SSIZE_T 1
  19092. | #define SIZEOF_SSIZE_T 8
  19093. | #define STACK_END_ADDRESS __libc_stack_end
  19094. | #define GETGROUPS_T gid_t
  19095. | #define RETSIGTYPE void
  19096. | #define HAVE_ALLOCA_H 1
  19097. | #define HAVE_ALLOCA 1
  19098. | #define HAVE_DUP2 1
  19099. | #define HAVE_MEMMOVE 1
  19100. | #define HAVE_STRERROR 1
  19101. | #define HAVE_STRCHR 1
  19102. | #define HAVE_STRSTR 1
  19103. | #define HAVE_CRYPT 1
  19104. | #define HAVE_FLOCK 1
  19105. | #define HAVE_ISNAN 1
  19106. | #define HAVE_FINITE 1
  19107. | #define HAVE_ISINF 1
  19108. | #define HAVE_HYPOT 1
  19109. | #define HAVE_ACOSH 1
  19110. | #define HAVE_ERF 1
  19111. | #define HAVE_TGAMMA 1
  19112. | #define HAVE_LGAMMA_R 1
  19113. | #define HAVE_CBRT 1
  19114. | #define HAVE_FFS 1
  19115. | #define SPT_TYPE SPT_REUSEARGV
  19116. | #define HAVE_SIGNBIT 1
  19117. | #define HAVE_FMOD 1
  19118. | #define HAVE_KILLPG 1
  19119. | #define HAVE_WAIT4 1
  19120. | #define HAVE_WAITPID 1
  19121. | #define HAVE_FORK 1
  19122. | #define HAVE_SYSCALL 1
  19123. | #define HAVE_CHROOT 1
  19124. | #define HAVE_GETCWD 1
  19125. | #define HAVE_EACCESS 1
  19126. | #define HAVE_TRUNCATE 1
  19127. | #define HAVE_FTRUNCATE 1
  19128. | #define HAVE_FTELLO 1
  19129. | #define HAVE_TIMES 1
  19130. | #define HAVE_UTIMES 1
  19131. | #define HAVE_UTIMENSAT 1
  19132. | #define HAVE_FCNTL 1
  19133. | #define HAVE_LOCKF 1
  19134. | #define HAVE_LSTAT 1
  19135. | #define HAVE_TRUNCATE64 1
  19136. | #define HAVE_FTRUNCATE64 1
  19137. | #define HAVE_FTELLO64 1
  19138. | #define HAVE_FSEEKO 1
  19139. | #define HAVE_FSEEKO64 1
  19140. | #define HAVE_LINK 1
  19141. | #define HAVE_SYMLINK 1
  19142. | #define HAVE_READLINK 1
  19143. | #define HAVE_READDIR_R 1
  19144. | #define HAVE_FSYNC 1
  19145. | #define HAVE_FDATASYNC 1
  19146. | #define HAVE_FCHOWN 1
  19147. | #define HAVE_POSIX_FADVISE 1
  19148. | #define HAVE_SETITIMER 1
  19149. | #define HAVE_SETEUID 1
  19150. | #define HAVE_SETREUID 1
  19151. | #define HAVE_SETRESUID 1
  19152. | #define HAVE_SOCKETPAIR 1
  19153. | #define HAVE_SETEGID 1
  19154. | #define HAVE_SETREGID 1
  19155. | #define HAVE_SETRESGID 1
  19156. | #define HAVE_PAUSE 1
  19157. | #define HAVE_LCHOWN 1
  19158. | #define HAVE_GETPGRP 1
  19159. | #define HAVE_SETPGRP 1
  19160. | #define HAVE_GETPGID 1
  19161. | #define HAVE_SETPGID 1
  19162. | #define HAVE_INITGROUPS 1
  19163. | #define HAVE_GETGROUPS 1
  19164. | #define HAVE_SETGROUPS 1
  19165. | #define HAVE_GETPRIORITY 1
  19166. | #define HAVE_GETRLIMIT 1
  19167. | #define HAVE_SETRLIMIT 1
  19168. | #define HAVE_SYSCONF 1
  19169. | #define HAVE_CLOSE 1
  19170. | #define HAVE_GETGRNAM_R 1
  19171. | #define HAVE_DLOPEN 1
  19172. | #define HAVE_SIGPROCMASK 1
  19173. | #define HAVE_SIGACTION 1
  19174. | #define HAVE__SETJMP 1
  19175. | #define HAVE__LONGJMP 1
  19176. | #define HAVE_SETSID 1
  19177. | #define HAVE_TELLDIR 1
  19178. | #define HAVE_SEEKDIR 1
  19179. | #define HAVE_FCHMOD 1
  19180. | #define HAVE_COSH 1
  19181. | #define HAVE_SINH 1
  19182. | #define HAVE_TANH 1
  19183. | #define HAVE_LOG2 1
  19184. | #define HAVE_ROUND 1
  19185. | #define HAVE_SETUID 1
  19186. | #define HAVE_SETGID 1
  19187. | #define HAVE_SETENV 1
  19188. | #define HAVE_UNSETENV 1
  19189. | #define HAVE_MKTIME 1
  19190. | #define HAVE_TIMEGM 1
  19191. | #define HAVE_GMTIME_R 1
  19192. | #define HAVE_CLOCK_GETTIME 1
  19193. | #define HAVE_GETTIMEOFDAY 1
  19194. | #define HAVE_POLL 1
  19195. | #define HAVE_PPOLL 1
  19196. | #define HAVE_PREAD 1
  19197. | #define HAVE_SENDFILE 1
  19198. | #define HAVE_SHUTDOWN 1
  19199. | #define HAVE_SIGALTSTACK 1
  19200. | #define HAVE_DL_ITERATE_PHDR 1
  19201. | #define RUBY_SETJMP(env) _setjmp(env)
  19202. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  19203. | #define RUBY_JMP_BUF jmp_buf
  19204. | #define HAVE_STRUCT_TM_TM_ZONE 1
  19205. | #define HAVE_TM_ZONE 1
  19206. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  19207. | #define HAVE_DAYLIGHT 1
  19208. | #define HAVE_VAR_TIMEZONE 1
  19209. | #define TYPEOF_VAR_TIMEZONE long
  19210. | #define HAVE_TIMEZONE 1
  19211. | #define TIMEZONE_VOID 1
  19212. | #define NEGATIVE_TIME_T 1
  19213. | #define POSIX_SIGNAL 1
  19214. | #define RSHIFT(x,y) ((x)>>(int)(y))
  19215. | #define FILE_READPTR _IO_read_ptr
  19216. | #define FILE_READEND _IO_read_end
  19217. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  19218. | #define HAVE__SC_CLK_TCK 1
  19219. | #define STACK_GROW_DIRECTION -1
  19220. | #define _REENTRANT 1
  19221. | #define _THREAD_SAFE 1
  19222. | #define HAVE_LIBPTHREAD 1
  19223. | #define HAVE_SCHED_YIELD 1
  19224. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  19225. | #define HAVE_PTHREAD_GETATTR_NP 1
  19226. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  19227. | /* end confdefs.h. */
  19228. | /* Define thr_stksegment to an innocuous variant, in case <limits.h> declares thr_stksegment.
  19229. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  19230. | #define thr_stksegment innocuous_thr_stksegment
  19231. |
  19232. | /* System header to define __stub macros and hopefully few prototypes,
  19233. | which can conflict with char thr_stksegment (); below.
  19234. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  19235. | <limits.h> exists even on freestanding compilers. */
  19236. |
  19237. | #ifdef __STDC__
  19238. | # include <limits.h>
  19239. | #else
  19240. | # include <assert.h>
  19241. | #endif
  19242. |
  19243. | #undef thr_stksegment
  19244. |
  19245. | /* Override any GCC internal prototype to avoid an error.
  19246. | Use char because int might match the return type of a GCC
  19247. | builtin and then its argument prototype would still apply. */
  19248. | #ifdef __cplusplus
  19249. | extern "C"
  19250. | #endif
  19251. | char thr_stksegment ();
  19252. | /* The GNU C library defines this for functions which it implements
  19253. | to always fail with ENOSYS. Some functions are actually named
  19254. | something starting with __ and the normal name is an alias. */
  19255. | #if defined __stub_thr_stksegment || defined __stub___thr_stksegment
  19256. | choke me
  19257. | #endif
  19258. |
  19259. | int
  19260. | main ()
  19261. | {
  19262. | return thr_stksegment ();
  19263. | ;
  19264. | return 0;
  19265. | }
  19266. configure:16011: result: no
  19267. configure:16011: checking for pthread_stackseg_np
  19268. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  19269. /tmp/ccJwloHu.o: In function `main':
  19270. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:321: undefined reference to `pthread_stackseg_np'
  19271. collect2: error: ld returned 1 exit status
  19272. configure:16011: $? = 1
  19273. configure: failed program was:
  19274. | /* confdefs.h */
  19275. | #define PACKAGE_NAME ""
  19276. | #define PACKAGE_TARNAME ""
  19277. | #define PACKAGE_VERSION ""
  19278. | #define PACKAGE_STRING ""
  19279. | #define PACKAGE_BUGREPORT ""
  19280. | #define PACKAGE_URL ""
  19281. | #define CANONICALIZATION_FOR_MATHN 1
  19282. | #define STDC_HEADERS 1
  19283. | #define HAVE_SYS_TYPES_H 1
  19284. | #define HAVE_SYS_STAT_H 1
  19285. | #define HAVE_STDLIB_H 1
  19286. | #define HAVE_STRING_H 1
  19287. | #define HAVE_MEMORY_H 1
  19288. | #define HAVE_STRINGS_H 1
  19289. | #define HAVE_INTTYPES_H 1
  19290. | #define HAVE_STDINT_H 1
  19291. | #define HAVE_UNISTD_H 1
  19292. | #define __EXTENSIONS__ 1
  19293. | #define _ALL_SOURCE 1
  19294. | #define _GNU_SOURCE 1
  19295. | #define _POSIX_PTHREAD_SEMANTICS 1
  19296. | #define _TANDEM_SOURCE 1
  19297. | #define HAVE_LONG_LONG 1
  19298. | #define HAVE_OFF_T 1
  19299. | #define SIZEOF_INT 4
  19300. | #define SIZEOF_SHORT 2
  19301. | #define SIZEOF_LONG 8
  19302. | #define SIZEOF_LONG_LONG 8
  19303. | #define SIZEOF___INT64 0
  19304. | #define SIZEOF_OFF_T 8
  19305. | #define SIZEOF_VOIDP 8
  19306. | #define SIZEOF_FLOAT 4
  19307. | #define SIZEOF_DOUBLE 8
  19308. | #define SIZEOF_TIME_T 8
  19309. | #define PRI_LL_PREFIX "ll"
  19310. | #define rb_pid_t pid_t
  19311. | #define PIDT2NUM(v) INT2NUM(v)
  19312. | #define NUM2PIDT(v) NUM2INT(v)
  19313. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  19314. | #define rb_uid_t uid_t
  19315. | #define UIDT2NUM(v) UINT2NUM(v)
  19316. | #define NUM2UIDT(v) NUM2UINT(v)
  19317. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  19318. | #define rb_gid_t gid_t
  19319. | #define GIDT2NUM(v) UINT2NUM(v)
  19320. | #define NUM2GIDT(v) NUM2UINT(v)
  19321. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  19322. | #define rb_time_t time_t
  19323. | #define TIMET2NUM(v) LONG2NUM(v)
  19324. | #define NUM2TIMET(v) NUM2LONG(v)
  19325. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  19326. | #define rb_dev_t dev_t
  19327. | #define DEVT2NUM(v) ULONG2NUM(v)
  19328. | #define NUM2DEVT(v) NUM2ULONG(v)
  19329. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  19330. | #define rb_mode_t mode_t
  19331. | #define MODET2NUM(v) UINT2NUM(v)
  19332. | #define NUM2MODET(v) NUM2UINT(v)
  19333. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  19334. | #define rb_rlim_t rlim_t
  19335. | #define RLIM2NUM(v) ULONG2NUM(v)
  19336. | #define NUM2RLIM(v) NUM2ULONG(v)
  19337. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  19338. | #define HAVE_PROTOTYPES 1
  19339. | #define TOKEN_PASTE(x,y) x##y
  19340. | #define STRINGIZE(expr) STRINGIZE0(expr)
  19341. | #define HAVE_STDARG_PROTOTYPES 1
  19342. | #define HAVE_VA_ARGS_MACRO 1
  19343. | #define NORETURN(x) __attribute__ ((noreturn)) x
  19344. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  19345. | #define NOINLINE(x) __attribute__ ((noinline)) x
  19346. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  19347. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  19348. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  19349. | #define HAVE_GCC_SYNC_BUILTINS 1
  19350. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  19351. | #define HAVE_DECL_SYS_NERR 1
  19352. | #define HAVE_LIBCRYPT 1
  19353. | #define HAVE_LIBDL 1
  19354. | #define HAVE_LIBRT 1
  19355. | #define HAVE_DIRENT_H 1
  19356. | #define HAVE__BOOL 1
  19357. | #define HAVE_STDBOOL_H 1
  19358. | #define HAVE_SYS_WAIT_H 1
  19359. | #define HAVE_LIMITS_H 1
  19360. | #define HAVE_SYS_FILE_H 1
  19361. | #define HAVE_SYS_IOCTL_H 1
  19362. | #define HAVE_SYS_SYSCALL_H 1
  19363. | #define HAVE_FCNTL_H 1
  19364. | #define HAVE_SYS_FCNTL_H 1
  19365. | #define HAVE_SYS_SELECT_H 1
  19366. | #define HAVE_SYS_TIME_H 1
  19367. | #define HAVE_SYS_TIMES_H 1
  19368. | #define HAVE_SYS_PARAM_H 1
  19369. | #define HAVE_SYSCALL_H 1
  19370. | #define HAVE_PWD_H 1
  19371. | #define HAVE_GRP_H 1
  19372. | #define HAVE_A_OUT_H 1
  19373. | #define HAVE_UTIME_H 1
  19374. | #define HAVE_SYS_RESOURCE_H 1
  19375. | #define HAVE_NETINET_IN_SYSTM_H 1
  19376. | #define HAVE_FLOAT_H 1
  19377. | #define HAVE_UCONTEXT_H 1
  19378. | #define HAVE_LANGINFO_H 1
  19379. | #define HAVE_LOCALE_H 1
  19380. | #define HAVE_SYS_SENDFILE_H 1
  19381. | #define HAVE_TIME_H 1
  19382. | #define HAVE_SYS_SOCKET_H 1
  19383. | #define SIZEOF_SIZE_T 8
  19384. | #define SIZEOF_PTRDIFF_T 8
  19385. | #define PRI_SIZE_PREFIX "z"
  19386. | #define PRI_PTRDIFF_PREFIX "t"
  19387. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  19388. | #define HAVE_ST_BLKSIZE 1
  19389. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  19390. | #define HAVE_ST_BLOCKS 1
  19391. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  19392. | #define HAVE_ST_RDEV 1
  19393. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  19394. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  19395. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  19396. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  19397. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  19398. | #define HAVE_STRUCT_TIMEVAL 1
  19399. | #define HAVE_STRUCT_TIMESPEC 1
  19400. | #define HAVE_STRUCT_TIMEZONE 1
  19401. | #define HAVE_CLOCKID_T 1
  19402. | #define HAVE_RB_FD_INIT 1
  19403. | #define HAVE_INT8_T 1
  19404. | #define SIZEOF_INT8_T 1
  19405. | #define HAVE_UINT8_T 1
  19406. | #define SIZEOF_UINT8_T 1
  19407. | #define HAVE_INT16_T 1
  19408. | #define SIZEOF_INT16_T 2
  19409. | #define HAVE_UINT16_T 1
  19410. | #define SIZEOF_UINT16_T 2
  19411. | #define HAVE_INT32_T 1
  19412. | #define SIZEOF_INT32_T 4
  19413. | #define HAVE_UINT32_T 1
  19414. | #define SIZEOF_UINT32_T 4
  19415. | #define HAVE_INT64_T 1
  19416. | #define SIZEOF_INT64_T 8
  19417. | #define HAVE_UINT64_T 1
  19418. | #define SIZEOF_UINT64_T 8
  19419. | #define HAVE_INTPTR_T 1
  19420. | #define SIZEOF_INTPTR_T 8
  19421. | #define HAVE_UINTPTR_T 1
  19422. | #define SIZEOF_UINTPTR_T 8
  19423. | #define HAVE_SSIZE_T 1
  19424. | #define SIZEOF_SSIZE_T 8
  19425. | #define STACK_END_ADDRESS __libc_stack_end
  19426. | #define GETGROUPS_T gid_t
  19427. | #define RETSIGTYPE void
  19428. | #define HAVE_ALLOCA_H 1
  19429. | #define HAVE_ALLOCA 1
  19430. | #define HAVE_DUP2 1
  19431. | #define HAVE_MEMMOVE 1
  19432. | #define HAVE_STRERROR 1
  19433. | #define HAVE_STRCHR 1
  19434. | #define HAVE_STRSTR 1
  19435. | #define HAVE_CRYPT 1
  19436. | #define HAVE_FLOCK 1
  19437. | #define HAVE_ISNAN 1
  19438. | #define HAVE_FINITE 1
  19439. | #define HAVE_ISINF 1
  19440. | #define HAVE_HYPOT 1
  19441. | #define HAVE_ACOSH 1
  19442. | #define HAVE_ERF 1
  19443. | #define HAVE_TGAMMA 1
  19444. | #define HAVE_LGAMMA_R 1
  19445. | #define HAVE_CBRT 1
  19446. | #define HAVE_FFS 1
  19447. | #define SPT_TYPE SPT_REUSEARGV
  19448. | #define HAVE_SIGNBIT 1
  19449. | #define HAVE_FMOD 1
  19450. | #define HAVE_KILLPG 1
  19451. | #define HAVE_WAIT4 1
  19452. | #define HAVE_WAITPID 1
  19453. | #define HAVE_FORK 1
  19454. | #define HAVE_SYSCALL 1
  19455. | #define HAVE_CHROOT 1
  19456. | #define HAVE_GETCWD 1
  19457. | #define HAVE_EACCESS 1
  19458. | #define HAVE_TRUNCATE 1
  19459. | #define HAVE_FTRUNCATE 1
  19460. | #define HAVE_FTELLO 1
  19461. | #define HAVE_TIMES 1
  19462. | #define HAVE_UTIMES 1
  19463. | #define HAVE_UTIMENSAT 1
  19464. | #define HAVE_FCNTL 1
  19465. | #define HAVE_LOCKF 1
  19466. | #define HAVE_LSTAT 1
  19467. | #define HAVE_TRUNCATE64 1
  19468. | #define HAVE_FTRUNCATE64 1
  19469. | #define HAVE_FTELLO64 1
  19470. | #define HAVE_FSEEKO 1
  19471. | #define HAVE_FSEEKO64 1
  19472. | #define HAVE_LINK 1
  19473. | #define HAVE_SYMLINK 1
  19474. | #define HAVE_READLINK 1
  19475. | #define HAVE_READDIR_R 1
  19476. | #define HAVE_FSYNC 1
  19477. | #define HAVE_FDATASYNC 1
  19478. | #define HAVE_FCHOWN 1
  19479. | #define HAVE_POSIX_FADVISE 1
  19480. | #define HAVE_SETITIMER 1
  19481. | #define HAVE_SETEUID 1
  19482. | #define HAVE_SETREUID 1
  19483. | #define HAVE_SETRESUID 1
  19484. | #define HAVE_SOCKETPAIR 1
  19485. | #define HAVE_SETEGID 1
  19486. | #define HAVE_SETREGID 1
  19487. | #define HAVE_SETRESGID 1
  19488. | #define HAVE_PAUSE 1
  19489. | #define HAVE_LCHOWN 1
  19490. | #define HAVE_GETPGRP 1
  19491. | #define HAVE_SETPGRP 1
  19492. | #define HAVE_GETPGID 1
  19493. | #define HAVE_SETPGID 1
  19494. | #define HAVE_INITGROUPS 1
  19495. | #define HAVE_GETGROUPS 1
  19496. | #define HAVE_SETGROUPS 1
  19497. | #define HAVE_GETPRIORITY 1
  19498. | #define HAVE_GETRLIMIT 1
  19499. | #define HAVE_SETRLIMIT 1
  19500. | #define HAVE_SYSCONF 1
  19501. | #define HAVE_CLOSE 1
  19502. | #define HAVE_GETGRNAM_R 1
  19503. | #define HAVE_DLOPEN 1
  19504. | #define HAVE_SIGPROCMASK 1
  19505. | #define HAVE_SIGACTION 1
  19506. | #define HAVE__SETJMP 1
  19507. | #define HAVE__LONGJMP 1
  19508. | #define HAVE_SETSID 1
  19509. | #define HAVE_TELLDIR 1
  19510. | #define HAVE_SEEKDIR 1
  19511. | #define HAVE_FCHMOD 1
  19512. | #define HAVE_COSH 1
  19513. | #define HAVE_SINH 1
  19514. | #define HAVE_TANH 1
  19515. | #define HAVE_LOG2 1
  19516. | #define HAVE_ROUND 1
  19517. | #define HAVE_SETUID 1
  19518. | #define HAVE_SETGID 1
  19519. | #define HAVE_SETENV 1
  19520. | #define HAVE_UNSETENV 1
  19521. | #define HAVE_MKTIME 1
  19522. | #define HAVE_TIMEGM 1
  19523. | #define HAVE_GMTIME_R 1
  19524. | #define HAVE_CLOCK_GETTIME 1
  19525. | #define HAVE_GETTIMEOFDAY 1
  19526. | #define HAVE_POLL 1
  19527. | #define HAVE_PPOLL 1
  19528. | #define HAVE_PREAD 1
  19529. | #define HAVE_SENDFILE 1
  19530. | #define HAVE_SHUTDOWN 1
  19531. | #define HAVE_SIGALTSTACK 1
  19532. | #define HAVE_DL_ITERATE_PHDR 1
  19533. | #define RUBY_SETJMP(env) _setjmp(env)
  19534. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  19535. | #define RUBY_JMP_BUF jmp_buf
  19536. | #define HAVE_STRUCT_TM_TM_ZONE 1
  19537. | #define HAVE_TM_ZONE 1
  19538. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  19539. | #define HAVE_DAYLIGHT 1
  19540. | #define HAVE_VAR_TIMEZONE 1
  19541. | #define TYPEOF_VAR_TIMEZONE long
  19542. | #define HAVE_TIMEZONE 1
  19543. | #define TIMEZONE_VOID 1
  19544. | #define NEGATIVE_TIME_T 1
  19545. | #define POSIX_SIGNAL 1
  19546. | #define RSHIFT(x,y) ((x)>>(int)(y))
  19547. | #define FILE_READPTR _IO_read_ptr
  19548. | #define FILE_READEND _IO_read_end
  19549. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  19550. | #define HAVE__SC_CLK_TCK 1
  19551. | #define STACK_GROW_DIRECTION -1
  19552. | #define _REENTRANT 1
  19553. | #define _THREAD_SAFE 1
  19554. | #define HAVE_LIBPTHREAD 1
  19555. | #define HAVE_SCHED_YIELD 1
  19556. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  19557. | #define HAVE_PTHREAD_GETATTR_NP 1
  19558. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  19559. | /* end confdefs.h. */
  19560. | /* Define pthread_stackseg_np to an innocuous variant, in case <limits.h> declares pthread_stackseg_np.
  19561. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  19562. | #define pthread_stackseg_np innocuous_pthread_stackseg_np
  19563. |
  19564. | /* System header to define __stub macros and hopefully few prototypes,
  19565. | which can conflict with char pthread_stackseg_np (); below.
  19566. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  19567. | <limits.h> exists even on freestanding compilers. */
  19568. |
  19569. | #ifdef __STDC__
  19570. | # include <limits.h>
  19571. | #else
  19572. | # include <assert.h>
  19573. | #endif
  19574. |
  19575. | #undef pthread_stackseg_np
  19576. |
  19577. | /* Override any GCC internal prototype to avoid an error.
  19578. | Use char because int might match the return type of a GCC
  19579. | builtin and then its argument prototype would still apply. */
  19580. | #ifdef __cplusplus
  19581. | extern "C"
  19582. | #endif
  19583. | char pthread_stackseg_np ();
  19584. | /* The GNU C library defines this for functions which it implements
  19585. | to always fail with ENOSYS. Some functions are actually named
  19586. | something starting with __ and the normal name is an alias. */
  19587. | #if defined __stub_pthread_stackseg_np || defined __stub___pthread_stackseg_np
  19588. | choke me
  19589. | #endif
  19590. |
  19591. | int
  19592. | main ()
  19593. | {
  19594. | return pthread_stackseg_np ();
  19595. | ;
  19596. | return 0;
  19597. | }
  19598. configure:16011: result: no
  19599. configure:16011: checking for pthread_getthrds_np
  19600. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  19601. /tmp/ccZHxO4y.o: In function `main':
  19602. /home/medir/.rvm/src/ruby-1.9.3-p551/conftest.c:321: undefined reference to `pthread_getthrds_np'
  19603. collect2: error: ld returned 1 exit status
  19604. configure:16011: $? = 1
  19605. configure: failed program was:
  19606. | /* confdefs.h */
  19607. | #define PACKAGE_NAME ""
  19608. | #define PACKAGE_TARNAME ""
  19609. | #define PACKAGE_VERSION ""
  19610. | #define PACKAGE_STRING ""
  19611. | #define PACKAGE_BUGREPORT ""
  19612. | #define PACKAGE_URL ""
  19613. | #define CANONICALIZATION_FOR_MATHN 1
  19614. | #define STDC_HEADERS 1
  19615. | #define HAVE_SYS_TYPES_H 1
  19616. | #define HAVE_SYS_STAT_H 1
  19617. | #define HAVE_STDLIB_H 1
  19618. | #define HAVE_STRING_H 1
  19619. | #define HAVE_MEMORY_H 1
  19620. | #define HAVE_STRINGS_H 1
  19621. | #define HAVE_INTTYPES_H 1
  19622. | #define HAVE_STDINT_H 1
  19623. | #define HAVE_UNISTD_H 1
  19624. | #define __EXTENSIONS__ 1
  19625. | #define _ALL_SOURCE 1
  19626. | #define _GNU_SOURCE 1
  19627. | #define _POSIX_PTHREAD_SEMANTICS 1
  19628. | #define _TANDEM_SOURCE 1
  19629. | #define HAVE_LONG_LONG 1
  19630. | #define HAVE_OFF_T 1
  19631. | #define SIZEOF_INT 4
  19632. | #define SIZEOF_SHORT 2
  19633. | #define SIZEOF_LONG 8
  19634. | #define SIZEOF_LONG_LONG 8
  19635. | #define SIZEOF___INT64 0
  19636. | #define SIZEOF_OFF_T 8
  19637. | #define SIZEOF_VOIDP 8
  19638. | #define SIZEOF_FLOAT 4
  19639. | #define SIZEOF_DOUBLE 8
  19640. | #define SIZEOF_TIME_T 8
  19641. | #define PRI_LL_PREFIX "ll"
  19642. | #define rb_pid_t pid_t
  19643. | #define PIDT2NUM(v) INT2NUM(v)
  19644. | #define NUM2PIDT(v) NUM2INT(v)
  19645. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  19646. | #define rb_uid_t uid_t
  19647. | #define UIDT2NUM(v) UINT2NUM(v)
  19648. | #define NUM2UIDT(v) NUM2UINT(v)
  19649. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  19650. | #define rb_gid_t gid_t
  19651. | #define GIDT2NUM(v) UINT2NUM(v)
  19652. | #define NUM2GIDT(v) NUM2UINT(v)
  19653. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  19654. | #define rb_time_t time_t
  19655. | #define TIMET2NUM(v) LONG2NUM(v)
  19656. | #define NUM2TIMET(v) NUM2LONG(v)
  19657. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  19658. | #define rb_dev_t dev_t
  19659. | #define DEVT2NUM(v) ULONG2NUM(v)
  19660. | #define NUM2DEVT(v) NUM2ULONG(v)
  19661. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  19662. | #define rb_mode_t mode_t
  19663. | #define MODET2NUM(v) UINT2NUM(v)
  19664. | #define NUM2MODET(v) NUM2UINT(v)
  19665. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  19666. | #define rb_rlim_t rlim_t
  19667. | #define RLIM2NUM(v) ULONG2NUM(v)
  19668. | #define NUM2RLIM(v) NUM2ULONG(v)
  19669. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  19670. | #define HAVE_PROTOTYPES 1
  19671. | #define TOKEN_PASTE(x,y) x##y
  19672. | #define STRINGIZE(expr) STRINGIZE0(expr)
  19673. | #define HAVE_STDARG_PROTOTYPES 1
  19674. | #define HAVE_VA_ARGS_MACRO 1
  19675. | #define NORETURN(x) __attribute__ ((noreturn)) x
  19676. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  19677. | #define NOINLINE(x) __attribute__ ((noinline)) x
  19678. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  19679. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  19680. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  19681. | #define HAVE_GCC_SYNC_BUILTINS 1
  19682. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  19683. | #define HAVE_DECL_SYS_NERR 1
  19684. | #define HAVE_LIBCRYPT 1
  19685. | #define HAVE_LIBDL 1
  19686. | #define HAVE_LIBRT 1
  19687. | #define HAVE_DIRENT_H 1
  19688. | #define HAVE__BOOL 1
  19689. | #define HAVE_STDBOOL_H 1
  19690. | #define HAVE_SYS_WAIT_H 1
  19691. | #define HAVE_LIMITS_H 1
  19692. | #define HAVE_SYS_FILE_H 1
  19693. | #define HAVE_SYS_IOCTL_H 1
  19694. | #define HAVE_SYS_SYSCALL_H 1
  19695. | #define HAVE_FCNTL_H 1
  19696. | #define HAVE_SYS_FCNTL_H 1
  19697. | #define HAVE_SYS_SELECT_H 1
  19698. | #define HAVE_SYS_TIME_H 1
  19699. | #define HAVE_SYS_TIMES_H 1
  19700. | #define HAVE_SYS_PARAM_H 1
  19701. | #define HAVE_SYSCALL_H 1
  19702. | #define HAVE_PWD_H 1
  19703. | #define HAVE_GRP_H 1
  19704. | #define HAVE_A_OUT_H 1
  19705. | #define HAVE_UTIME_H 1
  19706. | #define HAVE_SYS_RESOURCE_H 1
  19707. | #define HAVE_NETINET_IN_SYSTM_H 1
  19708. | #define HAVE_FLOAT_H 1
  19709. | #define HAVE_UCONTEXT_H 1
  19710. | #define HAVE_LANGINFO_H 1
  19711. | #define HAVE_LOCALE_H 1
  19712. | #define HAVE_SYS_SENDFILE_H 1
  19713. | #define HAVE_TIME_H 1
  19714. | #define HAVE_SYS_SOCKET_H 1
  19715. | #define SIZEOF_SIZE_T 8
  19716. | #define SIZEOF_PTRDIFF_T 8
  19717. | #define PRI_SIZE_PREFIX "z"
  19718. | #define PRI_PTRDIFF_PREFIX "t"
  19719. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  19720. | #define HAVE_ST_BLKSIZE 1
  19721. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  19722. | #define HAVE_ST_BLOCKS 1
  19723. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  19724. | #define HAVE_ST_RDEV 1
  19725. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  19726. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  19727. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  19728. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  19729. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  19730. | #define HAVE_STRUCT_TIMEVAL 1
  19731. | #define HAVE_STRUCT_TIMESPEC 1
  19732. | #define HAVE_STRUCT_TIMEZONE 1
  19733. | #define HAVE_CLOCKID_T 1
  19734. | #define HAVE_RB_FD_INIT 1
  19735. | #define HAVE_INT8_T 1
  19736. | #define SIZEOF_INT8_T 1
  19737. | #define HAVE_UINT8_T 1
  19738. | #define SIZEOF_UINT8_T 1
  19739. | #define HAVE_INT16_T 1
  19740. | #define SIZEOF_INT16_T 2
  19741. | #define HAVE_UINT16_T 1
  19742. | #define SIZEOF_UINT16_T 2
  19743. | #define HAVE_INT32_T 1
  19744. | #define SIZEOF_INT32_T 4
  19745. | #define HAVE_UINT32_T 1
  19746. | #define SIZEOF_UINT32_T 4
  19747. | #define HAVE_INT64_T 1
  19748. | #define SIZEOF_INT64_T 8
  19749. | #define HAVE_UINT64_T 1
  19750. | #define SIZEOF_UINT64_T 8
  19751. | #define HAVE_INTPTR_T 1
  19752. | #define SIZEOF_INTPTR_T 8
  19753. | #define HAVE_UINTPTR_T 1
  19754. | #define SIZEOF_UINTPTR_T 8
  19755. | #define HAVE_SSIZE_T 1
  19756. | #define SIZEOF_SSIZE_T 8
  19757. | #define STACK_END_ADDRESS __libc_stack_end
  19758. | #define GETGROUPS_T gid_t
  19759. | #define RETSIGTYPE void
  19760. | #define HAVE_ALLOCA_H 1
  19761. | #define HAVE_ALLOCA 1
  19762. | #define HAVE_DUP2 1
  19763. | #define HAVE_MEMMOVE 1
  19764. | #define HAVE_STRERROR 1
  19765. | #define HAVE_STRCHR 1
  19766. | #define HAVE_STRSTR 1
  19767. | #define HAVE_CRYPT 1
  19768. | #define HAVE_FLOCK 1
  19769. | #define HAVE_ISNAN 1
  19770. | #define HAVE_FINITE 1
  19771. | #define HAVE_ISINF 1
  19772. | #define HAVE_HYPOT 1
  19773. | #define HAVE_ACOSH 1
  19774. | #define HAVE_ERF 1
  19775. | #define HAVE_TGAMMA 1
  19776. | #define HAVE_LGAMMA_R 1
  19777. | #define HAVE_CBRT 1
  19778. | #define HAVE_FFS 1
  19779. | #define SPT_TYPE SPT_REUSEARGV
  19780. | #define HAVE_SIGNBIT 1
  19781. | #define HAVE_FMOD 1
  19782. | #define HAVE_KILLPG 1
  19783. | #define HAVE_WAIT4 1
  19784. | #define HAVE_WAITPID 1
  19785. | #define HAVE_FORK 1
  19786. | #define HAVE_SYSCALL 1
  19787. | #define HAVE_CHROOT 1
  19788. | #define HAVE_GETCWD 1
  19789. | #define HAVE_EACCESS 1
  19790. | #define HAVE_TRUNCATE 1
  19791. | #define HAVE_FTRUNCATE 1
  19792. | #define HAVE_FTELLO 1
  19793. | #define HAVE_TIMES 1
  19794. | #define HAVE_UTIMES 1
  19795. | #define HAVE_UTIMENSAT 1
  19796. | #define HAVE_FCNTL 1
  19797. | #define HAVE_LOCKF 1
  19798. | #define HAVE_LSTAT 1
  19799. | #define HAVE_TRUNCATE64 1
  19800. | #define HAVE_FTRUNCATE64 1
  19801. | #define HAVE_FTELLO64 1
  19802. | #define HAVE_FSEEKO 1
  19803. | #define HAVE_FSEEKO64 1
  19804. | #define HAVE_LINK 1
  19805. | #define HAVE_SYMLINK 1
  19806. | #define HAVE_READLINK 1
  19807. | #define HAVE_READDIR_R 1
  19808. | #define HAVE_FSYNC 1
  19809. | #define HAVE_FDATASYNC 1
  19810. | #define HAVE_FCHOWN 1
  19811. | #define HAVE_POSIX_FADVISE 1
  19812. | #define HAVE_SETITIMER 1
  19813. | #define HAVE_SETEUID 1
  19814. | #define HAVE_SETREUID 1
  19815. | #define HAVE_SETRESUID 1
  19816. | #define HAVE_SOCKETPAIR 1
  19817. | #define HAVE_SETEGID 1
  19818. | #define HAVE_SETREGID 1
  19819. | #define HAVE_SETRESGID 1
  19820. | #define HAVE_PAUSE 1
  19821. | #define HAVE_LCHOWN 1
  19822. | #define HAVE_GETPGRP 1
  19823. | #define HAVE_SETPGRP 1
  19824. | #define HAVE_GETPGID 1
  19825. | #define HAVE_SETPGID 1
  19826. | #define HAVE_INITGROUPS 1
  19827. | #define HAVE_GETGROUPS 1
  19828. | #define HAVE_SETGROUPS 1
  19829. | #define HAVE_GETPRIORITY 1
  19830. | #define HAVE_GETRLIMIT 1
  19831. | #define HAVE_SETRLIMIT 1
  19832. | #define HAVE_SYSCONF 1
  19833. | #define HAVE_CLOSE 1
  19834. | #define HAVE_GETGRNAM_R 1
  19835. | #define HAVE_DLOPEN 1
  19836. | #define HAVE_SIGPROCMASK 1
  19837. | #define HAVE_SIGACTION 1
  19838. | #define HAVE__SETJMP 1
  19839. | #define HAVE__LONGJMP 1
  19840. | #define HAVE_SETSID 1
  19841. | #define HAVE_TELLDIR 1
  19842. | #define HAVE_SEEKDIR 1
  19843. | #define HAVE_FCHMOD 1
  19844. | #define HAVE_COSH 1
  19845. | #define HAVE_SINH 1
  19846. | #define HAVE_TANH 1
  19847. | #define HAVE_LOG2 1
  19848. | #define HAVE_ROUND 1
  19849. | #define HAVE_SETUID 1
  19850. | #define HAVE_SETGID 1
  19851. | #define HAVE_SETENV 1
  19852. | #define HAVE_UNSETENV 1
  19853. | #define HAVE_MKTIME 1
  19854. | #define HAVE_TIMEGM 1
  19855. | #define HAVE_GMTIME_R 1
  19856. | #define HAVE_CLOCK_GETTIME 1
  19857. | #define HAVE_GETTIMEOFDAY 1
  19858. | #define HAVE_POLL 1
  19859. | #define HAVE_PPOLL 1
  19860. | #define HAVE_PREAD 1
  19861. | #define HAVE_SENDFILE 1
  19862. | #define HAVE_SHUTDOWN 1
  19863. | #define HAVE_SIGALTSTACK 1
  19864. | #define HAVE_DL_ITERATE_PHDR 1
  19865. | #define RUBY_SETJMP(env) _setjmp(env)
  19866. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  19867. | #define RUBY_JMP_BUF jmp_buf
  19868. | #define HAVE_STRUCT_TM_TM_ZONE 1
  19869. | #define HAVE_TM_ZONE 1
  19870. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  19871. | #define HAVE_DAYLIGHT 1
  19872. | #define HAVE_VAR_TIMEZONE 1
  19873. | #define TYPEOF_VAR_TIMEZONE long
  19874. | #define HAVE_TIMEZONE 1
  19875. | #define TIMEZONE_VOID 1
  19876. | #define NEGATIVE_TIME_T 1
  19877. | #define POSIX_SIGNAL 1
  19878. | #define RSHIFT(x,y) ((x)>>(int)(y))
  19879. | #define FILE_READPTR _IO_read_ptr
  19880. | #define FILE_READEND _IO_read_end
  19881. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  19882. | #define HAVE__SC_CLK_TCK 1
  19883. | #define STACK_GROW_DIRECTION -1
  19884. | #define _REENTRANT 1
  19885. | #define _THREAD_SAFE 1
  19886. | #define HAVE_LIBPTHREAD 1
  19887. | #define HAVE_SCHED_YIELD 1
  19888. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  19889. | #define HAVE_PTHREAD_GETATTR_NP 1
  19890. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  19891. | /* end confdefs.h. */
  19892. | /* Define pthread_getthrds_np to an innocuous variant, in case <limits.h> declares pthread_getthrds_np.
  19893. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  19894. | #define pthread_getthrds_np innocuous_pthread_getthrds_np
  19895. |
  19896. | /* System header to define __stub macros and hopefully few prototypes,
  19897. | which can conflict with char pthread_getthrds_np (); below.
  19898. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  19899. | <limits.h> exists even on freestanding compilers. */
  19900. |
  19901. | #ifdef __STDC__
  19902. | # include <limits.h>
  19903. | #else
  19904. | # include <assert.h>
  19905. | #endif
  19906. |
  19907. | #undef pthread_getthrds_np
  19908. |
  19909. | /* Override any GCC internal prototype to avoid an error.
  19910. | Use char because int might match the return type of a GCC
  19911. | builtin and then its argument prototype would still apply. */
  19912. | #ifdef __cplusplus
  19913. | extern "C"
  19914. | #endif
  19915. | char pthread_getthrds_np ();
  19916. | /* The GNU C library defines this for functions which it implements
  19917. | to always fail with ENOSYS. Some functions are actually named
  19918. | something starting with __ and the normal name is an alias. */
  19919. | #if defined __stub_pthread_getthrds_np || defined __stub___pthread_getthrds_np
  19920. | choke me
  19921. | #endif
  19922. |
  19923. | int
  19924. | main ()
  19925. | {
  19926. | return pthread_getthrds_np ();
  19927. | ;
  19928. | return 0;
  19929. | }
  19930. configure:16011: result: no
  19931. configure:16011: checking for pthread_condattr_setclock
  19932. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  19933. configure:16011: $? = 0
  19934. configure:16011: result: yes
  19935. configure:16011: checking for pthread_sigmask
  19936. configure:16011: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  19937. configure:16011: $? = 0
  19938. configure:16011: result: yes
  19939. configure:16026: checking for getcontext
  19940. configure:16026: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  19941. configure:16026: $? = 0
  19942. configure:16026: result: yes
  19943. configure:16026: checking for setcontext
  19944. configure:16026: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  19945. configure:16026: $? = 0
  19946. configure:16026: result: yes
  19947. configure:16039: checking if fork works with pthread
  19948. configure:16107: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  19949. configure:16107: $? = 0
  19950. configure:16107: ./conftest
  19951. configure:16107: $? = 0
  19952. configure:16117: result: yes
  19953. configure:16201: checking for backtrace
  19954. configure:16201: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  19955. configure:16201: $? = 0
  19956. configure:16201: result: yes
  19957. configure:16222: checking valgrind/memcheck.h usability
  19958. configure:16222: gcc -c -O3 -ggdb conftest.c >&5
  19959. conftest.c:325:31: fatal error: valgrind/memcheck.h: No such file or directory
  19960. compilation terminated.
  19961. configure:16222: $? = 1
  19962. configure: failed program was:
  19963. | /* confdefs.h */
  19964. | #define PACKAGE_NAME ""
  19965. | #define PACKAGE_TARNAME ""
  19966. | #define PACKAGE_VERSION ""
  19967. | #define PACKAGE_STRING ""
  19968. | #define PACKAGE_BUGREPORT ""
  19969. | #define PACKAGE_URL ""
  19970. | #define CANONICALIZATION_FOR_MATHN 1
  19971. | #define STDC_HEADERS 1
  19972. | #define HAVE_SYS_TYPES_H 1
  19973. | #define HAVE_SYS_STAT_H 1
  19974. | #define HAVE_STDLIB_H 1
  19975. | #define HAVE_STRING_H 1
  19976. | #define HAVE_MEMORY_H 1
  19977. | #define HAVE_STRINGS_H 1
  19978. | #define HAVE_INTTYPES_H 1
  19979. | #define HAVE_STDINT_H 1
  19980. | #define HAVE_UNISTD_H 1
  19981. | #define __EXTENSIONS__ 1
  19982. | #define _ALL_SOURCE 1
  19983. | #define _GNU_SOURCE 1
  19984. | #define _POSIX_PTHREAD_SEMANTICS 1
  19985. | #define _TANDEM_SOURCE 1
  19986. | #define HAVE_LONG_LONG 1
  19987. | #define HAVE_OFF_T 1
  19988. | #define SIZEOF_INT 4
  19989. | #define SIZEOF_SHORT 2
  19990. | #define SIZEOF_LONG 8
  19991. | #define SIZEOF_LONG_LONG 8
  19992. | #define SIZEOF___INT64 0
  19993. | #define SIZEOF_OFF_T 8
  19994. | #define SIZEOF_VOIDP 8
  19995. | #define SIZEOF_FLOAT 4
  19996. | #define SIZEOF_DOUBLE 8
  19997. | #define SIZEOF_TIME_T 8
  19998. | #define PRI_LL_PREFIX "ll"
  19999. | #define rb_pid_t pid_t
  20000. | #define PIDT2NUM(v) INT2NUM(v)
  20001. | #define NUM2PIDT(v) NUM2INT(v)
  20002. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  20003. | #define rb_uid_t uid_t
  20004. | #define UIDT2NUM(v) UINT2NUM(v)
  20005. | #define NUM2UIDT(v) NUM2UINT(v)
  20006. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  20007. | #define rb_gid_t gid_t
  20008. | #define GIDT2NUM(v) UINT2NUM(v)
  20009. | #define NUM2GIDT(v) NUM2UINT(v)
  20010. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  20011. | #define rb_time_t time_t
  20012. | #define TIMET2NUM(v) LONG2NUM(v)
  20013. | #define NUM2TIMET(v) NUM2LONG(v)
  20014. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  20015. | #define rb_dev_t dev_t
  20016. | #define DEVT2NUM(v) ULONG2NUM(v)
  20017. | #define NUM2DEVT(v) NUM2ULONG(v)
  20018. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  20019. | #define rb_mode_t mode_t
  20020. | #define MODET2NUM(v) UINT2NUM(v)
  20021. | #define NUM2MODET(v) NUM2UINT(v)
  20022. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  20023. | #define rb_rlim_t rlim_t
  20024. | #define RLIM2NUM(v) ULONG2NUM(v)
  20025. | #define NUM2RLIM(v) NUM2ULONG(v)
  20026. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  20027. | #define HAVE_PROTOTYPES 1
  20028. | #define TOKEN_PASTE(x,y) x##y
  20029. | #define STRINGIZE(expr) STRINGIZE0(expr)
  20030. | #define HAVE_STDARG_PROTOTYPES 1
  20031. | #define HAVE_VA_ARGS_MACRO 1
  20032. | #define NORETURN(x) __attribute__ ((noreturn)) x
  20033. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  20034. | #define NOINLINE(x) __attribute__ ((noinline)) x
  20035. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  20036. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  20037. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  20038. | #define HAVE_GCC_SYNC_BUILTINS 1
  20039. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  20040. | #define HAVE_DECL_SYS_NERR 1
  20041. | #define HAVE_LIBCRYPT 1
  20042. | #define HAVE_LIBDL 1
  20043. | #define HAVE_LIBRT 1
  20044. | #define HAVE_DIRENT_H 1
  20045. | #define HAVE__BOOL 1
  20046. | #define HAVE_STDBOOL_H 1
  20047. | #define HAVE_SYS_WAIT_H 1
  20048. | #define HAVE_LIMITS_H 1
  20049. | #define HAVE_SYS_FILE_H 1
  20050. | #define HAVE_SYS_IOCTL_H 1
  20051. | #define HAVE_SYS_SYSCALL_H 1
  20052. | #define HAVE_FCNTL_H 1
  20053. | #define HAVE_SYS_FCNTL_H 1
  20054. | #define HAVE_SYS_SELECT_H 1
  20055. | #define HAVE_SYS_TIME_H 1
  20056. | #define HAVE_SYS_TIMES_H 1
  20057. | #define HAVE_SYS_PARAM_H 1
  20058. | #define HAVE_SYSCALL_H 1
  20059. | #define HAVE_PWD_H 1
  20060. | #define HAVE_GRP_H 1
  20061. | #define HAVE_A_OUT_H 1
  20062. | #define HAVE_UTIME_H 1
  20063. | #define HAVE_SYS_RESOURCE_H 1
  20064. | #define HAVE_NETINET_IN_SYSTM_H 1
  20065. | #define HAVE_FLOAT_H 1
  20066. | #define HAVE_UCONTEXT_H 1
  20067. | #define HAVE_LANGINFO_H 1
  20068. | #define HAVE_LOCALE_H 1
  20069. | #define HAVE_SYS_SENDFILE_H 1
  20070. | #define HAVE_TIME_H 1
  20071. | #define HAVE_SYS_SOCKET_H 1
  20072. | #define SIZEOF_SIZE_T 8
  20073. | #define SIZEOF_PTRDIFF_T 8
  20074. | #define PRI_SIZE_PREFIX "z"
  20075. | #define PRI_PTRDIFF_PREFIX "t"
  20076. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  20077. | #define HAVE_ST_BLKSIZE 1
  20078. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  20079. | #define HAVE_ST_BLOCKS 1
  20080. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  20081. | #define HAVE_ST_RDEV 1
  20082. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  20083. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  20084. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  20085. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  20086. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  20087. | #define HAVE_STRUCT_TIMEVAL 1
  20088. | #define HAVE_STRUCT_TIMESPEC 1
  20089. | #define HAVE_STRUCT_TIMEZONE 1
  20090. | #define HAVE_CLOCKID_T 1
  20091. | #define HAVE_RB_FD_INIT 1
  20092. | #define HAVE_INT8_T 1
  20093. | #define SIZEOF_INT8_T 1
  20094. | #define HAVE_UINT8_T 1
  20095. | #define SIZEOF_UINT8_T 1
  20096. | #define HAVE_INT16_T 1
  20097. | #define SIZEOF_INT16_T 2
  20098. | #define HAVE_UINT16_T 1
  20099. | #define SIZEOF_UINT16_T 2
  20100. | #define HAVE_INT32_T 1
  20101. | #define SIZEOF_INT32_T 4
  20102. | #define HAVE_UINT32_T 1
  20103. | #define SIZEOF_UINT32_T 4
  20104. | #define HAVE_INT64_T 1
  20105. | #define SIZEOF_INT64_T 8
  20106. | #define HAVE_UINT64_T 1
  20107. | #define SIZEOF_UINT64_T 8
  20108. | #define HAVE_INTPTR_T 1
  20109. | #define SIZEOF_INTPTR_T 8
  20110. | #define HAVE_UINTPTR_T 1
  20111. | #define SIZEOF_UINTPTR_T 8
  20112. | #define HAVE_SSIZE_T 1
  20113. | #define SIZEOF_SSIZE_T 8
  20114. | #define STACK_END_ADDRESS __libc_stack_end
  20115. | #define GETGROUPS_T gid_t
  20116. | #define RETSIGTYPE void
  20117. | #define HAVE_ALLOCA_H 1
  20118. | #define HAVE_ALLOCA 1
  20119. | #define HAVE_DUP2 1
  20120. | #define HAVE_MEMMOVE 1
  20121. | #define HAVE_STRERROR 1
  20122. | #define HAVE_STRCHR 1
  20123. | #define HAVE_STRSTR 1
  20124. | #define HAVE_CRYPT 1
  20125. | #define HAVE_FLOCK 1
  20126. | #define HAVE_ISNAN 1
  20127. | #define HAVE_FINITE 1
  20128. | #define HAVE_ISINF 1
  20129. | #define HAVE_HYPOT 1
  20130. | #define HAVE_ACOSH 1
  20131. | #define HAVE_ERF 1
  20132. | #define HAVE_TGAMMA 1
  20133. | #define HAVE_LGAMMA_R 1
  20134. | #define HAVE_CBRT 1
  20135. | #define HAVE_FFS 1
  20136. | #define SPT_TYPE SPT_REUSEARGV
  20137. | #define HAVE_SIGNBIT 1
  20138. | #define HAVE_FMOD 1
  20139. | #define HAVE_KILLPG 1
  20140. | #define HAVE_WAIT4 1
  20141. | #define HAVE_WAITPID 1
  20142. | #define HAVE_FORK 1
  20143. | #define HAVE_SYSCALL 1
  20144. | #define HAVE_CHROOT 1
  20145. | #define HAVE_GETCWD 1
  20146. | #define HAVE_EACCESS 1
  20147. | #define HAVE_TRUNCATE 1
  20148. | #define HAVE_FTRUNCATE 1
  20149. | #define HAVE_FTELLO 1
  20150. | #define HAVE_TIMES 1
  20151. | #define HAVE_UTIMES 1
  20152. | #define HAVE_UTIMENSAT 1
  20153. | #define HAVE_FCNTL 1
  20154. | #define HAVE_LOCKF 1
  20155. | #define HAVE_LSTAT 1
  20156. | #define HAVE_TRUNCATE64 1
  20157. | #define HAVE_FTRUNCATE64 1
  20158. | #define HAVE_FTELLO64 1
  20159. | #define HAVE_FSEEKO 1
  20160. | #define HAVE_FSEEKO64 1
  20161. | #define HAVE_LINK 1
  20162. | #define HAVE_SYMLINK 1
  20163. | #define HAVE_READLINK 1
  20164. | #define HAVE_READDIR_R 1
  20165. | #define HAVE_FSYNC 1
  20166. | #define HAVE_FDATASYNC 1
  20167. | #define HAVE_FCHOWN 1
  20168. | #define HAVE_POSIX_FADVISE 1
  20169. | #define HAVE_SETITIMER 1
  20170. | #define HAVE_SETEUID 1
  20171. | #define HAVE_SETREUID 1
  20172. | #define HAVE_SETRESUID 1
  20173. | #define HAVE_SOCKETPAIR 1
  20174. | #define HAVE_SETEGID 1
  20175. | #define HAVE_SETREGID 1
  20176. | #define HAVE_SETRESGID 1
  20177. | #define HAVE_PAUSE 1
  20178. | #define HAVE_LCHOWN 1
  20179. | #define HAVE_GETPGRP 1
  20180. | #define HAVE_SETPGRP 1
  20181. | #define HAVE_GETPGID 1
  20182. | #define HAVE_SETPGID 1
  20183. | #define HAVE_INITGROUPS 1
  20184. | #define HAVE_GETGROUPS 1
  20185. | #define HAVE_SETGROUPS 1
  20186. | #define HAVE_GETPRIORITY 1
  20187. | #define HAVE_GETRLIMIT 1
  20188. | #define HAVE_SETRLIMIT 1
  20189. | #define HAVE_SYSCONF 1
  20190. | #define HAVE_CLOSE 1
  20191. | #define HAVE_GETGRNAM_R 1
  20192. | #define HAVE_DLOPEN 1
  20193. | #define HAVE_SIGPROCMASK 1
  20194. | #define HAVE_SIGACTION 1
  20195. | #define HAVE__SETJMP 1
  20196. | #define HAVE__LONGJMP 1
  20197. | #define HAVE_SETSID 1
  20198. | #define HAVE_TELLDIR 1
  20199. | #define HAVE_SEEKDIR 1
  20200. | #define HAVE_FCHMOD 1
  20201. | #define HAVE_COSH 1
  20202. | #define HAVE_SINH 1
  20203. | #define HAVE_TANH 1
  20204. | #define HAVE_LOG2 1
  20205. | #define HAVE_ROUND 1
  20206. | #define HAVE_SETUID 1
  20207. | #define HAVE_SETGID 1
  20208. | #define HAVE_SETENV 1
  20209. | #define HAVE_UNSETENV 1
  20210. | #define HAVE_MKTIME 1
  20211. | #define HAVE_TIMEGM 1
  20212. | #define HAVE_GMTIME_R 1
  20213. | #define HAVE_CLOCK_GETTIME 1
  20214. | #define HAVE_GETTIMEOFDAY 1
  20215. | #define HAVE_POLL 1
  20216. | #define HAVE_PPOLL 1
  20217. | #define HAVE_PREAD 1
  20218. | #define HAVE_SENDFILE 1
  20219. | #define HAVE_SHUTDOWN 1
  20220. | #define HAVE_SIGALTSTACK 1
  20221. | #define HAVE_DL_ITERATE_PHDR 1
  20222. | #define RUBY_SETJMP(env) _setjmp(env)
  20223. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  20224. | #define RUBY_JMP_BUF jmp_buf
  20225. | #define HAVE_STRUCT_TM_TM_ZONE 1
  20226. | #define HAVE_TM_ZONE 1
  20227. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  20228. | #define HAVE_DAYLIGHT 1
  20229. | #define HAVE_VAR_TIMEZONE 1
  20230. | #define TYPEOF_VAR_TIMEZONE long
  20231. | #define HAVE_TIMEZONE 1
  20232. | #define TIMEZONE_VOID 1
  20233. | #define NEGATIVE_TIME_T 1
  20234. | #define POSIX_SIGNAL 1
  20235. | #define RSHIFT(x,y) ((x)>>(int)(y))
  20236. | #define FILE_READPTR _IO_read_ptr
  20237. | #define FILE_READEND _IO_read_end
  20238. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  20239. | #define HAVE__SC_CLK_TCK 1
  20240. | #define STACK_GROW_DIRECTION -1
  20241. | #define _REENTRANT 1
  20242. | #define _THREAD_SAFE 1
  20243. | #define HAVE_LIBPTHREAD 1
  20244. | #define HAVE_SCHED_YIELD 1
  20245. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  20246. | #define HAVE_PTHREAD_GETATTR_NP 1
  20247. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  20248. | #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  20249. | #define HAVE_PTHREAD_SIGMASK 1
  20250. | #define HAVE_GETCONTEXT 1
  20251. | #define HAVE_SETCONTEXT 1
  20252. | #define HAVE_BACKTRACE 1
  20253. | /* end confdefs.h. */
  20254. | #include <stdio.h>
  20255. | #ifdef HAVE_SYS_TYPES_H
  20256. | # include <sys/types.h>
  20257. | #endif
  20258. | #ifdef HAVE_SYS_STAT_H
  20259. | # include <sys/stat.h>
  20260. | #endif
  20261. | #ifdef STDC_HEADERS
  20262. | # include <stdlib.h>
  20263. | # include <stddef.h>
  20264. | #else
  20265. | # ifdef HAVE_STDLIB_H
  20266. | # include <stdlib.h>
  20267. | # endif
  20268. | #endif
  20269. | #ifdef HAVE_STRING_H
  20270. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  20271. | # include <memory.h>
  20272. | # endif
  20273. | # include <string.h>
  20274. | #endif
  20275. | #ifdef HAVE_STRINGS_H
  20276. | # include <strings.h>
  20277. | #endif
  20278. | #ifdef HAVE_INTTYPES_H
  20279. | # include <inttypes.h>
  20280. | #endif
  20281. | #ifdef HAVE_STDINT_H
  20282. | # include <stdint.h>
  20283. | #endif
  20284. | #ifdef HAVE_UNISTD_H
  20285. | # include <unistd.h>
  20286. | #endif
  20287. | #include <valgrind/memcheck.h>
  20288. configure:16222: result: no
  20289. configure:16222: checking valgrind/memcheck.h presence
  20290. configure:16222: gcc -E conftest.c
  20291. conftest.c:292:31: fatal error: valgrind/memcheck.h: No such file or directory
  20292. compilation terminated.
  20293. configure:16222: $? = 1
  20294. configure: failed program was:
  20295. | /* confdefs.h */
  20296. | #define PACKAGE_NAME ""
  20297. | #define PACKAGE_TARNAME ""
  20298. | #define PACKAGE_VERSION ""
  20299. | #define PACKAGE_STRING ""
  20300. | #define PACKAGE_BUGREPORT ""
  20301. | #define PACKAGE_URL ""
  20302. | #define CANONICALIZATION_FOR_MATHN 1
  20303. | #define STDC_HEADERS 1
  20304. | #define HAVE_SYS_TYPES_H 1
  20305. | #define HAVE_SYS_STAT_H 1
  20306. | #define HAVE_STDLIB_H 1
  20307. | #define HAVE_STRING_H 1
  20308. | #define HAVE_MEMORY_H 1
  20309. | #define HAVE_STRINGS_H 1
  20310. | #define HAVE_INTTYPES_H 1
  20311. | #define HAVE_STDINT_H 1
  20312. | #define HAVE_UNISTD_H 1
  20313. | #define __EXTENSIONS__ 1
  20314. | #define _ALL_SOURCE 1
  20315. | #define _GNU_SOURCE 1
  20316. | #define _POSIX_PTHREAD_SEMANTICS 1
  20317. | #define _TANDEM_SOURCE 1
  20318. | #define HAVE_LONG_LONG 1
  20319. | #define HAVE_OFF_T 1
  20320. | #define SIZEOF_INT 4
  20321. | #define SIZEOF_SHORT 2
  20322. | #define SIZEOF_LONG 8
  20323. | #define SIZEOF_LONG_LONG 8
  20324. | #define SIZEOF___INT64 0
  20325. | #define SIZEOF_OFF_T 8
  20326. | #define SIZEOF_VOIDP 8
  20327. | #define SIZEOF_FLOAT 4
  20328. | #define SIZEOF_DOUBLE 8
  20329. | #define SIZEOF_TIME_T 8
  20330. | #define PRI_LL_PREFIX "ll"
  20331. | #define rb_pid_t pid_t
  20332. | #define PIDT2NUM(v) INT2NUM(v)
  20333. | #define NUM2PIDT(v) NUM2INT(v)
  20334. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  20335. | #define rb_uid_t uid_t
  20336. | #define UIDT2NUM(v) UINT2NUM(v)
  20337. | #define NUM2UIDT(v) NUM2UINT(v)
  20338. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  20339. | #define rb_gid_t gid_t
  20340. | #define GIDT2NUM(v) UINT2NUM(v)
  20341. | #define NUM2GIDT(v) NUM2UINT(v)
  20342. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  20343. | #define rb_time_t time_t
  20344. | #define TIMET2NUM(v) LONG2NUM(v)
  20345. | #define NUM2TIMET(v) NUM2LONG(v)
  20346. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  20347. | #define rb_dev_t dev_t
  20348. | #define DEVT2NUM(v) ULONG2NUM(v)
  20349. | #define NUM2DEVT(v) NUM2ULONG(v)
  20350. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  20351. | #define rb_mode_t mode_t
  20352. | #define MODET2NUM(v) UINT2NUM(v)
  20353. | #define NUM2MODET(v) NUM2UINT(v)
  20354. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  20355. | #define rb_rlim_t rlim_t
  20356. | #define RLIM2NUM(v) ULONG2NUM(v)
  20357. | #define NUM2RLIM(v) NUM2ULONG(v)
  20358. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  20359. | #define HAVE_PROTOTYPES 1
  20360. | #define TOKEN_PASTE(x,y) x##y
  20361. | #define STRINGIZE(expr) STRINGIZE0(expr)
  20362. | #define HAVE_STDARG_PROTOTYPES 1
  20363. | #define HAVE_VA_ARGS_MACRO 1
  20364. | #define NORETURN(x) __attribute__ ((noreturn)) x
  20365. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  20366. | #define NOINLINE(x) __attribute__ ((noinline)) x
  20367. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  20368. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  20369. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  20370. | #define HAVE_GCC_SYNC_BUILTINS 1
  20371. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  20372. | #define HAVE_DECL_SYS_NERR 1
  20373. | #define HAVE_LIBCRYPT 1
  20374. | #define HAVE_LIBDL 1
  20375. | #define HAVE_LIBRT 1
  20376. | #define HAVE_DIRENT_H 1
  20377. | #define HAVE__BOOL 1
  20378. | #define HAVE_STDBOOL_H 1
  20379. | #define HAVE_SYS_WAIT_H 1
  20380. | #define HAVE_LIMITS_H 1
  20381. | #define HAVE_SYS_FILE_H 1
  20382. | #define HAVE_SYS_IOCTL_H 1
  20383. | #define HAVE_SYS_SYSCALL_H 1
  20384. | #define HAVE_FCNTL_H 1
  20385. | #define HAVE_SYS_FCNTL_H 1
  20386. | #define HAVE_SYS_SELECT_H 1
  20387. | #define HAVE_SYS_TIME_H 1
  20388. | #define HAVE_SYS_TIMES_H 1
  20389. | #define HAVE_SYS_PARAM_H 1
  20390. | #define HAVE_SYSCALL_H 1
  20391. | #define HAVE_PWD_H 1
  20392. | #define HAVE_GRP_H 1
  20393. | #define HAVE_A_OUT_H 1
  20394. | #define HAVE_UTIME_H 1
  20395. | #define HAVE_SYS_RESOURCE_H 1
  20396. | #define HAVE_NETINET_IN_SYSTM_H 1
  20397. | #define HAVE_FLOAT_H 1
  20398. | #define HAVE_UCONTEXT_H 1
  20399. | #define HAVE_LANGINFO_H 1
  20400. | #define HAVE_LOCALE_H 1
  20401. | #define HAVE_SYS_SENDFILE_H 1
  20402. | #define HAVE_TIME_H 1
  20403. | #define HAVE_SYS_SOCKET_H 1
  20404. | #define SIZEOF_SIZE_T 8
  20405. | #define SIZEOF_PTRDIFF_T 8
  20406. | #define PRI_SIZE_PREFIX "z"
  20407. | #define PRI_PTRDIFF_PREFIX "t"
  20408. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  20409. | #define HAVE_ST_BLKSIZE 1
  20410. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  20411. | #define HAVE_ST_BLOCKS 1
  20412. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  20413. | #define HAVE_ST_RDEV 1
  20414. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
  20415. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
  20416. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  20417. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  20418. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  20419. | #define HAVE_STRUCT_TIMEVAL 1
  20420. | #define HAVE_STRUCT_TIMESPEC 1
  20421. | #define HAVE_STRUCT_TIMEZONE 1
  20422. | #define HAVE_CLOCKID_T 1
  20423. | #define HAVE_RB_FD_INIT 1
  20424. | #define HAVE_INT8_T 1
  20425. | #define SIZEOF_INT8_T 1
  20426. | #define HAVE_UINT8_T 1
  20427. | #define SIZEOF_UINT8_T 1
  20428. | #define HAVE_INT16_T 1
  20429. | #define SIZEOF_INT16_T 2
  20430. | #define HAVE_UINT16_T 1
  20431. | #define SIZEOF_UINT16_T 2
  20432. | #define HAVE_INT32_T 1
  20433. | #define SIZEOF_INT32_T 4
  20434. | #define HAVE_UINT32_T 1
  20435. | #define SIZEOF_UINT32_T 4
  20436. | #define HAVE_INT64_T 1
  20437. | #define SIZEOF_INT64_T 8
  20438. | #define HAVE_UINT64_T 1
  20439. | #define SIZEOF_UINT64_T 8
  20440. | #define HAVE_INTPTR_T 1
  20441. | #define SIZEOF_INTPTR_T 8
  20442. | #define HAVE_UINTPTR_T 1
  20443. | #define SIZEOF_UINTPTR_T 8
  20444. | #define HAVE_SSIZE_T 1
  20445. | #define SIZEOF_SSIZE_T 8
  20446. | #define STACK_END_ADDRESS __libc_stack_end
  20447. | #define GETGROUPS_T gid_t
  20448. | #define RETSIGTYPE void
  20449. | #define HAVE_ALLOCA_H 1
  20450. | #define HAVE_ALLOCA 1
  20451. | #define HAVE_DUP2 1
  20452. | #define HAVE_MEMMOVE 1
  20453. | #define HAVE_STRERROR 1
  20454. | #define HAVE_STRCHR 1
  20455. | #define HAVE_STRSTR 1
  20456. | #define HAVE_CRYPT 1
  20457. | #define HAVE_FLOCK 1
  20458. | #define HAVE_ISNAN 1
  20459. | #define HAVE_FINITE 1
  20460. | #define HAVE_ISINF 1
  20461. | #define HAVE_HYPOT 1
  20462. | #define HAVE_ACOSH 1
  20463. | #define HAVE_ERF 1
  20464. | #define HAVE_TGAMMA 1
  20465. | #define HAVE_LGAMMA_R 1
  20466. | #define HAVE_CBRT 1
  20467. | #define HAVE_FFS 1
  20468. | #define SPT_TYPE SPT_REUSEARGV
  20469. | #define HAVE_SIGNBIT 1
  20470. | #define HAVE_FMOD 1
  20471. | #define HAVE_KILLPG 1
  20472. | #define HAVE_WAIT4 1
  20473. | #define HAVE_WAITPID 1
  20474. | #define HAVE_FORK 1
  20475. | #define HAVE_SYSCALL 1
  20476. | #define HAVE_CHROOT 1
  20477. | #define HAVE_GETCWD 1
  20478. | #define HAVE_EACCESS 1
  20479. | #define HAVE_TRUNCATE 1
  20480. | #define HAVE_FTRUNCATE 1
  20481. | #define HAVE_FTELLO 1
  20482. | #define HAVE_TIMES 1
  20483. | #define HAVE_UTIMES 1
  20484. | #define HAVE_UTIMENSAT 1
  20485. | #define HAVE_FCNTL 1
  20486. | #define HAVE_LOCKF 1
  20487. | #define HAVE_LSTAT 1
  20488. | #define HAVE_TRUNCATE64 1
  20489. | #define HAVE_FTRUNCATE64 1
  20490. | #define HAVE_FTELLO64 1
  20491. | #define HAVE_FSEEKO 1
  20492. | #define HAVE_FSEEKO64 1
  20493. | #define HAVE_LINK 1
  20494. | #define HAVE_SYMLINK 1
  20495. | #define HAVE_READLINK 1
  20496. | #define HAVE_READDIR_R 1
  20497. | #define HAVE_FSYNC 1
  20498. | #define HAVE_FDATASYNC 1
  20499. | #define HAVE_FCHOWN 1
  20500. | #define HAVE_POSIX_FADVISE 1
  20501. | #define HAVE_SETITIMER 1
  20502. | #define HAVE_SETEUID 1
  20503. | #define HAVE_SETREUID 1
  20504. | #define HAVE_SETRESUID 1
  20505. | #define HAVE_SOCKETPAIR 1
  20506. | #define HAVE_SETEGID 1
  20507. | #define HAVE_SETREGID 1
  20508. | #define HAVE_SETRESGID 1
  20509. | #define HAVE_PAUSE 1
  20510. | #define HAVE_LCHOWN 1
  20511. | #define HAVE_GETPGRP 1
  20512. | #define HAVE_SETPGRP 1
  20513. | #define HAVE_GETPGID 1
  20514. | #define HAVE_SETPGID 1
  20515. | #define HAVE_INITGROUPS 1
  20516. | #define HAVE_GETGROUPS 1
  20517. | #define HAVE_SETGROUPS 1
  20518. | #define HAVE_GETPRIORITY 1
  20519. | #define HAVE_GETRLIMIT 1
  20520. | #define HAVE_SETRLIMIT 1
  20521. | #define HAVE_SYSCONF 1
  20522. | #define HAVE_CLOSE 1
  20523. | #define HAVE_GETGRNAM_R 1
  20524. | #define HAVE_DLOPEN 1
  20525. | #define HAVE_SIGPROCMASK 1
  20526. | #define HAVE_SIGACTION 1
  20527. | #define HAVE__SETJMP 1
  20528. | #define HAVE__LONGJMP 1
  20529. | #define HAVE_SETSID 1
  20530. | #define HAVE_TELLDIR 1
  20531. | #define HAVE_SEEKDIR 1
  20532. | #define HAVE_FCHMOD 1
  20533. | #define HAVE_COSH 1
  20534. | #define HAVE_SINH 1
  20535. | #define HAVE_TANH 1
  20536. | #define HAVE_LOG2 1
  20537. | #define HAVE_ROUND 1
  20538. | #define HAVE_SETUID 1
  20539. | #define HAVE_SETGID 1
  20540. | #define HAVE_SETENV 1
  20541. | #define HAVE_UNSETENV 1
  20542. | #define HAVE_MKTIME 1
  20543. | #define HAVE_TIMEGM 1
  20544. | #define HAVE_GMTIME_R 1
  20545. | #define HAVE_CLOCK_GETTIME 1
  20546. | #define HAVE_GETTIMEOFDAY 1
  20547. | #define HAVE_POLL 1
  20548. | #define HAVE_PPOLL 1
  20549. | #define HAVE_PREAD 1
  20550. | #define HAVE_SENDFILE 1
  20551. | #define HAVE_SHUTDOWN 1
  20552. | #define HAVE_SIGALTSTACK 1
  20553. | #define HAVE_DL_ITERATE_PHDR 1
  20554. | #define RUBY_SETJMP(env) _setjmp(env)
  20555. | #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  20556. | #define RUBY_JMP_BUF jmp_buf
  20557. | #define HAVE_STRUCT_TM_TM_ZONE 1
  20558. | #define HAVE_TM_ZONE 1
  20559. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  20560. | #define HAVE_DAYLIGHT 1
  20561. | #define HAVE_VAR_TIMEZONE 1
  20562. | #define TYPEOF_VAR_TIMEZONE long
  20563. | #define HAVE_TIMEZONE 1
  20564. | #define TIMEZONE_VOID 1
  20565. | #define NEGATIVE_TIME_T 1
  20566. | #define POSIX_SIGNAL 1
  20567. | #define RSHIFT(x,y) ((x)>>(int)(y))
  20568. | #define FILE_READPTR _IO_read_ptr
  20569. | #define FILE_READEND _IO_read_end
  20570. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  20571. | #define HAVE__SC_CLK_TCK 1
  20572. | #define STACK_GROW_DIRECTION -1
  20573. | #define _REENTRANT 1
  20574. | #define _THREAD_SAFE 1
  20575. | #define HAVE_LIBPTHREAD 1
  20576. | #define HAVE_SCHED_YIELD 1
  20577. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  20578. | #define HAVE_PTHREAD_GETATTR_NP 1
  20579. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  20580. | #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  20581. | #define HAVE_PTHREAD_SIGMASK 1
  20582. | #define HAVE_GETCONTEXT 1
  20583. | #define HAVE_SETCONTEXT 1
  20584. | #define HAVE_BACKTRACE 1
  20585. | /* end confdefs.h. */
  20586. | #include <valgrind/memcheck.h>
  20587. configure:16222: result: no
  20588. configure:16222: checking for valgrind/memcheck.h
  20589. configure:16222: result: no
  20590. configure:16255: checking whether ELF binaries are produced
  20591. configure:16271: gcc -o conftest -O3 -ggdb conftest.c -lpthread -lrt -ldl -lcrypt -lm >&5
  20592. configure:16271: $? = 0
  20593. configure:16285: result: yes
  20594. configure:16322: checking whether OS depend dynamic link works
  20595. configure:16567: result: yes
  20596. configure:16765: checking for strip
  20597. configure:16781: found /usr/bin/strip
  20598. configure:16792: result: strip
  20599. configure:17152: checking for prefix of external symbols
  20600. configure:17169: gcc -c -O3 -ggdb -fPIC conftest.c >&5
  20601. configure:17169: $? = 0
  20602. configure:17181: result: NONE
  20603. configure:17374: checking pthread.h usability
  20604. configure:17374: gcc -c -O3 -ggdb -fPIC conftest.c >&5
  20605. configure:17374: $? = 0
  20606. configure:17374: result: yes
  20607. configure:17374: checking pthread.h presence
  20608. configure:17374: gcc -E conftest.c
  20609. configure:17374: $? = 0
  20610. configure:17374: result: yes
  20611. configure:17374: checking for pthread.h
  20612. configure:17374: result: yes
  20613. configure:17404: checking for if make is GNU make
  20614. configure:17421: result: yes
  20615. configure:17934: checking for nroff
  20616. configure:17953: found /usr/bin/nroff
  20617. configure:17965: result: /usr/bin/nroff
  20618. configure:18036: result: ruby library version = 1.9.1
  20619. configure:18217: creating ./config.status
  20620.  
  20621. ## ---------------------- ##
  20622. ## Running config.status. ##
  20623. ## ---------------------- ##
  20624.  
  20625. This file was extended by config.status, which was
  20626. generated by GNU Autoconf 2.69. Invocation command line was
  20627.  
  20628. CONFIG_FILES =
  20629. CONFIG_HEADERS =
  20630. CONFIG_LINKS =
  20631. CONFIG_COMMANDS =
  20632. $ ./config.status
  20633.  
  20634. on T1000U
  20635.  
  20636. config.status:883: creating Makefile
  20637. config.status:883: creating ruby-1.9.pc
  20638.  
  20639. ## ---------------- ##
  20640. ## Cache variables. ##
  20641. ## ---------------- ##
  20642.  
  20643. ac_cv_build=x86_64-pc-linux-gnu
  20644. ac_cv_c_bigendian=no
  20645. ac_cv_c_char_unsigned=no
  20646. ac_cv_c_compiler_gnu=yes
  20647. ac_cv_c_const=yes
  20648. ac_cv_c_inline=inline
  20649. ac_cv_c_volatile=yes
  20650. ac_cv_cxx_compiler_gnu=yes
  20651. ac_cv_env_CCC_set=
  20652. ac_cv_env_CCC_value=
  20653. ac_cv_env_CC_set=
  20654. ac_cv_env_CC_value=
  20655. ac_cv_env_CFLAGS_set=
  20656. ac_cv_env_CFLAGS_value=
  20657. ac_cv_env_CPPFLAGS_set=
  20658. ac_cv_env_CPPFLAGS_value=
  20659. ac_cv_env_CPP_set=
  20660. ac_cv_env_CPP_value=
  20661. ac_cv_env_CXXFLAGS_set=
  20662. ac_cv_env_CXXFLAGS_value=
  20663. ac_cv_env_CXX_set=
  20664. ac_cv_env_CXX_value=
  20665. ac_cv_env_LDFLAGS_set=
  20666. ac_cv_env_LDFLAGS_value=
  20667. ac_cv_env_LIBS_set=
  20668. ac_cv_env_LIBS_value=
  20669. ac_cv_env_build_alias_set=
  20670. ac_cv_env_build_alias_value=
  20671. ac_cv_env_host_alias_set=
  20672. ac_cv_env_host_alias_value=
  20673. ac_cv_env_target_alias_set=
  20674. ac_cv_env_target_alias_value=
  20675. ac_cv_func___builtin_setjmp=no
  20676. ac_cv_func___syscall=no
  20677. ac_cv_func__longjmp=yes
  20678. ac_cv_func__setjmp=yes
  20679. ac_cv_func_acosh=yes
  20680. ac_cv_func_alloca_works=yes
  20681. ac_cv_func_backtrace=yes
  20682. ac_cv_func_cbrt=yes
  20683. ac_cv_func_chroot=yes
  20684. ac_cv_func_chsize=no
  20685. ac_cv_func_clock_gettime=yes
  20686. ac_cv_func_close=yes
  20687. ac_cv_func_cosh=yes
  20688. ac_cv_func_crypt=yes
  20689. ac_cv_func_daemon=no
  20690. ac_cv_func_dl_iterate_phdr=yes
  20691. ac_cv_func_dlopen=yes
  20692. ac_cv_func_dup2=yes
  20693. ac_cv_func_eaccess=yes
  20694. ac_cv_func_erf=yes
  20695. ac_cv_func_fchmod=yes
  20696. ac_cv_func_fchown=yes
  20697. ac_cv_func_fcntl=yes
  20698. ac_cv_func_fdatasync=yes
  20699. ac_cv_func_ffs=yes
  20700. ac_cv_func_finite=yes
  20701. ac_cv_func_flock=yes
  20702. ac_cv_func_fmod=yes
  20703. ac_cv_func_fork=yes
  20704. ac_cv_func_fseeko64=yes
  20705. ac_cv_func_fseeko=yes
  20706. ac_cv_func_fsync=yes
  20707. ac_cv_func_ftello64=yes
  20708. ac_cv_func_ftello=yes
  20709. ac_cv_func_ftruncate64=yes
  20710. ac_cv_func_ftruncate=yes
  20711. ac_cv_func_getcontext=yes
  20712. ac_cv_func_getcwd=yes
  20713. ac_cv_func_getgrnam_r=yes
  20714. ac_cv_func_getgroups=yes
  20715. ac_cv_func_getpgid=yes
  20716. ac_cv_func_getpgrp=yes
  20717. ac_cv_func_getpriority=yes
  20718. ac_cv_func_getrlimit=yes
  20719. ac_cv_func_gettimeofday=yes
  20720. ac_cv_func_gmtime_r=yes
  20721. ac_cv_func_hypot=yes
  20722. ac_cv_func_initgroups=yes
  20723. ac_cv_func_isinf=yes
  20724. ac_cv_func_isnan=yes
  20725. ac_cv_func_issetugid=no
  20726. ac_cv_func_killpg=yes
  20727. ac_cv_func_lchmod=no
  20728. ac_cv_func_lchown=yes
  20729. ac_cv_func_lgamma_r=yes
  20730. ac_cv_func_link=yes
  20731. ac_cv_func_lockf=yes
  20732. ac_cv_func_log2=yes
  20733. ac_cv_func_lstat=yes
  20734. ac_cv_func_memcmp_working=yes
  20735. ac_cv_func_memmove=yes
  20736. ac_cv_func_mktime=yes
  20737. ac_cv_func_pause=yes
  20738. ac_cv_func_poll=yes
  20739. ac_cv_func_posix_fadvise=yes
  20740. ac_cv_func_ppoll=yes
  20741. ac_cv_func_pread=yes
  20742. ac_cv_func_pthread_attr_get_np=no
  20743. ac_cv_func_pthread_attr_getstack=yes
  20744. ac_cv_func_pthread_attr_setinheritsched=yes
  20745. ac_cv_func_pthread_condattr_setclock=yes
  20746. ac_cv_func_pthread_get_stackaddr_np=no
  20747. ac_cv_func_pthread_get_stacksize_np=no
  20748. ac_cv_func_pthread_getattr_np=yes
  20749. ac_cv_func_pthread_getthrds_np=no
  20750. ac_cv_func_pthread_sigmask=yes
  20751. ac_cv_func_pthread_stackseg_np=no
  20752. ac_cv_func_readdir_r=yes
  20753. ac_cv_func_readlink=yes
  20754. ac_cv_func_round=yes
  20755. ac_cv_func_sched_yield=yes
  20756. ac_cv_func_seekdir=yes
  20757. ac_cv_func_select_large_fdset=no
  20758. ac_cv_func_sendfile=yes
  20759. ac_cv_func_setcontext=yes
  20760. ac_cv_func_setegid=yes
  20761. ac_cv_func_setenv=yes
  20762. ac_cv_func_seteuid=yes
  20763. ac_cv_func_setgid=yes
  20764. ac_cv_func_setgroups=yes
  20765. ac_cv_func_setitimer=yes
  20766. ac_cv_func_setpgid=yes
  20767. ac_cv_func_setpgrp=yes
  20768. ac_cv_func_setproctitle=no
  20769. ac_cv_func_setregid=yes
  20770. ac_cv_func_setresgid=yes
  20771. ac_cv_func_setresuid=yes
  20772. ac_cv_func_setreuid=yes
  20773. ac_cv_func_setrgid=no
  20774. ac_cv_func_setrlimit=yes
  20775. ac_cv_func_setruid=no
  20776. ac_cv_func_setsid=yes
  20777. ac_cv_func_setuid=yes
  20778. ac_cv_func_shutdown=yes
  20779. ac_cv_func_sigaction=yes
  20780. ac_cv_func_sigaltstack=yes
  20781. ac_cv_func_sigprocmask=yes
  20782. ac_cv_func_sigsetjmp=no
  20783. ac_cv_func_sinh=yes
  20784. ac_cv_func_socketpair=yes
  20785. ac_cv_func_spawnv=no
  20786. ac_cv_func_strchr=yes
  20787. ac_cv_func_strerror=yes
  20788. ac_cv_func_strlcat=no
  20789. ac_cv_func_strlcpy=no
  20790. ac_cv_func_strstr=yes
  20791. ac_cv_func_symlink=yes
  20792. ac_cv_func_syscall=yes
  20793. ac_cv_func_sysconf=yes
  20794. ac_cv_func_tanh=yes
  20795. ac_cv_func_telldir=yes
  20796. ac_cv_func_tgamma=yes
  20797. ac_cv_func_thr_stksegment=no
  20798. ac_cv_func_timegm=yes
  20799. ac_cv_func_times=yes
  20800. ac_cv_func_timezone=yes
  20801. ac_cv_func_truncate64=yes
  20802. ac_cv_func_truncate=yes
  20803. ac_cv_func_unsetenv=yes
  20804. ac_cv_func_utimensat=yes
  20805. ac_cv_func_utimes=yes
  20806. ac_cv_func_wait4=yes
  20807. ac_cv_func_waitpid=yes
  20808. ac_cv_have_decl_sys_nerr=yes
  20809. ac_cv_header_a_out_h=yes
  20810. ac_cv_header_atomic_h=no
  20811. ac_cv_header_direct_h=no
  20812. ac_cv_header_dirent_dirent_h=yes
  20813. ac_cv_header_fcntl_h=yes
  20814. ac_cv_header_float_h=yes
  20815. ac_cv_header_grp_h=yes
  20816. ac_cv_header_ieeefp_h=no
  20817. ac_cv_header_intrinsics_h=no
  20818. ac_cv_header_inttypes_h=yes
  20819. ac_cv_header_langinfo_h=yes
  20820. ac_cv_header_limits_h=yes
  20821. ac_cv_header_locale_h=yes
  20822. ac_cv_header_memory_h=yes
  20823. ac_cv_header_minix_config_h=no
  20824. ac_cv_header_net_socket_h=no
  20825. ac_cv_header_netinet_in_systm_h=yes
  20826. ac_cv_header_process_h=no
  20827. ac_cv_header_pthread_h=yes
  20828. ac_cv_header_pthread_np_h=no
  20829. ac_cv_header_pwd_h=yes
  20830. ac_cv_header_stdbool_h=yes
  20831. ac_cv_header_stdc=yes
  20832. ac_cv_header_stdint_h=yes
  20833. ac_cv_header_stdlib_h=yes
  20834. ac_cv_header_string_h=yes
  20835. ac_cv_header_strings_h=yes
  20836. ac_cv_header_sys_fcntl_h=yes
  20837. ac_cv_header_sys_file_h=yes
  20838. ac_cv_header_sys_ioctl_h=yes
  20839. ac_cv_header_sys_mkdev_h=no
  20840. ac_cv_header_sys_param_h=yes
  20841. ac_cv_header_sys_pstat_h=no
  20842. ac_cv_header_sys_resource_h=yes
  20843. ac_cv_header_sys_select_h=yes
  20844. ac_cv_header_sys_sendfile_h=yes
  20845. ac_cv_header_sys_socket_h=yes
  20846. ac_cv_header_sys_stat_h=yes
  20847. ac_cv_header_sys_syscall_h=yes
  20848. ac_cv_header_sys_time_h=yes
  20849. ac_cv_header_sys_times_h=yes
  20850. ac_cv_header_sys_types_h=yes
  20851. ac_cv_header_sys_utime_h=no
  20852. ac_cv_header_sys_wait_h=yes
  20853. ac_cv_header_syscall_h=yes
  20854. ac_cv_header_time_h=yes
  20855. ac_cv_header_ucontext_h=yes
  20856. ac_cv_header_unistd_h=yes
  20857. ac_cv_header_utime_h=yes
  20858. ac_cv_header_valgrind_memcheck_h=no
  20859. ac_cv_header_xti_h=no
  20860. ac_cv_host=x86_64-pc-linux-gnu
  20861. ac_cv_lib_crypt_crypt=yes
  20862. ac_cv_lib_dl_dlopen=yes
  20863. ac_cv_lib_dld_shl_load=no
  20864. ac_cv_lib_pthread___pthread_kill=yes
  20865. ac_cv_lib_rt_clock_gettime=yes
  20866. ac_cv_lib_socket_socketpair=no
  20867. ac_cv_lib_thr___pthread_kill=no
  20868. ac_cv_member_struct_stat_st_atim=yes
  20869. ac_cv_member_struct_stat_st_atimensec=no
  20870. ac_cv_member_struct_stat_st_atimespec=no
  20871. ac_cv_member_struct_stat_st_blksize=yes
  20872. ac_cv_member_struct_stat_st_blocks=yes
  20873. ac_cv_member_struct_stat_st_ctim=yes
  20874. ac_cv_member_struct_stat_st_ctimensec=no
  20875. ac_cv_member_struct_stat_st_ctimespec=no
  20876. ac_cv_member_struct_stat_st_mtim=yes
  20877. ac_cv_member_struct_stat_st_mtimensec=no
  20878. ac_cv_member_struct_stat_st_mtimespec=no
  20879. ac_cv_member_struct_stat_st_rdev=yes
  20880. ac_cv_member_struct_tm_tm_zone=yes
  20881. ac_cv_objext=o
  20882. ac_cv_path_EGREP='/bin/grep -E'
  20883. ac_cv_path_GREP=/bin/grep
  20884. ac_cv_path_NROFF=/usr/bin/nroff
  20885. ac_cv_path_install='/usr/bin/install -c'
  20886. ac_cv_path_mkdir=/bin/mkdir
  20887. ac_cv_prog_CPP='gcc -E'
  20888. ac_cv_prog_DOT=dot
  20889. ac_cv_prog_PKG_CONFIG=pkg-config
  20890. ac_cv_prog_ac_ct_AR=ar
  20891. ac_cv_prog_ac_ct_AS=as
  20892. ac_cv_prog_ac_ct_CC=gcc
  20893. ac_cv_prog_ac_ct_CXX=g++
  20894. ac_cv_prog_ac_ct_NM=nm
  20895. ac_cv_prog_ac_ct_OBJCOPY=objcopy
  20896. ac_cv_prog_ac_ct_OBJDUMP=objdump
  20897. ac_cv_prog_ac_ct_RANLIB=ranlib
  20898. ac_cv_prog_ac_ct_STRIP=strip
  20899. ac_cv_prog_cc_c89=
  20900. ac_cv_prog_cc_g=yes
  20901. ac_cv_prog_cxx_g=yes
  20902. ac_cv_prog_gcc_traditional=no
  20903. ac_cv_prog_make_make_set=yes
  20904. ac_cv_safe_to_define___extensions__=yes
  20905. ac_cv_search_opendir='none required'
  20906. ac_cv_sizeof___int64=0
  20907. ac_cv_sizeof_double=8
  20908. ac_cv_sizeof_float=4
  20909. ac_cv_sizeof_int16_t=2
  20910. ac_cv_sizeof_int32_t=4
  20911. ac_cv_sizeof_int64_t=8
  20912. ac_cv_sizeof_int8_t=1
  20913. ac_cv_sizeof_int=4
  20914. ac_cv_sizeof_intptr_t=8
  20915. ac_cv_sizeof_long=8
  20916. ac_cv_sizeof_long_long=8
  20917. ac_cv_sizeof_off_t=8
  20918. ac_cv_sizeof_ptrdiff_t=8
  20919. ac_cv_sizeof_short=2
  20920. ac_cv_sizeof_size_t=8
  20921. ac_cv_sizeof_ssize_t=8
  20922. ac_cv_sizeof_struct_stat_st_blocks=SIZEOF_LONG
  20923. ac_cv_sizeof_struct_stat_st_ino=SIZEOF_LONG
  20924. ac_cv_sizeof_struct_stat_st_size=SIZEOF_LONG
  20925. ac_cv_sizeof_time_t=8
  20926. ac_cv_sizeof_uint16_t=2
  20927. ac_cv_sizeof_uint32_t=4
  20928. ac_cv_sizeof_uint64_t=8
  20929. ac_cv_sizeof_uint8_t=1
  20930. ac_cv_sizeof_uintptr_t=8
  20931. ac_cv_sizeof_voidp=8
  20932. ac_cv_struct_tm=time.h
  20933. ac_cv_sys_file_offset_bits=no
  20934. ac_cv_sys_largefile_CC=no
  20935. ac_cv_target=x86_64-pc-linux-gnu
  20936. ac_cv_type__Bool=yes
  20937. ac_cv_type_clockid_t=yes
  20938. ac_cv_type_dev_t=yes
  20939. ac_cv_type_fd_mask=yes
  20940. ac_cv_type_getgroups=gid_t
  20941. ac_cv_type_gid_t=yes
  20942. ac_cv_type_long_long=yes
  20943. ac_cv_type_mode_t=yes
  20944. ac_cv_type_off_t=yes
  20945. ac_cv_type_pid_t=yes
  20946. ac_cv_type_rlim_t=yes
  20947. ac_cv_type_signal=void
  20948. ac_cv_type_size_t=yes
  20949. ac_cv_type_struct_timespec=yes
  20950. ac_cv_type_struct_timeval=yes
  20951. ac_cv_type_struct_timezone=yes
  20952. ac_cv_type_time_t=yes
  20953. ac_cv_type_uid_t=yes
  20954. ac_cv_working_alloca_h=yes
  20955. rb_cv_binary_elf=yes
  20956. rb_cv_broken_glibc_ia64_erfc=no
  20957. rb_cv_char_bit=8
  20958. rb_cv_cppoutfile=yes
  20959. rb_cv_dev_t_convertible=ULONG
  20960. rb_cv_dlopen=yes
  20961. rb_cv_dynamic_alloca=ok
  20962. rb_cv_fcnt='not found'
  20963. rb_cv_fork_with_pthread=yes
  20964. rb_cv_frend=_IO_read_end
  20965. rb_cv_frptr=_IO_read_ptr
  20966. rb_cv_func_cdecl=x
  20967. rb_cv_func_deprecated='__attribute__ ((deprecated)) x'
  20968. rb_cv_func_exported='__attribute__ ((visibility("default")))'
  20969. rb_cv_func_fastcall=x
  20970. rb_cv_func_noinline='__attribute__ ((noinline)) x'
  20971. rb_cv_func_noreturn='__attribute__ ((noreturn)) x'
  20972. rb_cv_func_stdcall=x
  20973. rb_cv_func_timezone_void=yes
  20974. rb_cv_gcc_atomic_builtins=yes
  20975. rb_cv_gcc_function_alias=alias
  20976. rb_cv_gcc_sync_builtins=yes
  20977. rb_cv_gid_t_convertible=UINT
  20978. rb_cv_have_daylight=yes
  20979. rb_cv_have_prototypes=yes
  20980. rb_cv_have_sc_clk_tck=yes
  20981. rb_cv_have_signbit=yes
  20982. rb_cv_large_fd_select=yes
  20983. rb_cv_localtime_overflow=yes
  20984. rb_cv_member_struct_tm_tm_gmtoff=yes
  20985. rb_cv_mode_t_convertible=UINT
  20986. rb_cv_negative_time_t=yes
  20987. rb_cv_pid_t_convertible=INT
  20988. rb_cv_pri_prefix_long_long=ll
  20989. rb_cv_pri_prefix_ptrdiff_t=t
  20990. rb_cv_pri_prefix_size_t=z
  20991. rb_cv_prog_gnu_ld=yes
  20992. rb_cv_rlim_t_convertible=ULONG
  20993. rb_cv_rshift_sign=yes
  20994. rb_cv_stack_end_address=__libc_stack_end
  20995. rb_cv_stack_grow_dir_x86_64=-1
  20996. rb_cv_stdarg=yes
  20997. rb_cv_string_literal_concatenation=yes
  20998. rb_cv_stringization='#expr'
  20999. rb_cv_symbol_prefix=NONE
  21000. rb_cv_target_archs=x86_64
  21001. rb_cv_time_t_convertible=LONG
  21002. rb_cv_tokenpaste=ansi
  21003. rb_cv_type_int128_t=no
  21004. rb_cv_type_int16_t=yes
  21005. rb_cv_type_int32_t=yes
  21006. rb_cv_type_int64_t=yes
  21007. rb_cv_type_int8_t=yes
  21008. rb_cv_type_intptr_t=yes
  21009. rb_cv_type_ssize_t=yes
  21010. rb_cv_type_uint128_t=no
  21011. rb_cv_type_uint16_t=yes
  21012. rb_cv_type_uint32_t=yes
  21013. rb_cv_type_uint64_t=yes
  21014. rb_cv_type_uint8_t=yes
  21015. rb_cv_type_uintptr_t=yes
  21016. rb_cv_uid_t_convertible=UINT
  21017. rb_cv_unsetenv_return_value=yes
  21018. rb_cv_va_args_macro=yes
  21019. rb_cv_var_altzone=no
  21020. rb_cv_var_timezone=long
  21021. rb_cv_warnflags='-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration'
  21022.  
  21023. ## ----------------- ##
  21024. ## Output variables. ##
  21025. ## ----------------- ##
  21026.  
  21027. ALLOCA=''
  21028. AR='ar'
  21029. ARCHFILE=''
  21030. ARCH_FLAG=''
  21031. AS='as'
  21032. ASFLAGS=''
  21033. BASERUBY='ruby'
  21034. BUILTIN_ENCOBJS=' ascii.$(OBJEXT) us_ascii.$(OBJEXT) unicode.$(OBJEXT) utf_8.$(OBJEXT)'
  21035. BUILTIN_TRANSOBJS=' newline.$(OBJEXT)'
  21036. BUILTIN_TRANSSRCS=' newline.c'
  21037. CAPITARGET='nodoc'
  21038. CC='gcc'
  21039. CCDLFLAGS='-fPIC'
  21040. CFLAGS='${cflags} -fPIC'
  21041. CHDIR='cd -P'
  21042. COMMON_HEADERS=''
  21043. COMMON_LIBS=''
  21044. COMMON_MACROS=''
  21045. COUTFLAG='-o '
  21046. CP='cp'
  21047. CPP='$(CC) -E'
  21048. CPPFLAGS=' $(DEFS) ${cppflags}'
  21049. CPPOUTFILE='-o conftest.i'
  21050. CXX='g++'
  21051. CXXFLAGS='${cxxflags}'
  21052. DEFS=''
  21053. DLDFLAGS=''
  21054. DLDLIBS=' -lc'
  21055. DLEXT2=''
  21056. DLEXT='so'
  21057. DLLWRAP=''
  21058. DOT='dot'
  21059. DOXYGEN=''
  21060. ECHO_C=''
  21061. ECHO_N='-n'
  21062. ECHO_T=''
  21063. EGREP='/bin/grep -E'
  21064. ENABLE_SHARED='yes'
  21065. EXECUTABLE_EXTS=''
  21066. EXEEXT=''
  21067. EXPORT_PREFIX=''
  21068. EXTDLDFLAGS=''
  21069. EXTOUT='.ext'
  21070. EXTSTATIC=''
  21071. GCC='yes'
  21072. GNU_LD='yes'
  21073. GREP='/bin/grep'
  21074. INSTALLDOC='nodoc'
  21075. INSTALL_DATA='${INSTALL} -m 644'
  21076. INSTALL_PROGRAM='${INSTALL}'
  21077. INSTALL_SCRIPT='${INSTALL}'
  21078. LDFLAGS='-L. -rdynamic -Wl,-export-dynamic'
  21079. LDSHARED='$(CC) -shared'
  21080. LDSHAREDXX='$(CXX) -shared'
  21081. LIBEXT='a'
  21082. LIBOBJS=' ${LIBOBJDIR}strlcpy$U.o ${LIBOBJDIR}strlcat$U.o ${LIBOBJDIR}setproctitle$U.o ${LIBOBJDIR}addr2line$U.o'
  21083. LIBPATHENV='LD_LIBRARY_PATH'
  21084. LIBPATHFLAG=' -L%1$-s'
  21085. LIBRUBY='$(LIBRUBY_SO)'
  21086. LIBRUBYARG='$(LIBRUBYARG_SHARED)'
  21087. LIBRUBYARG_SHARED='-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)'
  21088. LIBRUBYARG_STATIC='-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static'
  21089. LIBRUBY_A='lib$(RUBY_SO_NAME)-static.a'
  21090. LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
  21091. LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)'
  21092. LIBRUBY_LDSHARED='$(CC) -shared'
  21093. LIBRUBY_RELATIVE='no'
  21094. LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR).$(TEENY)'
  21095. LIBS='-lpthread -lrt -ldl -lcrypt -lm '
  21096. LINK_SO=''
  21097. LN_S='ln -s'
  21098. LTLIBOBJS=' ${LIBOBJDIR}strlcpy$U.lo ${LIBOBJDIR}strlcat$U.lo ${LIBOBJDIR}setproctitle$U.lo ${LIBOBJDIR}addr2line$U.lo'
  21099. MAINLIBS=''
  21100. MAJOR='1'
  21101. MAKEDIRS='/bin/mkdir -p'
  21102. MAKEFILES='Makefile'
  21103. MANTYPE='doc'
  21104. MINIOBJS='dmydln.o'
  21105. MINIRUBY='./miniruby$(EXEEXT) -I$(srcdir)/lib -I. -I$(EXTOUT)/common'
  21106. MINOR='9'
  21107. MKDIR_P='/bin/mkdir -p'
  21108. NM='nm'
  21109. NROFF='/usr/bin/nroff'
  21110. NULLCMD=':'
  21111. OBJCOPY=':'
  21112. OBJDUMP='objdump'
  21113. OBJEXT='o'
  21114. OUTFLAG='-o '
  21115. PACKAGE='ruby'
  21116. PACKAGE_BUGREPORT=''
  21117. PACKAGE_NAME=''
  21118. PACKAGE_STRING=''
  21119. PACKAGE_TARNAME=''
  21120. PACKAGE_URL=''
  21121. PACKAGE_VERSION=''
  21122. PATH_SEPARATOR=':'
  21123. PKG_CONFIG='pkg-config'
  21124. PLATFORM_DIR=''
  21125. POSTLINK=':'
  21126. PREP='miniruby$(EXEEXT)'
  21127. RANLIB='ranlib'
  21128. RDOCTARGET='nodoc'
  21129. RI_BASE_NAME='ri'
  21130. RM='rm -f'
  21131. RMALL='rm -fr'
  21132. RMDIR='rmdir --ignore-fail-on-non-empty'
  21133. RMDIRS='rmdir --ignore-fail-on-non-empty -p'
  21134. RPATHFLAG=' -Wl,-R%1$-s'
  21135. RUBYW_BASE_NAME='rubyw'
  21136. RUBYW_INSTALL_NAME=''
  21137. RUBY_BASE_NAME='ruby'
  21138. RUBY_INSTALL_NAME='$(RUBY_BASE_NAME)'
  21139. RUBY_PROGRAM_VERSION='1.9.3'
  21140. RUBY_RELEASE_DATE='2014-11-13'
  21141. RUBY_SO_NAME='$(RUBY_BASE_NAME)'
  21142. RUNRUBY='$(MINIRUBY) $(srcdir)/tool/runruby.rb --extout=$(EXTOUT)'
  21143. SET_MAKE=''
  21144. SHELL='/bin/bash'
  21145. SOLIBS='$(LIBS)'
  21146. STATIC=''
  21147. STRIP='strip -S -x'
  21148. SYMBOL_PREFIX=''
  21149. TEENY='1'
  21150. TEST_RUNNABLE='yes'
  21151. THREAD_MODEL='pthread'
  21152. TRY_LINK=''
  21153. UNIVERSAL_ARCHNAMES=''
  21154. UNIVERSAL_INTS=''
  21155. USE_RUBYGEMS='YES'
  21156. WERRORFLAG='-Werror'
  21157. WINDRES=''
  21158. XCFLAGS='-include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT'
  21159. XLDFLAGS=''
  21160. XRUBY='$(RUNRUBY)'
  21161. XRUBY_LIBDIR=''
  21162. XRUBY_RUBYHDRDIR=''
  21163. XRUBY_RUBYLIBDIR=''
  21164. ac_ct_CC='gcc'
  21165. ac_ct_CXX='g++'
  21166. ac_ct_OBJCOPY='objcopy'
  21167. ac_ct_OBJDUMP='objdump'
  21168. arch='x86_64-linux'
  21169. bindir='${exec_prefix}/bin'
  21170. build='x86_64-pc-linux-gnu'
  21171. build_alias=''
  21172. build_cpu='x86_64'
  21173. build_os='linux-gnu'
  21174. build_vendor='pc'
  21175. cflags=' ${optflags} ${debugflags} ${warnflags}'
  21176. codesign=''
  21177. configure_args=' '\''--prefix=/home/medir/.rvm/rubies/ruby-1.9.3-p551'\'' '\''--disable-install-doc'\'' '\''--enable-shared'\'''
  21178. cppflags=''
  21179. cxxflags=' ${optflags} ${debugflags} ${warnflags}'
  21180. datadir='${datarootdir}'
  21181. datarootdir='${prefix}/share'
  21182. debugflags='-ggdb'
  21183. docdir='${datarootdir}/doc/${PACKAGE}'
  21184. dvidir='${docdir}'
  21185. exec='exec'
  21186. exec_prefix='${prefix}'
  21187. host='x86_64-pc-linux-gnu'
  21188. host_alias=''
  21189. host_cpu='x86_64'
  21190. host_os='linux-gnu'
  21191. host_vendor='pc'
  21192. htmldir='${docdir}'
  21193. includedir='${prefix}/include'
  21194. infodir='${datarootdir}/info'
  21195. libdir='${exec_prefix}/lib'
  21196. libexecdir='${exec_prefix}/libexec'
  21197. localedir='${datarootdir}/locale'
  21198. localstatedir='${prefix}/var'
  21199. mandir='${datarootdir}/man'
  21200. oldincludedir='/usr/include'
  21201. optflags='-O3'
  21202. pdfdir='${docdir}'
  21203. prefix='/home/medir/.rvm/rubies/ruby-1.9.3-p551'
  21204. program_transform_name='s&^&&'
  21205. psdir='${docdir}'
  21206. ridir='${datarootdir}/${RI_BASE_NAME}'
  21207. ruby_pc='ruby-1.9.pc'
  21208. ruby_version='1.9.1'
  21209. rubyhdrdir='${includedir}/${RUBY_BASE_NAME}-${ruby_version}'
  21210. rubylibprefix='${libdir}/${RUBY_BASE_NAME}'
  21211. rubyw_install_name=''
  21212. sbindir='${exec_prefix}/sbin'
  21213. setup='Setup'
  21214. sharedstatedir='${prefix}/com'
  21215. sitearch='${arch}'
  21216. sitedir='${rubylibprefix}/site_ruby'
  21217. sitehdrdir='${rubyhdrdir}/site_ruby'
  21218. sysconfdir='${prefix}/etc'
  21219. target='x86_64-pc-linux-gnu'
  21220. target_alias=''
  21221. target_cpu='x86_64'
  21222. target_os='linux'
  21223. target_vendor='pc'
  21224. try_header=''
  21225. vendordir='${rubylibprefix}/vendor_ruby'
  21226. vendorhdrdir='${rubyhdrdir}/vendor_ruby'
  21227. warnflags='-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration'
  21228.  
  21229. configure: exit 0
Add Comment
Please, Sign In to add comment