Build of hidapi with musl toolchain

The build took 00h 01m 44s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
4,533 makefile
4,361 sh
3,052 ansic
639 cpp
65 objc
12,650 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

List of Errors

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: hidapi 0.8.0rc1-2 (Tue Apr 4 23:28:39 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# + autoreconf --install --verbose --force
# autoreconf: Entering directory `.'
# autoreconf: configure.ac: not using Gettext
# autoreconf: running: aclocal --force -I m4
# autoreconf: configure.ac: tracing
# autoreconf: running: libtoolize --copy --force
# libtoolize: putting auxiliary files in '.'.
# libtoolize: copying file './ltmain.sh'
# libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
# libtoolize: copying file 'm4/libtool.m4'
# libtoolize: copying file 'm4/ltoptions.m4'
# libtoolize: copying file 'm4/ltsugar.m4'
# libtoolize: copying file 'm4/ltversion.m4'
# libtoolize: copying file 'm4/lt~obsolete.m4'
# autoreconf: running: /usr/bin/autoconf --force
# autoreconf: running: /usr/bin/autoheader --force
# autoreconf: running: automake --add-missing --copy --force-missing
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.
# configure.ac:25: installing './ar-lib'
# configure.ac:25: installing './compile'
# configure.ac:26: installing './config.guess'
# configure.ac:26: installing './config.sub'
# configure.ac:22: installing './install-sh'
# configure.ac:22: installing './missing'
# hidtest/Makefile.am: installing './depcomp'
# autoreconf: Leaving directory `.'
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking for style of include used by make... GNU
# checking for x86_64-unknown-linux-gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking whether clang understands -c and -o together... yes
# checking dependency style of clang... gcc3
# checking for x86_64-unknown-linux-ar... no
# checking for x86_64-unknown-linux-lib... no
# checking for x86_64-unknown-linux-link... no
# checking for ar... ar
# configure: WARNING: using cross tools not prefixed with host triplet
# checking the archiver (ar) interface... ar
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking how to print strings... printf
# checking for a sed that does not truncate output... /usr/sbin/sed
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for fgrep... /usr/sbin/grep -F
# checking for ld used by clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/nm -B
# checking the name lister (/sysroot/bin/nm -B) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /sysroot/bin/ld option to reload object files... -r
# checking for x86_64-unknown-linux-objdump... no
# checking for objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for x86_64-unknown-linux-dlltool... no
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for x86_64-unknown-linux-ar... ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... strip
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking command to parse /sysroot/bin/nm -B output from clang object... ok
# checking for sysroot... no
# checking for a working dd... /usr/sbin/dd
# checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1
# checking for x86_64-unknown-linux-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# checking how to run the C preprocessor... clang -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking for dlfcn.h... yes
# checking for objdir... .libs
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... yes
# checking for x86_64-unknown-linux-gcc... (cached) clang
# checking whether we are using the GNU C compiler... (cached) yes
# checking whether clang accepts -g... (cached) yes
# checking for clang option to accept ISO C89... (cached) none needed
# checking whether clang understands -c and -o together... (cached) yes
# checking dependency style of clang... (cached) gcc3
# checking whether we are using the GNU C++ compiler... yes
# checking whether clang++ accepts -g... yes
# checking dependency style of clang++... gcc3
# checking how to run the C++ preprocessor... clang++ -E
# checking for ld used by clang++... /sysroot/bin/ld -m elf_x86_64
# checking if the linker (/sysroot/bin/ld -m elf_x86_64) is GNU ld... yes
# checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking for clang++ option to produce PIC... -fPIC -DPIC
# checking if clang++ PIC flag -fPIC -DPIC works... yes
# checking if clang++ static flag -static works... no
# checking if clang++ supports -c -o file.o... yes
# checking if clang++ supports -c -o file.o... (cached) yes
# checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking dynamic linker characteristics... (cached) GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking for x86_64-unknown-linux-gcc... no
# checking for x86_64-unknown-linux-objcc... no
# checking for x86_64-unknown-linux-objc... no
# checking for x86_64-unknown-linux-cc... no
# checking for x86_64-unknown-linux-CC... no
# checking for gcc... gcc
# checking whether we are using the GNU Objective C compiler... yes
# checking whether gcc accepts -g... yes
# checking dependency style of gcc... gcc3
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... /usr/sbin/pkg-config
# checking pkg-config is at least version 0.9.0... yes
# checking whether make supports nested variables... (cached) yes
# checking operating system... x86_64-unknown-linux-gnu
# (Linux back-end)
# checking for libudev... yes
# checking for clock_gettime in -lrt... yes
# checking for libusb... yes
# checking for the pthreads library -lpthreads... no
# checking whether pthreads work without any flags... yes
# checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
# checking if more special flags are required for pthreads... no
# checking for PTHREAD_PRIO_INHERIT... yes
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating pc/hidapi-hidraw.pc
# config.status: creating pc/hidapi-libusb.pc
# config.status: creating Makefile
# config.status: creating hidtest/Makefile
# config.status: creating libusb/Makefile
# config.status: creating linux/Makefile
# config.status: creating mac/Makefile
# config.status: creating testgui/Makefile
# config.status: creating windows/Makefile
# config.status: creating config.h
# config.status: executing depfiles commands
# config.status: executing libtool commands
# make all-recursive
# make[1]: Entering directory '/tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1'
# Making all in linux
# make[2]: Entering directory '/tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1/linux'
# CC hid.lo
# hid.c:41:10: fatal error: 'linux/hidraw.h' file not found
# #include
# ^
# 1 error generated.
# make[2]: *** [Makefile:461: hid.lo] Error 1
# make[2]: Leaving directory '/tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1/linux'
# make[1]: *** [Makefile:553: all-recursive] Error 1
# make[1]: Leaving directory '/tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1'
# make: *** [Makefile:437: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by hidapi configure 0.8.0-rc1, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 1f554d2a4b15
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2413: checking for a BSD-compatible install
# configure:2481: result: /usr/bin/install -c
# configure:2492: checking whether build environment is sane
# configure:2547: result: yes
# configure:2606: checking for x86_64-unknown-linux-strip
# configure:2636: result: no
# configure:2646: checking for strip
# configure:2662: found /sysroot/bin/strip
# configure:2673: result: strip
# configure:2698: checking for a thread-safe mkdir -p
# configure:2737: result: /usr/sbin/mkdir -p
# configure:2744: checking for gawk
# configure:2760: found /usr/sbin/gawk
# configure:2771: result: gawk
# configure:2782: checking whether make sets $(MAKE)
# configure:2804: result: yes
# configure:2833: checking whether make supports nested variables
# configure:2850: result: yes
# configure:2990: checking for style of include used by make
# configure:3018: result: GNU
# configure:3049: checking for x86_64-unknown-linux-gcc
# configure:3076: result: clang
# configure:3345: checking for C compiler version
# configure:3354: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3365: $? = 0
# configure:3354: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:3365: $? = 0
# configure:3354: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3365: $? = 1
# configure:3354: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3365: $? = 1
# configure:3385: checking whether the C compiler works
# configure:3407: clang conftest.c >&5
# configure:3411: $? = 0
# configure:3459: result: yes
# configure:3462: checking for C compiler default output file name
# configure:3464: result: a.out
# configure:3470: checking for suffix of executables
# configure:3477: clang -o conftest conftest.c >&5
# configure:3481: $? = 0
# configure:3503: result:
# configure:3525: checking whether we are cross compiling
# configure:3533: clang -o conftest conftest.c >&5
# configure:3537: $? = 0
# configure:3544: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3548: $? = 127
# configure:3563: result: yes
# configure:3568: checking for suffix of object files
# configure:3590: clang -c conftest.c >&5
# configure:3594: $? = 0
# configure:3615: result: o
# configure:3619: checking whether we are using the GNU C compiler
# configure:3638: clang -c conftest.c >&5
# configure:3638: $? = 0
# configure:3647: result: yes
# configure:3656: checking whether clang accepts -g
# configure:3676: clang -c -g conftest.c >&5
# configure:3676: $? = 0
# configure:3717: result: yes
# configure:3734: checking for clang option to accept ISO C89
# configure:3797: clang -c conftest.c >&5
# configure:3797: $? = 0
# configure:3810: result: none needed
# configure:3835: checking whether clang understands -c and -o together
# configure:3857: clang -c conftest.c -o conftest2.o
# configure:3860: $? = 0
# configure:3857: clang -c conftest.c -o conftest2.o
# configure:3860: $? = 0
# configure:3872: result: yes
# configure:3891: checking dependency style of clang
# configure:4002: result: gcc3
# configure:4023: checking for x86_64-unknown-linux-ar
# configure:4053: result: no
# configure:4023: checking for x86_64-unknown-linux-lib
# configure:4053: result: no
# configure:4023: checking for x86_64-unknown-linux-link
# configure:4053: result: no
# configure:4067: checking for ar
# configure:4083: found /sysroot/bin/ar
# configure:4094: result: ar
# configure:4110: WARNING: using cross tools not prefixed with host triplet
# configure:4120: checking the archiver (ar) interface
# configure:4136: clang -c conftest.c >&5
# configure:4136: $? = 0
# configure:4138: ar cru libconftest.a conftest.o >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:4141: $? = 0
# configure:4169: result: ar
# configure:4218: checking build system type
# configure:4232: result: x86_64-unknown-linux-gnu
# configure:4252: checking host system type
# configure:4265: result: x86_64-unknown-linux-gnu
# configure:4306: checking how to print strings
# configure:4333: result: printf
# configure:4354: checking for a sed that does not truncate output
# configure:4418: result: /usr/sbin/sed
# configure:4436: checking for grep that handles long lines and -e
# configure:4494: result: /usr/sbin/grep
# configure:4499: checking for egrep
# configure:4561: result: /usr/sbin/grep -E
# configure:4566: checking for fgrep
# configure:4628: result: /usr/sbin/grep -F
# configure:4663: checking for ld used by clang
# configure:4730: result: /sysroot/bin/ld
# configure:4737: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:4752: result: yes
# configure:4764: checking for BSD- or MS-compatible name lister (nm)
# configure:4818: result: /sysroot/bin/nm -B
# configure:4948: checking the name lister (/sysroot/bin/nm -B) interface
# configure:4955: clang -c conftest.c >&5
# configure:4958: /sysroot/bin/nm -B "conftest.o"
# configure:4961: output
# 0000000000000000 B some_variable
# configure:4968: result: BSD nm
# configure:4971: checking whether ln -s works
# configure:4975: result: yes
# configure:4983: checking the maximum length of command line arguments
# configure:5114: result: 1572864
# configure:5162: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:5202: result: func_convert_file_noop
# configure:5209: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:5229: result: func_convert_file_noop
# configure:5236: checking for /sysroot/bin/ld option to reload object files
# configure:5243: result: -r
# configure:5277: checking for x86_64-unknown-linux-objdump
# configure:5307: result: no
# configure:5317: checking for objdump
# configure:5333: found /sysroot/bin/objdump
# configure:5344: result: objdump
# configure:5376: checking how to recognize dependent libraries
# configure:5576: result: pass_all
# configure:5621: checking for x86_64-unknown-linux-dlltool
# configure:5651: result: no
# configure:5661: checking for dlltool
# configure:5691: result: no
# configure:5721: checking how to associate runtime and link libraries
# configure:5748: result: printf %s\n
# configure:5764: checking for x86_64-unknown-linux-ar
# configure:5791: result: ar
# configure:5872: checking for archiver @FILE support
# configure:5889: clang -c conftest.c >&5
# configure:5889: $? = 0
# configure:5892: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:5895: $? = 0
# configure:5900: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# /r: conftest.o: No such file or directory
# configure:5903: $? = 1
# configure:5915: result: @
# configure:5933: checking for x86_64-unknown-linux-strip
# configure:5960: result: strip
# configure:6032: checking for x86_64-unknown-linux-ranlib
# configure:6062: result: no
# configure:6072: checking for ranlib
# configure:6088: found /sysroot/bin/ranlib
# configure:6099: result: ranlib
# configure:6201: checking command to parse /sysroot/bin/nm -B output from clang object
# configure:6354: clang -c conftest.c >&5
# configure:6357: $? = 0
# configure:6361: /sysroot/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
# configure:6364: $? = 0
# configure:6430: clang -o conftest conftest.c conftstm.o >&5
# configure:6433: $? = 0
# configure:6471: result: ok
# configure:6518: checking for sysroot
# configure:6548: result: no
# configure:6555: checking for a working dd
# configure:6593: result: /usr/sbin/dd
# configure:6597: checking how to truncate binary pipes
# configure:6612: result: /usr/sbin/dd bs=4096 count=1
# configure:6748: clang -c conftest.c >&5
# configure:6751: $? = 0
# configure:6901: checking for x86_64-unknown-linux-mt
# configure:6931: result: no
# configure:6941: checking for mt
# configure:6971: result: no
# configure:6991: checking if : is a manifest tool
# configure:6997: : '-?'
# configure:7005: result: no
# configure:7682: checking how to run the C preprocessor
# configure:7713: clang -E conftest.c
# configure:7713: $? = 0
# configure:7727: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7727: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "hidapi"
# | #define PACKAGE_TARNAME "hidapi"
# | #define PACKAGE_VERSION "0.8.0-rc1"
# | #define PACKAGE_STRING "hidapi 0.8.0-rc1"
# | #define PACKAGE_BUGREPORT "alan@signal11.us"
# | #define PACKAGE_URL ""
# | #define PACKAGE "hidapi"
# | #define VERSION "0.8.0-rc1"
# | /* end confdefs.h. */
# | #include
# configure:7752: result: clang -E
# configure:7772: clang -E conftest.c
# configure:7772: $? = 0
# configure:7786: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7786: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "hidapi"
# | #define PACKAGE_TARNAME "hidapi"
# | #define PACKAGE_VERSION "0.8.0-rc1"
# | #define PACKAGE_STRING "hidapi 0.8.0-rc1"
# | #define PACKAGE_BUGREPORT "alan@signal11.us"
# | #define PACKAGE_URL ""
# | #define PACKAGE "hidapi"
# | #define VERSION "0.8.0-rc1"
# | /* end confdefs.h. */
# | #include
# configure:7815: checking for ANSI C header files
# configure:7835: clang -c conftest.c >&5
# configure:7835: $? = 0
# configure:7919: result: yes
# configure:7932: checking for sys/types.h
# configure:7932: clang -c conftest.c >&5
# configure:7932: $? = 0
# configure:7932: result: yes
# configure:7932: checking for sys/stat.h
# configure:7932: clang -c conftest.c >&5
# configure:7932: $? = 0
# configure:7932: result: yes
# configure:7932: checking for stdlib.h
# configure:7932: clang -c conftest.c >&5
# configure:7932: $? = 0
# configure:7932: result: yes
# configure:7932: checking for string.h
# configure:7932: clang -c conftest.c >&5
# configure:7932: $? = 0
# configure:7932: result: yes
# configure:7932: checking for memory.h
# configure:7932: clang -c conftest.c >&5
# configure:7932: $? = 0
# configure:7932: result: yes
# configure:7932: checking for strings.h
# configure:7932: clang -c conftest.c >&5
# configure:7932: $? = 0
# configure:7932: result: yes
# configure:7932: checking for inttypes.h
# configure:7932: clang -c conftest.c >&5
# configure:7932: $? = 0
# configure:7932: result: yes
# configure:7932: checking for stdint.h
# configure:7932: clang -c conftest.c >&5
# configure:7932: $? = 0
# configure:7932: result: yes
# configure:7932: checking for unistd.h
# configure:7932: clang -c conftest.c >&5
# configure:7932: $? = 0
# configure:7932: result: yes
# configure:7946: checking for dlfcn.h
# configure:7946: clang -c conftest.c >&5
# configure:7946: $? = 0
# configure:7946: result: yes
# configure:8202: checking for objdir
# configure:8217: result: .libs
# configure:8481: checking if clang supports -fno-rtti -fno-exceptions
# configure:8499: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:8503: $? = 0
# configure:8516: result: yes
# configure:8874: checking for clang option to produce PIC
# configure:8881: result: -fPIC -DPIC
# configure:8889: checking if clang PIC flag -fPIC -DPIC works
# configure:8907: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:8911: $? = 0
# configure:8924: result: yes
# configure:8953: checking if clang static flag -static works
# configure:8981: result: no
# configure:8996: checking if clang supports -c -o file.o
# configure:9017: clang -c -o out/conftest2.o conftest.c >&5
# configure:9021: $? = 0
# configure:9043: result: yes
# configure:9051: checking if clang supports -c -o file.o
# configure:9098: result: yes
# configure:9131: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:10390: result: yes
# configure:10427: checking whether -lc should be explicitly linked in
# configure:10435: clang -c conftest.c >&5
# configure:10438: $? = 0
# configure:10453: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:10456: $? = 0
# configure:10470: result: no
# configure:10630: checking dynamic linker characteristics
# configure:11211: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:11211: $? = 0
# configure:11448: result: GNU/Linux ld.so
# configure:11570: checking how to hardcode library paths into programs
# configure:11595: result: immediate
# configure:12143: checking whether stripping libraries is possible
# configure:12148: result: yes
# configure:12183: checking if libtool supports shared libraries
# configure:12185: result: yes
# configure:12188: checking whether to build shared libraries
# configure:12213: result: yes
# configure:12216: checking whether to build static libraries
# configure:12220: result: yes
# configure:12266: checking for x86_64-unknown-linux-gcc
# configure:12293: result: clang
# configure:12562: checking for C compiler version
# configure:12571: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:12582: $? = 0
# configure:12571: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:12582: $? = 0
# configure:12571: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:12582: $? = 1
# configure:12571: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:12582: $? = 1
# configure:12586: checking whether we are using the GNU C compiler
# configure:12614: result: yes
# configure:12623: checking whether clang accepts -g
# configure:12684: result: yes
# configure:12701: checking for clang option to accept ISO C89
# configure:12777: result: none needed
# configure:12802: checking whether clang understands -c and -o together
# configure:12839: result: yes
# configure:12858: checking dependency style of clang
# configure:12969: result: gcc3
# configure:13096: checking for C++ compiler version
# configure:13105: clang++ --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:13116: $? = 0
# configure:13105: clang++ -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:13116: $? = 0
# configure:13105: clang++ -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:13116: $? = 1
# configure:13105: clang++ -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:13116: $? = 1
# configure:13120: checking whether we are using the GNU C++ compiler
# configure:13139: clang++ -c conftest.cpp >&5
# configure:13139: $? = 0
# configure:13148: result: yes
# configure:13157: checking whether clang++ accepts -g
# configure:13177: clang++ -c -g conftest.cpp >&5
# configure:13177: $? = 0
# configure:13218: result: yes
# configure:13243: checking dependency style of clang++
# configure:13354: result: gcc3
# configure:13387: checking how to run the C++ preprocessor
# configure:13414: clang++ -E conftest.cpp
# configure:13414: $? = 0
# configure:13428: clang++ -E conftest.cpp
# conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:13428: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "hidapi"
# | #define PACKAGE_TARNAME "hidapi"
# | #define PACKAGE_VERSION "0.8.0-rc1"
# | #define PACKAGE_STRING "hidapi 0.8.0-rc1"
# | #define PACKAGE_BUGREPORT "alan@signal11.us"
# | #define PACKAGE_URL ""
# | #define PACKAGE "hidapi"
# | #define VERSION "0.8.0-rc1"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# | #include
# configure:13453: result: clang++ -E
# configure:13473: clang++ -E conftest.cpp
# configure:13473: $? = 0
# configure:13487: clang++ -E conftest.cpp
# conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:13487: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "hidapi"
# | #define PACKAGE_TARNAME "hidapi"
# | #define PACKAGE_VERSION "0.8.0-rc1"
# | #define PACKAGE_STRING "hidapi 0.8.0-rc1"
# | #define PACKAGE_BUGREPORT "alan@signal11.us"
# | #define PACKAGE_URL ""
# | #define PACKAGE "hidapi"
# | #define VERSION "0.8.0-rc1"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# | #include
# configure:13649: checking for ld used by clang++
# configure:13716: result: /sysroot/bin/ld -m elf_x86_64
# configure:13723: checking if the linker (/sysroot/bin/ld -m elf_x86_64) is GNU ld
# configure:13738: result: yes
# configure:13793: checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:14866: result: yes
# configure:14902: clang++ -c conftest.cpp >&5
# configure:14905: $? = 0
# configure:15386: checking for clang++ option to produce PIC
# configure:15393: result: -fPIC -DPIC
# configure:15401: checking if clang++ PIC flag -fPIC -DPIC works
# configure:15419: clang++ -c -fPIC -DPIC -DPIC conftest.cpp >&5
# configure:15423: $? = 0
# configure:15436: result: yes
# configure:15459: checking if clang++ static flag -static works
# configure:15487: result: no
# configure:15499: checking if clang++ supports -c -o file.o
# configure:15520: clang++ -c -o out/conftest2.o conftest.cpp >&5
# configure:15524: $? = 0
# configure:15546: result: yes
# configure:15551: checking if clang++ supports -c -o file.o
# configure:15598: result: yes
# configure:15628: checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:15668: result: yes
# configure:15809: checking dynamic linker characteristics
# configure:16554: result: GNU/Linux ld.so
# configure:16619: checking how to hardcode library paths into programs
# configure:16644: result: immediate
# configure:16694: checking for x86_64-unknown-linux-gcc
# configure:16724: result: no
# configure:16694: checking for x86_64-unknown-linux-objcc
# configure:16724: result: no
# configure:16694: checking for x86_64-unknown-linux-objc
# configure:16724: result: no
# configure:16694: checking for x86_64-unknown-linux-cc
# configure:16724: result: no
# configure:16694: checking for x86_64-unknown-linux-CC
# configure:16724: result: no
# configure:16738: checking for gcc
# configure:16754: found /usr/sbin/gcc
# configure:16765: result: gcc
# configure:16790: checking for Objective C compiler version
# configure:16799: gcc --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:16810: $? = 0
# configure:16799: gcc -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:16810: $? = 0
# configure:16799: gcc -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:16810: $? = 1
# configure:16799: gcc -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:16810: $? = 1
# configure:16814: checking whether we are using the GNU Objective C compiler
# configure:16833: gcc -c conftest.m >&5
# configure:16833: $? = 0
# configure:16842: result: yes
# configure:16851: checking whether gcc accepts -g
# configure:16871: gcc -c -g conftest.m >&5
# configure:16871: $? = 0
# configure:16912: result: yes
# configure:16937: checking dependency style of gcc
# configure:17046: result: gcc3
# configure:17067: checking for x86_64-unknown-linux-pkg-config
# configure:17100: result: no
# configure:17110: checking for pkg-config
# configure:17128: found /usr/sbin/pkg-config
# configure:17140: result: /usr/sbin/pkg-config
# configure:17165: checking pkg-config is at least version 0.9.0
# configure:17168: result: yes
# configure:17190: checking whether make supports nested variables
# configure:17207: result: yes
# configure:17236: checking operating system
# configure:17238: result: x86_64-unknown-linux-gnu
# configure:17242: result: (Linux back-end)
# configure:17255: checking for libudev
# configure:17263: $PKG_CONFIG --exists --print-errors "libudev"
# configure:17266: $? = 0
# configure:17281: $PKG_CONFIG --exists --print-errors "libudev"
# configure:17284: $? = 0
# configure:17320: result: yes
# configure:17328: checking for clock_gettime in -lrt
# configure:17353: clang -o conftest conftest.c -lrt >&5
# configure:17353: $? = 0
# configure:17362: result: yes
# configure:17372: checking for libusb
# configure:17380: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9"
# configure:17383: $? = 0
# configure:17398: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9"
# configure:17401: $? = 0
# configure:17437: result: yes
# configure:17761: checking for the pthreads library -lpthreads
# configure:17799: clang -o conftest conftest.c -lpthreads >&5
# /sysroot/bin/ld: error: cannot find -lpthreads
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:17799: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "hidapi"
# | #define PACKAGE_TARNAME "hidapi"
# | #define PACKAGE_VERSION "0.8.0-rc1"
# | #define PACKAGE_STRING "hidapi 0.8.0-rc1"
# | #define PACKAGE_BUGREPORT "alan@signal11.us"
# | #define PACKAGE_URL ""
# | #define PACKAGE "hidapi"
# | #define VERSION "0.8.0-rc1"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define OS_LINUX 1
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:17808: result: no
# configure:17706: checking whether pthreads work without any flags
# configure:17799: clang -o conftest conftest.c >&5
# configure:17799: $? = 0
# configure:17808: result: yes
# configure:17827: checking for joinable pthread attribute
# configure:17842: clang -o conftest conftest.c >&5
# configure:17842: $? = 0
# configure:17848: result: PTHREAD_CREATE_JOINABLE
# configure:17858: checking if more special flags are required for pthreads
# configure:17872: result: no
# configure:17878: checking for PTHREAD_PRIO_INHERIT
# configure:17896: clang -o conftest conftest.c >&5
# configure:17896: $? = 0
# configure:17905: result: yes
# configure:18349: checking that generated files are newer than configure
# configure:18355: result: done
# configure:18410: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by hidapi config.status 0.8.0-rc1, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 1f554d2a4b15
#
# config.status:1197: creating pc/hidapi-hidraw.pc
# config.status:1197: creating pc/hidapi-libusb.pc
# config.status:1197: creating Makefile
# config.status:1197: creating hidtest/Makefile
# config.status:1197: creating libusb/Makefile
# config.status:1197: creating linux/Makefile
# config.status:1197: creating mac/Makefile
# config.status:1197: creating testgui/Makefile
# config.status:1197: creating windows/Makefile
# config.status:1197: creating config.h
# config.status:1426: executing depfiles commands
# config.status:1426: executing libtool commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_cxx_compiler_gnu=yes
# ac_cv_env_CCC_set=
# ac_cv_env_CCC_value=
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_CXXCPP_set=
# ac_cv_env_CXXCPP_value=
# ac_cv_env_CXXFLAGS_set=set
# ac_cv_env_CXXFLAGS_value=
# ac_cv_env_CXX_set=set
# ac_cv_env_CXX_value=clang++
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_LT_SYS_LIBRARY_PATH_set=
# ac_cv_env_LT_SYS_LIBRARY_PATH_value=
# ac_cv_env_OBJCFLAGS_set=
# ac_cv_env_OBJCFLAGS_value=
# ac_cv_env_OBJC_set=
# ac_cv_env_OBJC_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_fox_CFLAGS_set=
# ac_cv_env_fox_CFLAGS_value=
# ac_cv_env_fox_LIBS_set=
# ac_cv_env_fox_LIBS_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_libudev_CFLAGS_set=
# ac_cv_env_libudev_CFLAGS_value=
# ac_cv_env_libudev_LIBS_set=
# ac_cv_env_libudev_LIBS_value=
# ac_cv_env_libusb_CFLAGS_set=
# ac_cv_env_libusb_CFLAGS_value=
# ac_cv_env_libusb_LIBS_set=
# ac_cv_env_libusb_LIBS_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_lib_rt_clock_gettime=yes
# ac_cv_objc_compiler_gnu=yes
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_FGREP='/usr/sbin/grep -F'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_SED=/usr/sbin/sed
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-config
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_lt_DD=/usr/sbin/dd
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AR=ar
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_CXXCPP='clang++ -E'
# ac_cv_prog_STRIP=strip
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_OBJC=gcc
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cxx_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_prog_objc_g=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_CXX_dependencies_compiler_type=gcc3
# am_cv_OBJC_dependencies_compiler_type=gcc3
# am_cv_ar_interface=ar
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# ax_cv_PTHREAD_PRIO_INHERIT=yes
# lt_cv_ar_at_file=@
# lt_cv_archive_cmds_need_lc=no
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/sysroot/bin/ld
# lt_cv_path_LDCXX='/sysroot/bin/ld -m elf_x86_64'
# lt_cv_path_NM='/sysroot/bin/nm -B'
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_c_o_CXX=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_pic_works_CXX=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_compiler_static_works_CXX=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_prog_gnu_ldcxx=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=yes
# 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'\'''
# 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'\'''
# 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'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_global_symbol_to_import=
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
# lt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'
# pkg_cv_libudev_CFLAGS=
# pkg_cv_libudev_LIBS=-ludev
# pkg_cv_libusb_CFLAGS=-I/usr/include/libusb-1.0
# pkg_cv_libusb_LIBS=-lusb-1.0
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# AR='ar'
# AUTOCONF='${SHELL} /tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1/missing automake-1.15'
# AWK='gawk'
# BUILD_TESTGUI_FALSE=''
# BUILD_TESTGUI_TRUE='#'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CFLAGS_HIDRAW=' '
# CFLAGS_LIBUSB=' -I/usr/include/libusb-1.0 '
# CFLAGS_TESTGUI=''
# CPP='clang -E'
# CPPFLAGS=''
# CXX='clang++'
# CXXCPP='clang++ -E'
# CXXDEPMODE='depmode=gcc3'
# CXXFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# DLLTOOL='false'
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# FGREP='/usr/sbin/grep -F'
# GREP='/usr/sbin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD='/sysroot/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBS_HIDRAW=' -ludev'
# LIBS_LIBUSB=' -lrt -lusb-1.0'
# LIBS_TESTGUI=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLDFLAGS='-version-info 0:0:0'
# LTLIBOBJS=''
# LT_SYS_LIBRARY_PATH=''
# MAKEINFO='${SHELL} /tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='/sysroot/bin/nm -B'
# NMEDIT=''
# OBJC='gcc'
# OBJCDEPMODE='depmode=gcc3'
# OBJCFLAGS='-g -O2'
# OBJDUMP='objdump'
# OBJEXT='o'
# OS_DARWIN=''
# OS_DARWIN_FALSE=''
# OS_DARWIN_TRUE='#'
# OS_FREEBSD=''
# OS_FREEBSD_FALSE=''
# OS_FREEBSD_TRUE='#'
# OS_LINUX=''
# OS_LINUX_FALSE='#'
# OS_LINUX_TRUE=''
# OS_WINDOWS=''
# OS_WINDOWS_FALSE=''
# OS_WINDOWS_TRUE='#'
# OTOOL64=''
# OTOOL=''
# PACKAGE='hidapi'
# PACKAGE_BUGREPORT='alan@signal11.us'
# PACKAGE_NAME='hidapi'
# PACKAGE_STRING='hidapi 0.8.0-rc1'
# PACKAGE_TARNAME='hidapi'
# PACKAGE_URL=''
# PACKAGE_VERSION='0.8.0-rc1'
# PATH_SEPARATOR=':'
# PKG_CONFIG='/usr/sbin/pkg-config'
# PTHREAD_CC='clang'
# PTHREAD_CFLAGS=''
# PTHREAD_LIBS=''
# RANLIB='ranlib'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='0.8.0-rc1'
# ac_ct_AR='ar'
# ac_ct_CC=''
# ac_ct_CXX=''
# ac_ct_DUMPBIN=''
# ac_ct_OBJC='gcc'
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__fastdepCXX_FALSE='#'
# am__fastdepCXX_TRUE=''
# am__fastdepOBJC_FALSE='#'
# am__fastdepOBJC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# ax_pthread_config=''
# backend='linux'
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# fox_CFLAGS=''
# fox_LIBS=''
# foxconfig=''
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/hidapi/src/hidapi-hidapi-0.8.0-rc1/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# libudev_CFLAGS=''
# libudev_LIBS='-ludev'
# libusb_CFLAGS='-I/usr/include/libusb-1.0'
# libusb_LIBS='-lusb-1.0'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='$(MKDIR_P)'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "hidapi"
# #define PACKAGE_TARNAME "hidapi"
# #define PACKAGE_VERSION "0.8.0-rc1"
# #define PACKAGE_STRING "hidapi 0.8.0-rc1"
# #define PACKAGE_BUGREPORT "alan@signal11.us"
# #define PACKAGE_URL ""
# #define PACKAGE "hidapi"
# #define VERSION "0.8.0-rc1"
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define OS_LINUX 1
# #define HAVE_PTHREAD_PRIO_INHERIT 1
#
# configure: exit 0