config.log 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3. It was created by libusb configure 1.0.16-rc10, which was
  4. generated by GNU Autoconf 2.69. Invocation command line was
  5. $ ./configure --disable-option-checking --prefix=/usr/local --enable-ants3 --cache-file=/dev/null --srcdir=.
  6. ## --------- ##
  7. ## Platform. ##
  8. ## --------- ##
  9. hostname = OpenWrt
  10. uname -m = x86_64
  11. uname -r = 4.4.0-201-generic
  12. uname -s = Linux
  13. uname -v = #233-Ubuntu SMP Thu Jan 14 06:10:28 UTC 2021
  14. /usr/bin/uname -p = unknown
  15. /bin/uname -X = unknown
  16. /bin/arch = unknown
  17. /usr/bin/arch -k = unknown
  18. /usr/convex/getsysinfo = unknown
  19. /usr/bin/hostinfo = unknown
  20. /bin/machine = unknown
  21. /usr/bin/oslevel = unknown
  22. /bin/universe = unknown
  23. PATH: /home/wareck/bin
  24. PATH: /home/wareck/.local/bin
  25. PATH: /usr/local/sbin
  26. PATH: /usr/local/bin
  27. PATH: /usr/sbin
  28. PATH: /usr/bin
  29. PATH: /sbin
  30. PATH: /bin
  31. PATH: /usr/games
  32. PATH: /usr/local/games
  33. PATH: /snap/bin
  34. ## ----------- ##
  35. ## Core tests. ##
  36. ## ----------- ##
  37. configure:2423: checking for a BSD-compatible install
  38. configure:2491: result: /usr/bin/install -c
  39. configure:2502: checking whether build environment is sane
  40. configure:2557: result: yes
  41. configure:2708: checking for a thread-safe mkdir -p
  42. configure:2747: result: /bin/mkdir -p
  43. configure:2754: checking for gawk
  44. configure:2770: found /usr/bin/gawk
  45. configure:2781: result: gawk
  46. configure:2792: checking whether make sets $(MAKE)
  47. configure:2814: result: yes
  48. configure:2843: checking whether make supports nested variables
  49. configure:2860: result: yes
  50. configure:2987: checking whether to enable maintainer-specific portions of Makefiles
  51. configure:2996: result: no
  52. configure:3025: checking whether make supports nested variables
  53. configure:3042: result: yes
  54. configure:3103: checking for gcc
  55. configure:3119: found /usr/bin/gcc
  56. configure:3130: result: gcc
  57. configure:3359: checking for C compiler version
  58. configure:3368: gcc --version >&5
  59. gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
  60. Copyright (C) 2015 Free Software Foundation, Inc.
  61. This is free software; see the source for copying conditions. There is NO
  62. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  63. configure:3379: $? = 0
  64. configure:3368: gcc -v >&5
  65. Using built-in specs.
  66. COLLECT_GCC=gcc
  67. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
  68. Target: x86_64-linux-gnu
  69. Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --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
  70. Thread model: posix
  71. gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
  72. configure:3379: $? = 0
  73. configure:3368: gcc -V >&5
  74. gcc: error: unrecognized command line option '-V'
  75. gcc: fatal error: no input files
  76. compilation terminated.
  77. configure:3379: $? = 1
  78. configure:3368: gcc -qversion >&5
  79. gcc: error: unrecognized command line option '-qversion'
  80. gcc: fatal error: no input files
  81. compilation terminated.
  82. configure:3379: $? = 1
  83. configure:3399: checking whether the C compiler works
  84. configure:3421: gcc conftest.c >&5
  85. configure:3425: $? = 0
  86. configure:3473: result: yes
  87. configure:3476: checking for C compiler default output file name
  88. configure:3478: result: a.out
  89. configure:3484: checking for suffix of executables
  90. configure:3491: gcc -o conftest conftest.c >&5
  91. configure:3495: $? = 0
  92. configure:3517: result:
  93. configure:3539: checking whether we are cross compiling
  94. configure:3547: gcc -o conftest conftest.c >&5
  95. configure:3551: $? = 0
  96. configure:3558: ./conftest
  97. configure:3562: $? = 0
  98. configure:3577: result: no
  99. configure:3582: checking for suffix of object files
  100. configure:3604: gcc -c conftest.c >&5
  101. configure:3608: $? = 0
  102. configure:3629: result: o
  103. configure:3633: checking whether we are using the GNU C compiler
  104. configure:3652: gcc -c conftest.c >&5
  105. configure:3652: $? = 0
  106. configure:3661: result: yes
  107. configure:3670: checking whether gcc accepts -g
  108. configure:3690: gcc -c -g conftest.c >&5
  109. configure:3690: $? = 0
  110. configure:3731: result: yes
  111. configure:3748: checking for gcc option to accept ISO C89
  112. configure:3811: gcc -c -g -O2 conftest.c >&5
  113. configure:3811: $? = 0
  114. configure:3824: result: none needed
  115. configure:3849: checking whether gcc understands -c and -o together
  116. configure:3871: gcc -c conftest.c -o conftest2.o
  117. configure:3874: $? = 0
  118. configure:3871: gcc -c conftest.c -o conftest2.o
  119. configure:3874: $? = 0
  120. configure:3886: result: yes
  121. configure:3914: checking for style of include used by make
  122. configure:3942: result: GNU
  123. configure:3968: checking dependency style of gcc
  124. configure:4079: result: gcc3
  125. configure:4123: checking build system type
  126. configure:4137: result: x86_64-pc-linux-gnu
  127. configure:4157: checking host system type
  128. configure:4170: result: x86_64-pc-linux-gnu
  129. configure:4211: checking how to print strings
  130. configure:4238: result: printf
  131. configure:4259: checking for a sed that does not truncate output
  132. configure:4323: result: /bin/sed
  133. configure:4341: checking for grep that handles long lines and -e
  134. configure:4399: result: /bin/grep
  135. configure:4404: checking for egrep
  136. configure:4466: result: /bin/grep -E
  137. configure:4471: checking for fgrep
  138. configure:4533: result: /bin/grep -F
  139. configure:4568: checking for ld used by gcc
  140. configure:4635: result: /usr/bin/ld
  141. configure:4642: checking if the linker (/usr/bin/ld) is GNU ld
  142. configure:4657: result: yes
  143. configure:4669: checking for BSD- or MS-compatible name lister (nm)
  144. configure:4723: result: /usr/bin/nm -B
  145. configure:4853: checking the name lister (/usr/bin/nm -B) interface
  146. configure:4860: gcc -c -g -O2 conftest.c >&5
  147. configure:4863: /usr/bin/nm -B "conftest.o"
  148. configure:4866: output
  149. 0000000000000000 B some_variable
  150. configure:4873: result: BSD nm
  151. configure:4876: checking whether ln -s works
  152. configure:4880: result: yes
  153. configure:4888: checking the maximum length of command line arguments
  154. configure:5019: result: 1572864
  155. configure:5067: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
  156. configure:5107: result: func_convert_file_noop
  157. configure:5114: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
  158. configure:5134: result: func_convert_file_noop
  159. configure:5141: checking for /usr/bin/ld option to reload object files
  160. configure:5148: result: -r
  161. configure:5222: checking for objdump
  162. configure:5238: found /usr/bin/objdump
  163. configure:5249: result: objdump
  164. configure:5281: checking how to recognize dependent libraries
  165. configure:5481: result: pass_all
  166. configure:5566: checking for dlltool
  167. configure:5596: result: no
  168. configure:5626: checking how to associate runtime and link libraries
  169. configure:5653: result: printf %s\n
  170. configure:5714: checking for ar
  171. configure:5730: found /usr/bin/ar
  172. configure:5741: result: ar
  173. configure:5778: checking for archiver @FILE support
  174. configure:5795: gcc -c -g -O2 conftest.c >&5
  175. configure:5795: $? = 0
  176. configure:5798: ar cru libconftest.a @conftest.lst >&5
  177. ar: `u' modifier ignored since `D' is the default (see `U')
  178. configure:5801: $? = 0
  179. configure:5806: ar cru libconftest.a @conftest.lst >&5
  180. ar: `u' modifier ignored since `D' is the default (see `U')
  181. ar: conftest.o: No such file or directory
  182. configure:5809: $? = 1
  183. configure:5821: result: @
  184. configure:5879: checking for strip
  185. configure:5895: found /usr/bin/strip
  186. configure:5906: result: strip
  187. configure:5978: checking for ranlib
  188. configure:5994: found /usr/bin/ranlib
  189. configure:6005: result: ranlib
  190. configure:6107: checking command to parse /usr/bin/nm -B output from gcc object
  191. configure:6260: gcc -c -g -O2 conftest.c >&5
  192. configure:6263: $? = 0
  193. configure:6267: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
  194. configure:6270: $? = 0
  195. configure:6336: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
  196. configure:6339: $? = 0
  197. configure:6377: result: ok
  198. configure:6424: checking for sysroot
  199. configure:6454: result: no
  200. configure:6461: checking for a working dd
  201. configure:6499: result: /bin/dd
  202. configure:6503: checking how to truncate binary pipes
  203. configure:6518: result: /bin/dd bs=4096 count=1
  204. configure:6654: gcc -c -g -O2 conftest.c >&5
  205. configure:6657: $? = 0
  206. configure:6847: checking for mt
  207. configure:6863: found /bin/mt
  208. configure:6874: result: mt
  209. configure:6897: checking if mt is a manifest tool
  210. configure:6903: mt '-?'
  211. configure:6911: result: no
  212. configure:7588: checking how to run the C preprocessor
  213. configure:7619: gcc -E conftest.c
  214. configure:7619: $? = 0
  215. configure:7633: gcc -E conftest.c
  216. conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  217. compilation terminated.
  218. configure:7633: $? = 1
  219. configure: failed program was:
  220. | /* confdefs.h */
  221. | #define PACKAGE_NAME "libusb"
  222. | #define PACKAGE_TARNAME "libusb"
  223. | #define PACKAGE_VERSION "1.0.16-rc10"
  224. | #define PACKAGE_STRING "libusb 1.0.16-rc10"
  225. | #define PACKAGE_BUGREPORT "libusb-devel@lists.sourceforge.net"
  226. | #define PACKAGE_URL "http://www.libusb.org/"
  227. | #define PACKAGE "libusb"
  228. | #define VERSION "1.0.16-rc10"
  229. | /* end confdefs.h. */
  230. | #include <ac_nonexistent.h>
  231. configure:7658: result: gcc -E
  232. configure:7678: gcc -E conftest.c
  233. configure:7678: $? = 0
  234. configure:7692: gcc -E conftest.c
  235. conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  236. compilation terminated.
  237. configure:7692: $? = 1
  238. configure: failed program was:
  239. | /* confdefs.h */
  240. | #define PACKAGE_NAME "libusb"
  241. | #define PACKAGE_TARNAME "libusb"
  242. | #define PACKAGE_VERSION "1.0.16-rc10"
  243. | #define PACKAGE_STRING "libusb 1.0.16-rc10"
  244. | #define PACKAGE_BUGREPORT "libusb-devel@lists.sourceforge.net"
  245. | #define PACKAGE_URL "http://www.libusb.org/"
  246. | #define PACKAGE "libusb"
  247. | #define VERSION "1.0.16-rc10"
  248. | /* end confdefs.h. */
  249. | #include <ac_nonexistent.h>
  250. configure:7721: checking for ANSI C header files
  251. configure:7741: gcc -c -g -O2 conftest.c >&5
  252. configure:7741: $? = 0
  253. configure:7814: gcc -o conftest -g -O2 conftest.c >&5
  254. configure:7814: $? = 0
  255. configure:7814: ./conftest
  256. configure:7814: $? = 0
  257. configure:7825: result: yes
  258. configure:7838: checking for sys/types.h
  259. configure:7838: gcc -c -g -O2 conftest.c >&5
  260. configure:7838: $? = 0
  261. configure:7838: result: yes
  262. configure:7838: checking for sys/stat.h
  263. configure:7838: gcc -c -g -O2 conftest.c >&5
  264. configure:7838: $? = 0
  265. configure:7838: result: yes
  266. configure:7838: checking for stdlib.h
  267. configure:7838: gcc -c -g -O2 conftest.c >&5
  268. configure:7838: $? = 0
  269. configure:7838: result: yes
  270. configure:7838: checking for string.h
  271. configure:7838: gcc -c -g -O2 conftest.c >&5
  272. configure:7838: $? = 0
  273. configure:7838: result: yes
  274. configure:7838: checking for memory.h
  275. configure:7838: gcc -c -g -O2 conftest.c >&5
  276. configure:7838: $? = 0
  277. configure:7838: result: yes
  278. configure:7838: checking for strings.h
  279. configure:7838: gcc -c -g -O2 conftest.c >&5
  280. configure:7838: $? = 0
  281. configure:7838: result: yes
  282. configure:7838: checking for inttypes.h
  283. configure:7838: gcc -c -g -O2 conftest.c >&5
  284. configure:7838: $? = 0
  285. configure:7838: result: yes
  286. configure:7838: checking for stdint.h
  287. configure:7838: gcc -c -g -O2 conftest.c >&5
  288. configure:7838: $? = 0
  289. configure:7838: result: yes
  290. configure:7838: checking for unistd.h
  291. configure:7838: gcc -c -g -O2 conftest.c >&5
  292. configure:7838: $? = 0
  293. configure:7838: result: yes
  294. configure:7852: checking for dlfcn.h
  295. configure:7852: gcc -c -g -O2 conftest.c >&5
  296. configure:7852: $? = 0
  297. configure:7852: result: yes
  298. configure:8108: checking for objdir
  299. configure:8123: result: .libs
  300. configure:8387: checking if gcc supports -fno-rtti -fno-exceptions
  301. configure:8405: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
  302. cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
  303. configure:8409: $? = 0
  304. configure:8422: result: no
  305. configure:8780: checking for gcc option to produce PIC
  306. configure:8787: result: -fPIC -DPIC
  307. configure:8795: checking if gcc PIC flag -fPIC -DPIC works
  308. configure:8813: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
  309. configure:8817: $? = 0
  310. configure:8830: result: yes
  311. configure:8859: checking if gcc static flag -static works
  312. configure:8887: result: yes
  313. configure:8902: checking if gcc supports -c -o file.o
  314. configure:8923: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
  315. configure:8927: $? = 0
  316. configure:8949: result: yes
  317. configure:8957: checking if gcc supports -c -o file.o
  318. configure:9004: result: yes
  319. configure:9037: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  320. configure:10300: result: yes
  321. configure:10337: checking whether -lc should be explicitly linked in
  322. configure:10345: gcc -c -g -O2 conftest.c >&5
  323. configure:10348: $? = 0
  324. configure:10363: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
  325. configure:10366: $? = 0
  326. configure:10380: result: no
  327. configure:10540: checking dynamic linker characteristics
  328. configure:11121: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
  329. configure:11121: $? = 0
  330. configure:11370: result: GNU/Linux ld.so
  331. configure:11492: checking how to hardcode library paths into programs
  332. configure:11517: result: immediate
  333. configure:12065: checking whether stripping libraries is possible
  334. configure:12070: result: yes
  335. configure:12105: checking if libtool supports shared libraries
  336. configure:12107: result: yes
  337. configure:12110: checking whether to build shared libraries
  338. configure:12135: result: yes
  339. configure:12138: checking whether to build static libraries
  340. configure:12142: result: yes
  341. configure:12222: checking for windres
  342. configure:12252: result: no
  343. configure:12349: checking for inline
  344. configure:12365: gcc -c -g -O2 conftest.c >&5
  345. configure:12365: $? = 0
  346. configure:12373: result: inline
  347. configure:12398: checking operating system
  348. configure:12402: result: Linux
  349. configure:12441: checking for clock_gettime in -lrt
  350. configure:12466: gcc -o conftest -g -O2 conftest.c -lrt >&5
  351. configure:12466: $? = 0
  352. configure:12475: result: yes
  353. configure:12492: checking libudev.h usability
  354. configure:12492: gcc -c -g -O2 conftest.c >&5
  355. configure:12492: $? = 0
  356. configure:12492: result: yes
  357. configure:12492: checking libudev.h presence
  358. configure:12492: gcc -E conftest.c
  359. configure:12492: $? = 0
  360. configure:12492: result: yes
  361. configure:12492: checking for libudev.h
  362. configure:12492: result: yes
  363. configure:12504: checking for udev_new in -ludev
  364. configure:12529: gcc -o conftest -g -O2 conftest.c -ludev >&5
  365. configure:12529: $? = 0
  366. configure:12538: result: yes
  367. configure:12577: checking poll.h usability
  368. configure:12577: gcc -c -g -O2 conftest.c >&5
  369. configure:12577: $? = 0
  370. configure:12577: result: yes
  371. configure:12577: checking poll.h presence
  372. configure:12577: gcc -E conftest.c
  373. configure:12577: $? = 0
  374. configure:12577: result: yes
  375. configure:12577: checking for poll.h
  376. configure:12577: result: yes
  377. configure:12717: checking sys/timerfd.h usability
  378. configure:12717: gcc -c -g -O2 conftest.c >&5
  379. configure:12717: $? = 0
  380. configure:12717: result: yes
  381. configure:12717: checking sys/timerfd.h presence
  382. configure:12717: gcc -E conftest.c
  383. configure:12717: $? = 0
  384. configure:12717: result: yes
  385. configure:12717: checking for sys/timerfd.h
  386. configure:12717: result: yes
  387. configure:12737: checking whether TFD_NONBLOCK is declared
  388. configure:12737: gcc -c -g -O2 conftest.c >&5
  389. configure:12737: $? = 0
  390. configure:12737: result: yes
  391. configure:12749: checking whether to use timerfd for timing
  392. configure:12756: result: yes
  393. configure:12767: checking for struct timespec
  394. configure:12767: gcc -c -g -O2 conftest.c >&5
  395. configure:12767: $? = 0
  396. configure:12767: gcc -c -g -O2 conftest.c >&5
  397. conftest.c: In function 'main':
  398. conftest.c:68:30: error: expected expression before ')' token
  399. if (sizeof ((struct timespec)))
  400. ^
  401. configure:12767: $? = 1
  402. configure: failed program was:
  403. | /* confdefs.h */
  404. | #define PACKAGE_NAME "libusb"
  405. | #define PACKAGE_TARNAME "libusb"
  406. | #define PACKAGE_VERSION "1.0.16-rc10"
  407. | #define PACKAGE_STRING "libusb 1.0.16-rc10"
  408. | #define PACKAGE_BUGREPORT "libusb-devel@lists.sourceforge.net"
  409. | #define PACKAGE_URL "http://www.libusb.org/"
  410. | #define PACKAGE "libusb"
  411. | #define VERSION "1.0.16-rc10"
  412. | #define STDC_HEADERS 1
  413. | #define HAVE_SYS_TYPES_H 1
  414. | #define HAVE_SYS_STAT_H 1
  415. | #define HAVE_STDLIB_H 1
  416. | #define HAVE_STRING_H 1
  417. | #define HAVE_MEMORY_H 1
  418. | #define HAVE_STRINGS_H 1
  419. | #define HAVE_INTTYPES_H 1
  420. | #define HAVE_STDINT_H 1
  421. | #define HAVE_UNISTD_H 1
  422. | #define HAVE_DLFCN_H 1
  423. | #define LT_OBJDIR ".libs/"
  424. | #define _GNU_SOURCE 1
  425. | #define OS_LINUX 1
  426. | #define HAVE_LIBUDEV_H 1
  427. | #define HAVE_LIBUDEV 1
  428. | #define USE_UDEV 1
  429. | #define HAVE_POLL_H 1
  430. | #define POLL_NFDS_TYPE nfds_t
  431. | #define THREADS_POSIX 1
  432. | #define USBI_TIMERFD_AVAILABLE 1
  433. | /* end confdefs.h. */
  434. | #include <stdio.h>
  435. | #ifdef HAVE_SYS_TYPES_H
  436. | # include <sys/types.h>
  437. | #endif
  438. | #ifdef HAVE_SYS_STAT_H
  439. | # include <sys/stat.h>
  440. | #endif
  441. | #ifdef STDC_HEADERS
  442. | # include <stdlib.h>
  443. | # include <stddef.h>
  444. | #else
  445. | # ifdef HAVE_STDLIB_H
  446. | # include <stdlib.h>
  447. | # endif
  448. | #endif
  449. | #ifdef HAVE_STRING_H
  450. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  451. | # include <memory.h>
  452. | # endif
  453. | # include <string.h>
  454. | #endif
  455. | #ifdef HAVE_STRINGS_H
  456. | # include <strings.h>
  457. | #endif
  458. | #ifdef HAVE_INTTYPES_H
  459. | # include <inttypes.h>
  460. | #endif
  461. | #ifdef HAVE_STDINT_H
  462. | # include <stdint.h>
  463. | #endif
  464. | #ifdef HAVE_UNISTD_H
  465. | # include <unistd.h>
  466. | #endif
  467. | int
  468. | main ()
  469. | {
  470. | if (sizeof ((struct timespec)))
  471. | return 0;
  472. | ;
  473. | return 0;
  474. | }
  475. configure:12767: result: yes
  476. configure:12837: gcc -c -g -O2 -Werror -fvisibility=hidden conftest.c >&5
  477. configure:12837: $? = 0
  478. configure:12865: gcc -c -g -O2 -Wno-pointer-sign conftest.c >&5
  479. configure:12865: $? = 0
  480. configure:12874: checking for sigaction
  481. configure:12874: gcc -o conftest -g -O2 conftest.c -ludev -pthread >&5
  482. configure:12874: $? = 0
  483. configure:12874: result: yes
  484. configure:12893: checking sys/time.h usability
  485. configure:12893: gcc -c -g -O2 conftest.c >&5
  486. configure:12893: $? = 0
  487. configure:12893: result: yes
  488. configure:12893: checking sys/time.h presence
  489. configure:12893: gcc -E conftest.c
  490. configure:12893: $? = 0
  491. configure:12893: result: yes
  492. configure:12893: checking for sys/time.h
  493. configure:12893: result: yes
  494. configure:12905: checking for gettimeofday
  495. configure:12905: gcc -o conftest -g -O2 conftest.c -ludev -pthread >&5
  496. configure:12905: $? = 0
  497. configure:12905: result: yes
  498. configure:13035: checking that generated files are newer than configure
  499. configure:13041: result: done
  500. configure:13100: creating ./config.status
  501. ## ---------------------- ##
  502. ## Running config.status. ##
  503. ## ---------------------- ##
  504. This file was extended by libusb config.status 1.0.16-rc10, which was
  505. generated by GNU Autoconf 2.69. Invocation command line was
  506. CONFIG_FILES =
  507. CONFIG_HEADERS =
  508. CONFIG_LINKS =
  509. CONFIG_COMMANDS =
  510. $ ./config.status
  511. on OpenWrt
  512. config.status:1172: creating libusb-1.0.pc
  513. config.status:1172: creating Makefile
  514. config.status:1172: creating libusb/Makefile
  515. config.status:1172: creating config.h
  516. config.status:1353: config.h is unchanged
  517. config.status:1401: executing depfiles commands
  518. config.status:1401: executing libtool commands
  519. ## ---------------- ##
  520. ## Cache variables. ##
  521. ## ---------------- ##
  522. ac_cv_build=x86_64-pc-linux-gnu
  523. ac_cv_c_compiler_gnu=yes
  524. ac_cv_c_inline=inline
  525. ac_cv_env_CC_set=
  526. ac_cv_env_CC_value=
  527. ac_cv_env_CFLAGS_set=
  528. ac_cv_env_CFLAGS_value=
  529. ac_cv_env_CPPFLAGS_set=
  530. ac_cv_env_CPPFLAGS_value=
  531. ac_cv_env_CPP_set=
  532. ac_cv_env_CPP_value=
  533. ac_cv_env_LDFLAGS_set=
  534. ac_cv_env_LDFLAGS_value=
  535. ac_cv_env_LIBS_set=
  536. ac_cv_env_LIBS_value=
  537. ac_cv_env_LT_SYS_LIBRARY_PATH_set=
  538. ac_cv_env_LT_SYS_LIBRARY_PATH_value=
  539. ac_cv_env_build_alias_set=
  540. ac_cv_env_build_alias_value=
  541. ac_cv_env_host_alias_set=
  542. ac_cv_env_host_alias_value=
  543. ac_cv_env_target_alias_set=
  544. ac_cv_env_target_alias_value=
  545. ac_cv_func_gettimeofday=yes
  546. ac_cv_func_sigaction=yes
  547. ac_cv_have_decl_TFD_NONBLOCK=yes
  548. ac_cv_header_dlfcn_h=yes
  549. ac_cv_header_inttypes_h=yes
  550. ac_cv_header_libudev_h=yes
  551. ac_cv_header_memory_h=yes
  552. ac_cv_header_poll_h=yes
  553. ac_cv_header_stdc=yes
  554. ac_cv_header_stdint_h=yes
  555. ac_cv_header_stdlib_h=yes
  556. ac_cv_header_string_h=yes
  557. ac_cv_header_strings_h=yes
  558. ac_cv_header_sys_stat_h=yes
  559. ac_cv_header_sys_time_h=yes
  560. ac_cv_header_sys_timerfd_h=yes
  561. ac_cv_header_sys_types_h=yes
  562. ac_cv_header_unistd_h=yes
  563. ac_cv_host=x86_64-pc-linux-gnu
  564. ac_cv_lib_rt_clock_gettime=yes
  565. ac_cv_lib_udev_udev_new=yes
  566. ac_cv_objext=o
  567. ac_cv_path_EGREP='/bin/grep -E'
  568. ac_cv_path_FGREP='/bin/grep -F'
  569. ac_cv_path_GREP=/bin/grep
  570. ac_cv_path_SED=/bin/sed
  571. ac_cv_path_install='/usr/bin/install -c'
  572. ac_cv_path_lt_DD=/bin/dd
  573. ac_cv_path_mkdir=/bin/mkdir
  574. ac_cv_prog_AWK=gawk
  575. ac_cv_prog_CPP='gcc -E'
  576. ac_cv_prog_ac_ct_AR=ar
  577. ac_cv_prog_ac_ct_CC=gcc
  578. ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
  579. ac_cv_prog_ac_ct_OBJDUMP=objdump
  580. ac_cv_prog_ac_ct_RANLIB=ranlib
  581. ac_cv_prog_ac_ct_STRIP=strip
  582. ac_cv_prog_cc_c89=
  583. ac_cv_prog_cc_g=yes
  584. ac_cv_prog_make_make_set=yes
  585. ac_cv_type_struct_timespec=yes
  586. am_cv_CC_dependencies_compiler_type=gcc3
  587. am_cv_make_support_nested_variables=yes
  588. am_cv_prog_cc_c_o=yes
  589. lt_cv_ar_at_file=@
  590. lt_cv_archive_cmds_need_lc=no
  591. lt_cv_deplibs_check_method=pass_all
  592. lt_cv_file_magic_cmd='$MAGIC_CMD'
  593. lt_cv_file_magic_test_file=
  594. lt_cv_ld_reload_flag=-r
  595. lt_cv_nm_interface='BSD nm'
  596. lt_cv_objdir=.libs
  597. lt_cv_path_LD=/usr/bin/ld
  598. lt_cv_path_NM='/usr/bin/nm -B'
  599. lt_cv_path_mainfest_tool=no
  600. lt_cv_prog_compiler_c_o=yes
  601. lt_cv_prog_compiler_c_o_RC=yes
  602. lt_cv_prog_compiler_pic='-fPIC -DPIC'
  603. lt_cv_prog_compiler_pic_works=yes
  604. lt_cv_prog_compiler_rtti_exceptions=no
  605. lt_cv_prog_compiler_static_works=yes
  606. lt_cv_prog_gnu_ld=yes
  607. lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
  608. lt_cv_shlibpath_overrides_runpath=no
  609. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
  610. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
  611. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
  612. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  613. lt_cv_sys_global_symbol_to_import=
  614. lt_cv_sys_max_cmd_len=1572864
  615. lt_cv_to_host_file_cmd=func_convert_file_noop
  616. lt_cv_to_tool_file_cmd=func_convert_file_noop
  617. lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
  618. ## ----------------- ##
  619. ## Output variables. ##
  620. ## ----------------- ##
  621. ACLOCAL='${SHELL} /home/wareck/cgminer-ants3/compat/libusb-1.0/missing aclocal-1.15'
  622. AMDEPBACKSLASH='\'
  623. AMDEP_FALSE='#'
  624. AMDEP_TRUE=''
  625. AMTAR='$${TAR-tar}'
  626. AM_BACKSLASH='\'
  627. AM_CFLAGS='-std=gnu99 -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -fvisibility=hidden'
  628. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  629. AM_DEFAULT_VERBOSITY='0'
  630. AM_V='$(V)'
  631. AR='ar'
  632. AUTOCONF='${SHELL} /home/wareck/cgminer-ants3/compat/libusb-1.0/missing autoconf'
  633. AUTOHEADER='${SHELL} /home/wareck/cgminer-ants3/compat/libusb-1.0/missing autoheader'
  634. AUTOMAKE='${SHELL} /home/wareck/cgminer-ants3/compat/libusb-1.0/missing automake-1.15'
  635. AWK='gawk'
  636. BUILD_EXAMPLES_FALSE=''
  637. BUILD_EXAMPLES_TRUE='#'
  638. CC='gcc'
  639. CCDEPMODE='depmode=gcc3'
  640. CFLAGS='-g -O2'
  641. CPP='gcc -E'
  642. CPPFLAGS=''
  643. CYGPATH_W='echo'
  644. DEFS='-DHAVE_CONFIG_H'
  645. DEPDIR='.deps'
  646. DLLTOOL='false'
  647. DSYMUTIL=''
  648. DUMPBIN=''
  649. ECHO_C=''
  650. ECHO_N='-n'
  651. ECHO_T=''
  652. EGREP='/bin/grep -E'
  653. EXEEXT=''
  654. FGREP='/bin/grep -F'
  655. GREP='/bin/grep'
  656. HAVE_SIGACTION_FALSE='#'
  657. HAVE_SIGACTION_TRUE=''
  658. INSTALL_DATA='${INSTALL} -m 644'
  659. INSTALL_PROGRAM='${INSTALL}'
  660. INSTALL_SCRIPT='${INSTALL}'
  661. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  662. LD='/usr/bin/ld -m elf_x86_64'
  663. LDFLAGS=''
  664. LIBOBJS=''
  665. LIBS='-ludev -pthread'
  666. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  667. LIPO=''
  668. LN_S='ln -s'
  669. LTLDFLAGS='-version-info 2:0:0 -no-undefined'
  670. LTLIBOBJS=''
  671. LT_SYS_LIBRARY_PATH=''
  672. MAINT='#'
  673. MAINTAINER_MODE_FALSE=''
  674. MAINTAINER_MODE_TRUE='#'
  675. MAKEINFO='${SHELL} /home/wareck/cgminer-ants3/compat/libusb-1.0/missing makeinfo'
  676. MANIFEST_TOOL=':'
  677. MKDIR_P='/bin/mkdir -p'
  678. NM='/usr/bin/nm -B'
  679. NMEDIT=''
  680. OBJDUMP='objdump'
  681. OBJEXT='o'
  682. OS_DARWIN=''
  683. OS_DARWIN_FALSE=''
  684. OS_DARWIN_TRUE='#'
  685. OS_LINUX=''
  686. OS_LINUX_FALSE='#'
  687. OS_LINUX_TRUE=''
  688. OS_OPENBSD=''
  689. OS_OPENBSD_FALSE=''
  690. OS_OPENBSD_TRUE='#'
  691. OS_WINDOWS=''
  692. OS_WINDOWS_FALSE=''
  693. OS_WINDOWS_TRUE='#'
  694. OTOOL64=''
  695. OTOOL=''
  696. PACKAGE='libusb'
  697. PACKAGE_BUGREPORT='libusb-devel@lists.sourceforge.net'
  698. PACKAGE_NAME='libusb'
  699. PACKAGE_STRING='libusb 1.0.16-rc10'
  700. PACKAGE_TARNAME='libusb'
  701. PACKAGE_URL='http://www.libusb.org/'
  702. PACKAGE_VERSION='1.0.16-rc10'
  703. PATH_SEPARATOR=':'
  704. RANLIB='ranlib'
  705. RC=''
  706. SED='/bin/sed'
  707. SET_MAKE=''
  708. SHELL='/bin/bash'
  709. STRIP='strip'
  710. THREADS_POSIX_FALSE='#'
  711. THREADS_POSIX_TRUE=''
  712. USE_UDEV=''
  713. USE_UDEV_FALSE='#'
  714. USE_UDEV_TRUE=''
  715. VERSION='1.0.16-rc10'
  716. ac_ct_AR='ar'
  717. ac_ct_CC='gcc'
  718. ac_ct_DUMPBIN=''
  719. am__EXEEXT_FALSE=''
  720. am__EXEEXT_TRUE='#'
  721. am__fastdepCC_FALSE='#'
  722. am__fastdepCC_TRUE=''
  723. am__include='include'
  724. am__isrc=''
  725. am__leading_dot='.'
  726. am__nodep='_no'
  727. am__quote=''
  728. am__tar='$${TAR-tar} chof - "$$tardir"'
  729. am__untar='$${TAR-tar} xf -'
  730. bindir='${exec_prefix}/bin'
  731. build='x86_64-pc-linux-gnu'
  732. build_alias=''
  733. build_cpu='x86_64'
  734. build_os='linux-gnu'
  735. build_vendor='pc'
  736. datadir='${datarootdir}'
  737. datarootdir='${prefix}/share'
  738. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  739. dvidir='${docdir}'
  740. exec_prefix='${prefix}'
  741. host='x86_64-pc-linux-gnu'
  742. host_alias=''
  743. host_cpu='x86_64'
  744. host_os='linux-gnu'
  745. host_vendor='pc'
  746. htmldir='${docdir}'
  747. includedir='${prefix}/include'
  748. infodir='${datarootdir}/info'
  749. install_sh='${SHELL} /home/wareck/cgminer-ants3/compat/libusb-1.0/install-sh'
  750. libdir='${exec_prefix}/lib'
  751. libexecdir='${exec_prefix}/libexec'
  752. localedir='${datarootdir}/locale'
  753. localstatedir='${prefix}/var'
  754. mandir='${datarootdir}/man'
  755. mkdir_p='$(MKDIR_P)'
  756. oldincludedir='/usr/include'
  757. pdfdir='${docdir}'
  758. prefix='/usr/local'
  759. program_transform_name='s,x,x,'
  760. psdir='${docdir}'
  761. runstatedir='${localstatedir}/run'
  762. sbindir='${exec_prefix}/sbin'
  763. sharedstatedir='${prefix}/com'
  764. sysconfdir='${prefix}/etc'
  765. target_alias=''
  766. ## ----------- ##
  767. ## confdefs.h. ##
  768. ## ----------- ##
  769. /* confdefs.h */
  770. #define PACKAGE_NAME "libusb"
  771. #define PACKAGE_TARNAME "libusb"
  772. #define PACKAGE_VERSION "1.0.16-rc10"
  773. #define PACKAGE_STRING "libusb 1.0.16-rc10"
  774. #define PACKAGE_BUGREPORT "libusb-devel@lists.sourceforge.net"
  775. #define PACKAGE_URL "http://www.libusb.org/"
  776. #define PACKAGE "libusb"
  777. #define VERSION "1.0.16-rc10"
  778. #define STDC_HEADERS 1
  779. #define HAVE_SYS_TYPES_H 1
  780. #define HAVE_SYS_STAT_H 1
  781. #define HAVE_STDLIB_H 1
  782. #define HAVE_STRING_H 1
  783. #define HAVE_MEMORY_H 1
  784. #define HAVE_STRINGS_H 1
  785. #define HAVE_INTTYPES_H 1
  786. #define HAVE_STDINT_H 1
  787. #define HAVE_UNISTD_H 1
  788. #define HAVE_DLFCN_H 1
  789. #define LT_OBJDIR ".libs/"
  790. #define _GNU_SOURCE 1
  791. #define OS_LINUX 1
  792. #define HAVE_LIBUDEV_H 1
  793. #define HAVE_LIBUDEV 1
  794. #define USE_UDEV 1
  795. #define HAVE_POLL_H 1
  796. #define POLL_NFDS_TYPE nfds_t
  797. #define THREADS_POSIX 1
  798. #define USBI_TIMERFD_AVAILABLE 1
  799. #define HAVE_STRUCT_TIMESPEC 1
  800. #define ENABLE_LOGGING 1
  801. #define DEFAULT_VISIBILITY __attribute__((visibility("default")))
  802. #define HAVE_SYS_TIME_H 1
  803. #define HAVE_GETTIMEOFDAY 1
  804. configure: exit 0