libusb 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. data/.travis.yml +2 -2
  2. data/Gemfile +0 -8
  3. data/History.md +5 -0
  4. data/README.md +6 -6
  5. data/Rakefile +9 -9
  6. data/ext/extconf.rb +1 -1
  7. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/AUTHORS +10 -0
  8. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/COPYING +0 -0
  9. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/ChangeLog +17 -9
  10. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/INSTALL +0 -0
  11. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Makefile.am +0 -0
  12. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Makefile.in +153 -178
  13. data/ext/libusb-1.0.18/NEWS +2 -0
  14. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/PORTING +13 -13
  15. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/README +9 -11
  16. data/ext/libusb-1.0.18/TODO +2 -0
  17. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/common.xcconfig +3 -3
  18. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/config.h +0 -0
  19. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/debug.xcconfig +2 -2
  20. data/ext/{libusbx-1.0.17/Xcode/libusbx.xcconfig → libusb-1.0.18/Xcode/libusb.xcconfig} +2 -2
  21. data/ext/libusb-1.0.18/Xcode/libusb.xcodeproj/project.pbxproj +1 -0
  22. data/ext/{libusbx-1.0.17/Xcode/libusbx_debug.xcconfig → libusb-1.0.18/Xcode/libusb_debug.xcconfig} +3 -3
  23. data/ext/{libusbx-1.0.17/Xcode/libusbx_release.xcconfig → libusb-1.0.18/Xcode/libusb_release.xcconfig} +3 -3
  24. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/release.xcconfig +2 -2
  25. data/ext/{libusbx-1.0.17/m4/libtool.m4 → libusb-1.0.18/aclocal.m4} +1731 -27
  26. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/README +0 -0
  27. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/config.h +1 -10
  28. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/Android.mk +0 -0
  29. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/Application.mk +6 -1
  30. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/examples.mk +0 -0
  31. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/libusb.mk +0 -0
  32. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/tests.mk +0 -0
  33. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/compile +3 -7
  34. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/config.guess +19 -24
  35. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/config.h.in +0 -0
  36. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/config.sub +30 -47
  37. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/configure +118 -172
  38. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/configure.ac +24 -2
  39. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/depcomp +186 -268
  40. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/doc/Makefile.am +1 -1
  41. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/doc/Makefile.in +36 -73
  42. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/doc/doxygen.cfg.in +1 -1
  43. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/Makefile.am +0 -0
  44. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/Makefile.in +68 -132
  45. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/dpfp.c +1 -1
  46. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/dpfp_threaded.c +1 -1
  47. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/ezusb.c +57 -26
  48. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/ezusb.h +0 -0
  49. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/fxload.c +3 -3
  50. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/getopt/getopt.c +0 -0
  51. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/getopt/getopt.h +0 -0
  52. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/getopt/getopt1.c +0 -0
  53. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/hotplugtest.c +9 -2
  54. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/listdevs.c +1 -1
  55. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/sam3u_benchmark.c +0 -0
  56. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/xusb.c +20 -4
  57. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/install-sh +7 -7
  58. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb-1.0.pc.in +1 -1
  59. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/Makefile.am +1 -1
  60. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/Makefile.in +94 -134
  61. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/core.c +95 -74
  62. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/descriptor.c +2 -2
  63. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/hotplug.c +3 -3
  64. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/hotplug.h +1 -1
  65. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/io.c +127 -116
  66. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusb-1.0.def +0 -0
  67. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusb-1.0.rc +1 -1
  68. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusb.h +42 -39
  69. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusbi.h +20 -11
  70. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/darwin_usb.c +20 -16
  71. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/darwin_usb.h +1 -1
  72. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_netlink.c +0 -0
  73. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_udev.c +0 -0
  74. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_usbfs.c +15 -12
  75. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_usbfs.h +0 -0
  76. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/netbsd_usb.c +2 -4
  77. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/openbsd_usb.c +5 -2
  78. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_posix.c +0 -0
  79. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_posix.h +0 -0
  80. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_windows.c +2 -2
  81. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_windows.h +0 -0
  82. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_posix.c +1 -1
  83. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_posix.h +1 -1
  84. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_windows.c +1 -1
  85. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_windows.h +1 -1
  86. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/wince_usb.c +1 -2
  87. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/wince_usb.h +2 -2
  88. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/windows_common.h +1 -1
  89. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/windows_usb.c +53 -33
  90. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/windows_usb.h +6 -1
  91. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/strerror.c +2 -2
  92. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/sync.c +6 -6
  93. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/version.h +1 -1
  94. data/ext/libusb-1.0.18/libusb/version_nano.h +1 -0
  95. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/ltmain.sh +3 -3
  96. data/ext/libusb-1.0.18/missing +331 -0
  97. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/Makefile.am +1 -1
  98. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/Makefile.in +69 -127
  99. data/ext/{libusbx-1.0.17/tests/libusbx_testlib.h → libusb-1.0.18/tests/libusb_testlib.h} +15 -15
  100. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/stress.c +16 -16
  101. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/testlib.c +21 -20
  102. data/lib/libusb/version_gem.rb +1 -1
  103. data/libusb.gemspec +1 -6
  104. metadata +117 -135
  105. checksums.yaml +0 -7
  106. checksums.yaml.gz.sig +0 -0
  107. data.tar.gz.sig +0 -0
  108. data/ext/libusbx-1.0.17/NEWS +0 -2
  109. data/ext/libusbx-1.0.17/TODO +0 -2
  110. data/ext/libusbx-1.0.17/Xcode/libusbx.xcodeproj/project.pbxproj +0 -864
  111. data/ext/libusbx-1.0.17/aclocal.m4 +0 -1112
  112. data/ext/libusbx-1.0.17/libusb/version_nano.h +0 -1
  113. data/ext/libusbx-1.0.17/m4/ltoptions.m4 +0 -384
  114. data/ext/libusbx-1.0.17/m4/ltsugar.m4 +0 -123
  115. data/ext/libusbx-1.0.17/m4/ltversion.m4 +0 -23
  116. data/ext/libusbx-1.0.17/m4/lt~obsolete.m4 +0 -98
  117. data/ext/libusbx-1.0.17/missing +0 -215
  118. metadata.gz.sig +0 -0
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Android build config for libusbx
2
+ * Android build config for libusb
3
3
  * Copyright © 2012-2013 RealVNC Ltd. <toby.gray@realvnc.com>
4
4
  *
5
5
  * This library is free software; you can redistribute it and/or
@@ -79,12 +79,3 @@
79
79
 
80
80
  /* Define to 1 if you have the <sys/socket.h> header file. */
81
81
  #define HAVE_SYS_SOCKET_H 1
82
-
83
- /* Add defines which Android is missing */
84
- #ifndef TIMESPEC_TO_TIMEVAL
85
- #define TIMESPEC_TO_TIMEVAL(tv, ts) \
86
- do { \
87
- (tv)->tv_sec = (ts)->tv_sec; \
88
- (tv)->tv_usec = (ts)->tv_nsec / 1000; \
89
- } while (0)
90
- #endif
@@ -16,4 +16,9 @@
16
16
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
17
  #
18
18
 
19
- APP_ABI := armeabi armeabi-v7a x86
19
+ APP_ABI := all
20
+
21
+ # Workaround for MIPS toolchain linker being unable to find liblog dependency
22
+ # of shared object in NDK versions at least up to r9.
23
+ #
24
+ APP_LDFLAGS := -llog
@@ -1,9 +1,10 @@
1
1
  #! /bin/sh
2
2
  # Wrapper for compilers which do not understand '-c -o'.
3
3
 
4
- scriptversion=2012-10-14.11; # UTC
4
+ scriptversion=2012-03-05.13; # UTC
5
5
 
6
- # Copyright (C) 1999-2013 Free Software Foundation, Inc.
6
+ # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
7
+ # Software Foundation, Inc.
7
8
  # Written by Tom Tromey <tromey@cygnus.com>.
8
9
  #
9
10
  # This program is free software; you can redistribute it and/or modify
@@ -112,11 +113,6 @@ func_cl_dashl ()
112
113
  lib=$dir/$lib.lib
113
114
  break
114
115
  fi
115
- if test -f "$dir/lib$lib.a"; then
116
- found=yes
117
- lib=$dir/lib$lib.a
118
- break
119
- fi
120
116
  done
121
117
  IFS=$save_IFS
122
118
 
@@ -2,13 +2,13 @@
2
2
  # Attempt to guess a canonical system name.
3
3
  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
4
  # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5
- # 2011, 2012, 2013 Free Software Foundation, Inc.
5
+ # 2011, 2012 Free Software Foundation, Inc.
6
6
 
7
- timestamp='2012-12-29'
7
+ timestamp='2012-02-10'
8
8
 
9
9
  # This file is free software; you can redistribute it and/or modify it
10
10
  # under the terms of the GNU General Public License as published by
11
- # the Free Software Foundation; either version 3 of the License, or
11
+ # the Free Software Foundation; either version 2 of the License, or
12
12
  # (at your option) any later version.
13
13
  #
14
14
  # This program is distributed in the hope that it will be useful, but
@@ -22,17 +22,19 @@ timestamp='2012-12-29'
22
22
  # As a special exception to the GNU General Public License, if you
23
23
  # distribute this file as part of a program that contains a
24
24
  # configuration script generated by Autoconf, you may include it under
25
- # the same distribution terms that you use for the rest of that
26
- # program. This Exception is an additional permission under section 7
27
- # of the GNU General Public License, version 3 ("GPLv3").
25
+ # the same distribution terms that you use for the rest of that program.
26
+
27
+
28
+ # Originally written by Per Bothner. Please send patches (context
29
+ # diff format) to <config-patches@gnu.org> and include a ChangeLog
30
+ # entry.
28
31
  #
29
- # Originally written by Per Bothner.
32
+ # This script attempts to guess a canonical system name similar to
33
+ # config.sub. If it succeeds, it prints the system name on stdout, and
34
+ # exits with 0. Otherwise, it exits with 1.
30
35
  #
31
36
  # You can get the latest version of this script from:
32
37
  # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
33
- #
34
- # Please send patches with a ChangeLog entry to config-patches@gnu.org.
35
-
36
38
 
37
39
  me=`echo "$0" | sed -e 's,.*/,,'`
38
40
 
@@ -53,8 +55,8 @@ GNU config.guess ($timestamp)
53
55
 
54
56
  Originally written by Per Bothner.
55
57
  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
56
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
57
- 2012, 2013 Free Software Foundation, Inc.
58
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
59
+ Free Software Foundation, Inc.
58
60
 
59
61
  This is free software; see the source for copying conditions. There is NO
60
62
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -198,10 +200,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
198
200
  # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
199
201
  echo "${machine}-${os}${release}"
200
202
  exit ;;
201
- *:Bitrig:*:*)
202
- UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
203
- echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
204
- exit ;;
205
203
  *:OpenBSD:*:*)
206
204
  UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
207
205
  echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
@@ -304,7 +302,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
304
302
  arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
305
303
  echo arm-acorn-riscix${UNAME_RELEASE}
306
304
  exit ;;
307
- arm*:riscos:*:*|arm*:RISCOS:*:*)
305
+ arm:riscos:*:*|arm:RISCOS:*:*)
308
306
  echo arm-unknown-riscos
309
307
  exit ;;
310
308
  SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
@@ -803,9 +801,6 @@ EOF
803
801
  i*:CYGWIN*:*)
804
802
  echo ${UNAME_MACHINE}-pc-cygwin
805
803
  exit ;;
806
- *:MINGW64*:*)
807
- echo ${UNAME_MACHINE}-pc-mingw64
808
- exit ;;
809
804
  *:MINGW*:*)
810
805
  echo ${UNAME_MACHINE}-pc-mingw32
811
806
  exit ;;
@@ -1206,9 +1201,6 @@ EOF
1206
1201
  BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1207
1202
  echo i586-pc-haiku
1208
1203
  exit ;;
1209
- x86_64:Haiku:*:*)
1210
- echo x86_64-unknown-haiku
1211
- exit ;;
1212
1204
  SX-4:SUPER-UX:*:*)
1213
1205
  echo sx4-nec-superux${UNAME_RELEASE}
1214
1206
  exit ;;
@@ -1264,7 +1256,7 @@ EOF
1264
1256
  NEO-?:NONSTOP_KERNEL:*:*)
1265
1257
  echo neo-tandem-nsk${UNAME_RELEASE}
1266
1258
  exit ;;
1267
- NSE-*:NONSTOP_KERNEL:*:*)
1259
+ NSE-?:NONSTOP_KERNEL:*:*)
1268
1260
  echo nse-tandem-nsk${UNAME_RELEASE}
1269
1261
  exit ;;
1270
1262
  NSR-?:NONSTOP_KERNEL:*:*)
@@ -1338,6 +1330,9 @@ EOF
1338
1330
  exit ;;
1339
1331
  esac
1340
1332
 
1333
+ #echo '(No uname command or uname output not recognized.)' 1>&2
1334
+ #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1335
+
1341
1336
  eval $set_cc_for_build
1342
1337
  cat >$dummy.c <<EOF
1343
1338
  #ifdef _SEQUENT_
@@ -2,19 +2,23 @@
2
2
  # Configuration validation subroutine script.
3
3
  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
4
  # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5
- # 2011, 2012, 2013 Free Software Foundation, Inc.
5
+ # 2011, 2012 Free Software Foundation, Inc.
6
6
 
7
- timestamp='2012-12-29'
7
+ timestamp='2012-02-10'
8
8
 
9
- # This file is free software; you can redistribute it and/or modify it
10
- # under the terms of the GNU General Public License as published by
11
- # the Free Software Foundation; either version 3 of the License, or
9
+ # This file is (in principle) common to ALL GNU software.
10
+ # The presence of a machine in this file suggests that SOME GNU software
11
+ # can handle that machine. It does not imply ALL GNU software can.
12
+ #
13
+ # This file is free software; you can redistribute it and/or modify
14
+ # it under the terms of the GNU General Public License as published by
15
+ # the Free Software Foundation; either version 2 of the License, or
12
16
  # (at your option) any later version.
13
17
  #
14
- # This program is distributed in the hope that it will be useful, but
15
- # WITHOUT ANY WARRANTY; without even the implied warranty of
16
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
- # General Public License for more details.
18
+ # This program is distributed in the hope that it will be useful,
19
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ # GNU General Public License for more details.
18
22
  #
19
23
  # You should have received a copy of the GNU General Public License
20
24
  # along with this program; if not, see <http://www.gnu.org/licenses/>.
@@ -22,12 +26,11 @@ timestamp='2012-12-29'
22
26
  # As a special exception to the GNU General Public License, if you
23
27
  # distribute this file as part of a program that contains a
24
28
  # configuration script generated by Autoconf, you may include it under
25
- # the same distribution terms that you use for the rest of that
26
- # program. This Exception is an additional permission under section 7
27
- # of the GNU General Public License, version 3 ("GPLv3").
29
+ # the same distribution terms that you use for the rest of that program.
28
30
 
29
31
 
30
- # Please send patches with a ChangeLog entry to config-patches@gnu.org.
32
+ # Please send patches to <config-patches@gnu.org>. Submit a context
33
+ # diff and a properly formatted GNU ChangeLog entry.
31
34
  #
32
35
  # Configuration subroutine to validate and canonicalize a configuration type.
33
36
  # Supply the specified configuration type as an argument.
@@ -71,8 +74,8 @@ version="\
71
74
  GNU config.sub ($timestamp)
72
75
 
73
76
  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
74
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
75
- 2012, 2013 Free Software Foundation, Inc.
77
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
78
+ Free Software Foundation, Inc.
76
79
 
77
80
  This is free software; see the source for copying conditions. There is NO
78
81
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -120,7 +123,7 @@ esac
120
123
  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
121
124
  case $maybe_os in
122
125
  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
123
- linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
126
+ linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
124
127
  knetbsd*-gnu* | netbsd*-gnu* | \
125
128
  kopensolaris*-gnu* | \
126
129
  storm-chaos* | os2-emx* | rtmk-nova*)
@@ -153,7 +156,7 @@ case $os in
153
156
  -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
154
157
  -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
155
158
  -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
156
- -apple | -axis | -knuth | -cray | -microblaze*)
159
+ -apple | -axis | -knuth | -cray | -microblaze)
157
160
  os=
158
161
  basic_machine=$1
159
162
  ;;
@@ -222,12 +225,6 @@ case $os in
222
225
  -isc*)
223
226
  basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
224
227
  ;;
225
- -lynx*178)
226
- os=-lynxos178
227
- ;;
228
- -lynx*5)
229
- os=-lynxos5
230
- ;;
231
228
  -lynx*)
232
229
  os=-lynxos
233
230
  ;;
@@ -256,10 +253,8 @@ case $basic_machine in
256
253
  | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
257
254
  | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
258
255
  | am33_2.0 \
259
- | arc \
260
- | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
261
- | avr | avr32 \
262
- | be32 | be64 \
256
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
257
+ | be32 | be64 \
263
258
  | bfin \
264
259
  | c4x | clipper \
265
260
  | d10v | d30v | dlx | dsp16xx \
@@ -272,7 +267,7 @@ case $basic_machine in
272
267
  | le32 | le64 \
273
268
  | lm32 \
274
269
  | m32c | m32r | m32rle | m68000 | m68k | m88k \
275
- | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
270
+ | maxq | mb | microblaze | mcore | mep | metag \
276
271
  | mips | mipsbe | mipseb | mipsel | mipsle \
277
272
  | mips16 \
278
273
  | mips64 | mips64el \
@@ -388,8 +383,7 @@ case $basic_machine in
388
383
  | lm32-* \
389
384
  | m32c-* | m32r-* | m32rle-* \
390
385
  | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
391
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
392
- | microblaze-* | microblazeel-* \
386
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
393
387
  | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
394
388
  | mips16-* \
395
389
  | mips64-* | mips64el-* \
@@ -788,13 +782,9 @@ case $basic_machine in
788
782
  basic_machine=ns32k-utek
789
783
  os=-sysv
790
784
  ;;
791
- microblaze*)
785
+ microblaze)
792
786
  basic_machine=microblaze-xilinx
793
787
  ;;
794
- mingw64)
795
- basic_machine=x86_64-pc
796
- os=-mingw64
797
- ;;
798
788
  mingw32)
799
789
  basic_machine=i386-pc
800
790
  os=-mingw32
@@ -1008,7 +998,7 @@ case $basic_machine in
1008
998
  ;;
1009
999
  ppc64) basic_machine=powerpc64-unknown
1010
1000
  ;;
1011
- ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1001
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1012
1002
  ;;
1013
1003
  ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1014
1004
  basic_machine=powerpc64le-unknown
@@ -1023,11 +1013,7 @@ case $basic_machine in
1023
1013
  basic_machine=i586-unknown
1024
1014
  os=-pw32
1025
1015
  ;;
1026
- rdos | rdos64)
1027
- basic_machine=x86_64-pc
1028
- os=-rdos
1029
- ;;
1030
- rdos32)
1016
+ rdos)
1031
1017
  basic_machine=i386-pc
1032
1018
  os=-rdos
1033
1019
  ;;
@@ -1360,15 +1346,15 @@ case $os in
1360
1346
  | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1361
1347
  | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1362
1348
  | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1363
- | -bitrig* | -openbsd* | -solidbsd* \
1349
+ | -openbsd* | -solidbsd* \
1364
1350
  | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1365
1351
  | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1366
1352
  | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1367
1353
  | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1368
1354
  | -chorusos* | -chorusrdb* | -cegcc* \
1369
1355
  | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1370
- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1371
- | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1356
+ | -mingw32* | -linux-gnu* | -linux-android* \
1357
+ | -linux-newlib* | -linux-uclibc* \
1372
1358
  | -uxpv* | -beos* | -mpeix* | -udk* \
1373
1359
  | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1374
1360
  | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1551,9 +1537,6 @@ case $basic_machine in
1551
1537
  c4x-* | tic4x-*)
1552
1538
  os=-coff
1553
1539
  ;;
1554
- hexagon-*)
1555
- os=-elf
1556
- ;;
1557
1540
  tic54x-*)
1558
1541
  os=-coff
1559
1542
  ;;
@@ -1,8 +1,8 @@
1
1
  #! /bin/sh
2
2
  # Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.69 for libusbx 1.0.17.
3
+ # Generated by GNU Autoconf 2.69 for libusb 1.0.18.
4
4
  #
5
- # Report bugs to <libusbx-devel@lists.sourceforge.net>.
5
+ # Report bugs to <libusb-devel@lists.sourceforge.net>.
6
6
  #
7
7
  #
8
8
  # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -275,7 +275,7 @@ fi
275
275
  $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276
276
  else
277
277
  $as_echo "$0: Please tell bug-autoconf@gnu.org and
278
- $0: libusbx-devel@lists.sourceforge.net about your system,
278
+ $0: libusb-devel@lists.sourceforge.net about your system,
279
279
  $0: including any error possibly output before this
280
280
  $0: message. Then install a modern shell, or manually run
281
281
  $0: the script under such a shell if you do have one."
@@ -588,12 +588,12 @@ MFLAGS=
588
588
  MAKEFLAGS=
589
589
 
590
590
  # Identity of this package.
591
- PACKAGE_NAME='libusbx'
592
- PACKAGE_TARNAME='libusbx'
593
- PACKAGE_VERSION='1.0.17'
594
- PACKAGE_STRING='libusbx 1.0.17'
595
- PACKAGE_BUGREPORT='libusbx-devel@lists.sourceforge.net'
596
- PACKAGE_URL='http://libusbx.org'
591
+ PACKAGE_NAME='libusb'
592
+ PACKAGE_TARNAME='libusb'
593
+ PACKAGE_VERSION='1.0.18'
594
+ PACKAGE_STRING='libusb 1.0.18'
595
+ PACKAGE_BUGREPORT='libusb-devel@lists.sourceforge.net'
596
+ PACKAGE_URL='http://libusb.info'
597
597
 
598
598
  ac_unique_file="libusb/core.c"
599
599
  # Factoring default headers for most tests.
@@ -714,13 +714,13 @@ CPPFLAGS
714
714
  LDFLAGS
715
715
  CFLAGS
716
716
  CC
717
- MAINT
718
- MAINTAINER_MODE_FALSE
719
- MAINTAINER_MODE_TRUE
720
717
  AM_BACKSLASH
721
718
  AM_DEFAULT_VERBOSITY
722
719
  AM_DEFAULT_V
723
720
  AM_V
721
+ MAINT
722
+ MAINTAINER_MODE_FALSE
723
+ MAINTAINER_MODE_TRUE
724
724
  am__untar
725
725
  am__tar
726
726
  AMTAR
@@ -785,8 +785,8 @@ SHELL'
785
785
  ac_subst_files=''
786
786
  ac_user_opts='
787
787
  enable_option_checking
788
- enable_silent_rules
789
788
  enable_maintainer_mode
789
+ enable_silent_rules
790
790
  enable_dependency_tracking
791
791
  enable_shared
792
792
  enable_static
@@ -1352,7 +1352,7 @@ if test "$ac_init_help" = "long"; then
1352
1352
  # Omit some internal or obsolete options to make the list less imposing.
1353
1353
  # This message is too long to be a string in the A/UX 3.1 sh.
1354
1354
  cat <<_ACEOF
1355
- \`configure' configures libusbx 1.0.17 to adapt to many kinds of systems.
1355
+ \`configure' configures libusb 1.0.18 to adapt to many kinds of systems.
1356
1356
 
1357
1357
  Usage: $0 [OPTION]... [VAR=VALUE]...
1358
1358
 
@@ -1400,7 +1400,7 @@ Fine tuning of the installation directories:
1400
1400
  --infodir=DIR info documentation [DATAROOTDIR/info]
1401
1401
  --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1402
1402
  --mandir=DIR man documentation [DATAROOTDIR/man]
1403
- --docdir=DIR documentation root [DATAROOTDIR/doc/libusbx]
1403
+ --docdir=DIR documentation root [DATAROOTDIR/doc/libusb]
1404
1404
  --htmldir=DIR html documentation [DOCDIR]
1405
1405
  --dvidir=DIR dvi documentation [DOCDIR]
1406
1406
  --pdfdir=DIR pdf documentation [DOCDIR]
@@ -1422,7 +1422,7 @@ fi
1422
1422
 
1423
1423
  if test -n "$ac_init_help"; then
1424
1424
  case $ac_init_help in
1425
- short | recursive ) echo "Configuration of libusbx 1.0.17:";;
1425
+ short | recursive ) echo "Configuration of libusb 1.0.18:";;
1426
1426
  esac
1427
1427
  cat <<\_ACEOF
1428
1428
 
@@ -1430,15 +1430,12 @@ Optional Features:
1430
1430
  --disable-option-checking ignore unrecognized --enable/--with options
1431
1431
  --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1432
1432
  --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1433
- --enable-silent-rules less verbose build output (undo: "make V=1")
1434
- --disable-silent-rules verbose build output (undo: "make V=0")
1435
- --enable-maintainer-mode
1436
- enable make rules and dependencies not useful (and
1437
- sometimes confusing) to the casual installer
1438
- --enable-dependency-tracking
1439
- do not reject slow dependency extractors
1440
- --disable-dependency-tracking
1441
- speeds up one-time build
1433
+ --enable-maintainer-mode enable make rules and dependencies not useful
1434
+ (and sometimes confusing) to the casual installer
1435
+ --enable-silent-rules less verbose build output (undo: `make V=1')
1436
+ --disable-silent-rules verbose build output (undo: `make V=0')
1437
+ --disable-dependency-tracking speeds up one-time build
1438
+ --enable-dependency-tracking do not reject slow dependency extractors
1442
1439
  --enable-shared[=PKGS] build shared libraries [default=yes]
1443
1440
  --enable-static[=PKGS] build static libraries [default=yes]
1444
1441
  --enable-fast-install[=PKGS]
@@ -1477,8 +1474,8 @@ Some influential environment variables:
1477
1474
  Use these variables to override the choices made by `configure' or to help
1478
1475
  it to find libraries and programs with nonstandard names/locations.
1479
1476
 
1480
- Report bugs to <libusbx-devel@lists.sourceforge.net>.
1481
- libusbx home page: <http://libusbx.org>.
1477
+ Report bugs to <libusb-devel@lists.sourceforge.net>.
1478
+ libusb home page: <http://libusb.info>.
1482
1479
  _ACEOF
1483
1480
  ac_status=$?
1484
1481
  fi
@@ -1541,7 +1538,7 @@ fi
1541
1538
  test -n "$ac_init_help" && exit $ac_status
1542
1539
  if $ac_init_version; then
1543
1540
  cat <<\_ACEOF
1544
- libusbx configure 1.0.17
1541
+ libusb configure 1.0.18
1545
1542
  generated by GNU Autoconf 2.69
1546
1543
 
1547
1544
  Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1886,9 +1883,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1886
1883
  $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1887
1884
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1888
1885
  $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1889
- ( $as_echo "## -------------------------------------------------- ##
1890
- ## Report this to libusbx-devel@lists.sourceforge.net ##
1891
- ## -------------------------------------------------- ##"
1886
+ ( $as_echo "## ------------------------------------------------- ##
1887
+ ## Report this to libusb-devel@lists.sourceforge.net ##
1888
+ ## ------------------------------------------------- ##"
1892
1889
  ) | sed "s/^/$as_me: WARNING: /" >&2
1893
1890
  ;;
1894
1891
  esac
@@ -2010,7 +2007,7 @@ cat >config.log <<_ACEOF
2010
2007
  This file contains any messages produced by compilers while
2011
2008
  running configure, to aid debugging if configure makes a mistake.
2012
2009
 
2013
- It was created by libusbx $as_me 1.0.17, which was
2010
+ It was created by libusb $as_me 1.0.18, which was
2014
2011
  generated by GNU Autoconf 2.69. Invocation command line was
2015
2012
 
2016
2013
  $ $0 $@
@@ -2368,7 +2365,7 @@ lt_revision="0"
2368
2365
  lt_age="1"
2369
2366
  LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}"
2370
2367
 
2371
- am__api_version='1.13'
2368
+ am__api_version='1.11'
2372
2369
 
2373
2370
  ac_aux_dir=
2374
2371
  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
@@ -2494,6 +2491,9 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2494
2491
 
2495
2492
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2496
2493
  $as_echo_n "checking whether build environment is sane... " >&6; }
2494
+ # Just in case
2495
+ sleep 1
2496
+ echo timestamp > conftest.file
2497
2497
  # Reject unsafe characters in $srcdir or the absolute working directory
2498
2498
  # name. Accept space and tab only in the latter.
2499
2499
  am_lf='
@@ -2504,40 +2504,32 @@ case `pwd` in
2504
2504
  esac
2505
2505
  case $srcdir in
2506
2506
  *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2507
- as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2507
+ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2508
2508
  esac
2509
2509
 
2510
- # Do 'set' in a subshell so we don't clobber the current shell's
2510
+ # Do `set' in a subshell so we don't clobber the current shell's
2511
2511
  # arguments. Must try -L first in case configure is actually a
2512
2512
  # symlink; some systems play weird games with the mod time of symlinks
2513
2513
  # (eg FreeBSD returns the mod time of the symlink's containing
2514
2514
  # directory).
2515
2515
  if (
2516
- am_has_slept=no
2517
- for am_try in 1 2; do
2518
- echo "timestamp, slept: $am_has_slept" > conftest.file
2519
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2520
- if test "$*" = "X"; then
2521
- # -L didn't work.
2522
- set X `ls -t "$srcdir/configure" conftest.file`
2523
- fi
2524
- if test "$*" != "X $srcdir/configure conftest.file" \
2525
- && test "$*" != "X conftest.file $srcdir/configure"; then
2526
-
2527
- # If neither matched, then we have a broken ls. This can happen
2528
- # if, for instance, CONFIG_SHELL is bash and it inherits a
2529
- # broken ls alias from the environment. This has actually
2530
- # happened. Such a system could not be considered "sane".
2531
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2532
- alias in your environment" "$LINENO" 5
2533
- fi
2534
- if test "$2" = conftest.file || test $am_try -eq 2; then
2535
- break
2536
- fi
2537
- # Just in case.
2538
- sleep 1
2539
- am_has_slept=yes
2540
- done
2516
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2517
+ if test "$*" = "X"; then
2518
+ # -L didn't work.
2519
+ set X `ls -t "$srcdir/configure" conftest.file`
2520
+ fi
2521
+ rm -f conftest.file
2522
+ if test "$*" != "X $srcdir/configure conftest.file" \
2523
+ && test "$*" != "X conftest.file $srcdir/configure"; then
2524
+
2525
+ # If neither matched, then we have a broken ls. This can happen
2526
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
2527
+ # broken ls alias from the environment. This has actually
2528
+ # happened. Such a system could not be considered "sane".
2529
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2530
+ alias in your environment" "$LINENO" 5
2531
+ fi
2532
+
2541
2533
  test "$2" = conftest.file
2542
2534
  )
2543
2535
  then
@@ -2549,16 +2541,6 @@ Check your system clock" "$LINENO" 5
2549
2541
  fi
2550
2542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2551
2543
  $as_echo "yes" >&6; }
2552
- # If we didn't sleep, we still need to ensure time stamps of config.status and
2553
- # generated files are strictly newer.
2554
- am_sleep_pid=
2555
- if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2556
- ( sleep 1 ) &
2557
- am_sleep_pid=$!
2558
- fi
2559
-
2560
- rm -f conftest.file
2561
-
2562
2544
  test "$program_prefix" != NONE &&
2563
2545
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2564
2546
  # Use a double $ so make ignores it.
@@ -2581,12 +2563,12 @@ if test x"${MISSING+set}" != xset; then
2581
2563
  esac
2582
2564
  fi
2583
2565
  # Use eval to expand $SHELL
2584
- if eval "$MISSING --is-lightweight"; then
2585
- am_missing_run="$MISSING "
2566
+ if eval "$MISSING --run true"; then
2567
+ am_missing_run="$MISSING --run "
2586
2568
  else
2587
2569
  am_missing_run=
2588
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2589
- $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2570
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2571
+ $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2590
2572
  fi
2591
2573
 
2592
2574
  if test x"${install_sh}" != xset; then
@@ -2598,10 +2580,10 @@ if test x"${install_sh}" != xset; then
2598
2580
  esac
2599
2581
  fi
2600
2582
 
2601
- # Installed binaries are usually stripped using 'strip' when the user
2602
- # run "make install-strip". However 'strip' might not be the right
2583
+ # Installed binaries are usually stripped using `strip' when the user
2584
+ # run `make install-strip'. However `strip' might not be the right
2603
2585
  # tool to use in cross-compilation environments, therefore Automake
2604
- # will honor the 'STRIP' environment variable to overrule this program.
2586
+ # will honor the `STRIP' environment variable to overrule this program.
2605
2587
  if test "$cross_compiling" != no; then
2606
2588
  if test -n "$ac_tool_prefix"; then
2607
2589
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
@@ -2740,6 +2722,12 @@ fi
2740
2722
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2741
2723
  $as_echo "$MKDIR_P" >&6; }
2742
2724
 
2725
+ mkdir_p="$MKDIR_P"
2726
+ case $mkdir_p in
2727
+ [\\/$]* | ?:[\\/]*) ;;
2728
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2729
+ esac
2730
+
2743
2731
  for ac_prog in gawk mawk nawk awk
2744
2732
  do
2745
2733
  # Extract the first word of "$ac_prog", so it can be a program name with args.
@@ -2822,45 +2810,6 @@ else
2822
2810
  fi
2823
2811
  rmdir .tst 2>/dev/null
2824
2812
 
2825
- # Check whether --enable-silent-rules was given.
2826
- if test "${enable_silent_rules+set}" = set; then :
2827
- enableval=$enable_silent_rules;
2828
- fi
2829
-
2830
- case $enable_silent_rules in # (((
2831
- yes) AM_DEFAULT_VERBOSITY=0;;
2832
- no) AM_DEFAULT_VERBOSITY=1;;
2833
- *) AM_DEFAULT_VERBOSITY=1;;
2834
- esac
2835
- am_make=${MAKE-make}
2836
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2837
- $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2838
- if ${am_cv_make_support_nested_variables+:} false; then :
2839
- $as_echo_n "(cached) " >&6
2840
- else
2841
- if $as_echo 'TRUE=$(BAR$(V))
2842
- BAR0=false
2843
- BAR1=true
2844
- V=1
2845
- am__doit:
2846
- @$(TRUE)
2847
- .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2848
- am_cv_make_support_nested_variables=yes
2849
- else
2850
- am_cv_make_support_nested_variables=no
2851
- fi
2852
- fi
2853
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2854
- $as_echo "$am_cv_make_support_nested_variables" >&6; }
2855
- if test $am_cv_make_support_nested_variables = yes; then
2856
- AM_V='$(V)'
2857
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2858
- else
2859
- AM_V=$AM_DEFAULT_VERBOSITY
2860
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2861
- fi
2862
- AM_BACKSLASH='\'
2863
-
2864
2813
  if test "`cd $srcdir && pwd`" != "`pwd`"; then
2865
2814
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2866
2815
  # is not polluted with repeated "-I."
@@ -2882,8 +2831,8 @@ fi
2882
2831
 
2883
2832
 
2884
2833
  # Define the identity of the package.
2885
- PACKAGE='libusbx'
2886
- VERSION='1.0.17'
2834
+ PACKAGE='libusb'
2835
+ VERSION='1.0.18'
2887
2836
 
2888
2837
 
2889
2838
  cat >>confdefs.h <<_ACEOF
@@ -2911,22 +2860,12 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2911
2860
 
2912
2861
  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2913
2862
 
2914
- # For better backward compatibility. To be removed once Automake 1.9.x
2915
- # dies out for good. For more background, see:
2916
- # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2917
- # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2918
- mkdir_p='$(MKDIR_P)'
2919
-
2920
2863
  # We need awk for the "check" target. The system "awk" is bad on
2921
2864
  # some platforms.
2922
2865
  # Always define AMTAR for backward compatibility. Yes, it's still used
2923
2866
  # in the wild :-( We should find a proper way to deprecate it ...
2924
2867
  AMTAR='$${TAR-tar}'
2925
2868
 
2926
-
2927
- # We'll loop over all known methods to create a tar archive until one works.
2928
- _am_tools='gnutar pax cpio none'
2929
-
2930
2869
  am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2931
2870
 
2932
2871
 
@@ -2934,7 +2873,6 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2934
2873
 
2935
2874
 
2936
2875
 
2937
-
2938
2876
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2939
2877
  $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2940
2878
  # Check whether --enable-maintainer-mode was given.
@@ -2967,10 +2905,10 @@ if test "${enable_silent_rules+set}" = set; then :
2967
2905
  enableval=$enable_silent_rules;
2968
2906
  fi
2969
2907
 
2970
- case $enable_silent_rules in # (((
2971
- yes) AM_DEFAULT_VERBOSITY=0;;
2972
- no) AM_DEFAULT_VERBOSITY=1;;
2973
- *) AM_DEFAULT_VERBOSITY=0;;
2908
+ case $enable_silent_rules in
2909
+ yes) AM_DEFAULT_VERBOSITY=0;;
2910
+ no) AM_DEFAULT_VERBOSITY=1;;
2911
+ *) AM_DEFAULT_VERBOSITY=0;;
2974
2912
  esac
2975
2913
  am_make=${MAKE-make}
2976
2914
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
@@ -3810,7 +3748,7 @@ am__quote=
3810
3748
  _am_result=none
3811
3749
  # First try GNU make style include.
3812
3750
  echo "include confinc" > confmf
3813
- # Ignore all kinds of additional output from 'make'.
3751
+ # Ignore all kinds of additional output from `make'.
3814
3752
  case `$am_make -s -f confmf 2> /dev/null` in #(
3815
3753
  *the\ am__doit\ target*)
3816
3754
  am__include=include
@@ -3866,8 +3804,8 @@ else
3866
3804
  # We make a subdir and do the tests there. Otherwise we can end up
3867
3805
  # making bogus files that we don't know about and never remove. For
3868
3806
  # instance it was reported that on HP-UX the gcc test will end up
3869
- # making a dummy file named 'D' -- because '-MD' means "put the output
3870
- # in D".
3807
+ # making a dummy file named `D' -- because `-MD' means `put the output
3808
+ # in D'.
3871
3809
  rm -rf conftest.dir
3872
3810
  mkdir conftest.dir
3873
3811
  # Copy depcomp to subdir because otherwise we won't find it if we're
@@ -3902,16 +3840,16 @@ else
3902
3840
  : > sub/conftest.c
3903
3841
  for i in 1 2 3 4 5 6; do
3904
3842
  echo '#include "conftst'$i'.h"' >> sub/conftest.c
3905
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3906
- # Solaris 10 /bin/sh.
3907
- echo '/* dummy */' > sub/conftst$i.h
3843
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3844
+ # Solaris 8's {/usr,}/bin/sh.
3845
+ touch sub/conftst$i.h
3908
3846
  done
3909
3847
  echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3910
3848
 
3911
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
3849
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
3912
3850
  # mode. It turns out that the SunPro C++ compiler does not properly
3913
- # handle '-M -o', and we need to detect this. Also, some Intel
3914
- # versions had trouble with output in subdirs.
3851
+ # handle `-M -o', and we need to detect this. Also, some Intel
3852
+ # versions had trouble with output in subdirs
3915
3853
  am__obj=sub/conftest.${OBJEXT-o}
3916
3854
  am__minus_obj="-o $am__obj"
3917
3855
  case $depmode in
@@ -3920,8 +3858,8 @@ else
3920
3858
  test "$am__universal" = false || continue
3921
3859
  ;;
3922
3860
  nosideeffect)
3923
- # After this tag, mechanisms are not by side-effect, so they'll
3924
- # only be used when explicitly requested.
3861
+ # after this tag, mechanisms are not by side-effect, so they'll
3862
+ # only be used when explicitly requested
3925
3863
  if test "x$enable_dependency_tracking" = xyes; then
3926
3864
  continue
3927
3865
  else
@@ -3929,7 +3867,7 @@ else
3929
3867
  fi
3930
3868
  ;;
3931
3869
  msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3932
- # This compiler won't grok '-c -o', but also, the minuso test has
3870
+ # This compiler won't grok `-c -o', but also, the minuso test has
3933
3871
  # not run yet. These depmodes are late enough in the game, and
3934
3872
  # so weak that their functioning should not be impacted.
3935
3873
  am__obj=conftest.${OBJEXT-o}
@@ -8022,10 +7960,6 @@ _lt_linker_boilerplate=`cat conftest.err`
8022
7960
  $RM -r conftest*
8023
7961
 
8024
7962
 
8025
- ## CAVEAT EMPTOR:
8026
- ## There is no encapsulation within the following macros, do not change
8027
- ## the running order or otherwise move them around unless you know exactly
8028
- ## what you are doing...
8029
7963
  if test -n "$compiler"; then
8030
7964
 
8031
7965
  lt_prog_compiler_no_builtin_flag=
@@ -10580,14 +10514,10 @@ fi
10580
10514
  # before this can be enabled.
10581
10515
  hardcode_into_libs=yes
10582
10516
 
10583
- # Add ABI-specific directories to the system library path.
10584
- sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10585
-
10586
10517
  # Append ld.so.conf contents to the search path
10587
10518
  if test -f /etc/ld.so.conf; then
10588
10519
  lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10589
- sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10590
-
10520
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10591
10521
  fi
10592
10522
 
10593
10523
  # We used to test for /lib/ld.so.1 and disable shared libraries on
@@ -11924,7 +11854,17 @@ LTLDFLAGS="${LTLDFLAGS} -no-undefined"
11924
11854
  $as_echo_n "checking operating system... " >&6; }
11925
11855
 
11926
11856
  case $host in
11927
- *-linux*)
11857
+ *-linux-android*)
11858
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: This is a Linux-Android system" >&5
11859
+ $as_echo "This is a Linux-Android system" >&6; }
11860
+ is_backend_android="yes"
11861
+ ;;
11862
+ *)
11863
+ is_backend_android="no"
11864
+ esac
11865
+
11866
+ case $host in
11867
+ *-linux* | *-uclinux*)
11928
11868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
11929
11869
  $as_echo "Linux" >&6; }
11930
11870
  backend="linux"
@@ -12140,8 +12080,20 @@ done
12140
12080
 
12141
12081
  fi
12142
12082
 
12083
+
12084
+ case $is_backend_android in
12085
+ yes)
12086
+ THREAD_CFLAGS="-c"
12087
+ LIBS="${LIBS} -c"
12088
+
12089
+ $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
12090
+
12091
+ ;;
12092
+ *)
12143
12093
  THREAD_CFLAGS="-pthread"
12144
12094
  LIBS="${LIBS} -pthread"
12095
+ esac
12096
+
12145
12097
  for ac_header in poll.h
12146
12098
  do :
12147
12099
  ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
@@ -12716,14 +12668,6 @@ LIBOBJS=$ac_libobjs
12716
12668
  LTLIBOBJS=$ac_ltlibobjs
12717
12669
 
12718
12670
 
12719
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12720
- $as_echo_n "checking that generated files are newer than configure... " >&6; }
12721
- if test -n "$am_sleep_pid"; then
12722
- # Hide warnings about reused PIDs.
12723
- wait $am_sleep_pid 2>/dev/null
12724
- fi
12725
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12726
- $as_echo "done" >&6; }
12727
12671
  if test -n "$EXEEXT"; then
12728
12672
  am__EXEEXT_TRUE=
12729
12673
  am__EXEEXT_FALSE='#'
@@ -13185,7 +13129,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13185
13129
  # report actual input values of CONFIG_FILES etc. instead of their
13186
13130
  # values after options handling.
13187
13131
  ac_log="
13188
- This file was extended by libusbx $as_me 1.0.17, which was
13132
+ This file was extended by libusb $as_me 1.0.18, which was
13189
13133
  generated by GNU Autoconf 2.69. Invocation command line was
13190
13134
 
13191
13135
  CONFIG_FILES = $CONFIG_FILES
@@ -13245,14 +13189,14 @@ $config_headers
13245
13189
  Configuration commands:
13246
13190
  $config_commands
13247
13191
 
13248
- Report bugs to <libusbx-devel@lists.sourceforge.net>.
13249
- libusbx home page: <http://libusbx.org>."
13192
+ Report bugs to <libusb-devel@lists.sourceforge.net>.
13193
+ libusb home page: <http://libusb.info>."
13250
13194
 
13251
13195
  _ACEOF
13252
13196
  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13253
13197
  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13254
13198
  ac_cs_version="\\
13255
- libusbx config.status 1.0.17
13199
+ libusb config.status 1.0.18
13256
13200
  configured by $0, generated by GNU Autoconf 2.69,
13257
13201
  with options \\"\$ac_cs_config\\"
13258
13202
 
@@ -14338,7 +14282,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
14338
14282
 
14339
14283
  case $ac_file$ac_mode in
14340
14284
  "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14341
- # Older Autoconf quotes --file arguments for eval, but not when files
14285
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
14342
14286
  # are listed without --file. Let's play safe and only enable the eval
14343
14287
  # if we detect the quoting.
14344
14288
  case $CONFIG_FILES in
@@ -14351,7 +14295,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
14351
14295
  # Strip MF so we end up with the name of the file.
14352
14296
  mf=`echo "$mf" | sed -e 's/:.*$//'`
14353
14297
  # Check whether this is an Automake generated Makefile or not.
14354
- # We used to match only the files named 'Makefile.in', but
14298
+ # We used to match only the files named `Makefile.in', but
14355
14299
  # some people rename them; so instead we look at the file content.
14356
14300
  # Grep'ing the first line is not enough: some people post-process
14357
14301
  # each Makefile.in and add a new line on top of each file to say so.
@@ -14385,19 +14329,21 @@ $as_echo X"$mf" |
14385
14329
  continue
14386
14330
  fi
14387
14331
  # Extract the definition of DEPDIR, am__include, and am__quote
14388
- # from the Makefile without running 'make'.
14332
+ # from the Makefile without running `make'.
14389
14333
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14390
14334
  test -z "$DEPDIR" && continue
14391
14335
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
14392
- test -z "$am__include" && continue
14336
+ test -z "am__include" && continue
14393
14337
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14338
+ # When using ansi2knr, U may be empty or an underscore; expand it
14339
+ U=`sed -n 's/^U = //p' < "$mf"`
14394
14340
  # Find all dependency output files, they are included files with
14395
14341
  # $(DEPDIR) in their names. We invoke sed twice because it is the
14396
14342
  # simplest approach to changing $(DEPDIR) to its actual value in the
14397
14343
  # expansion.
14398
14344
  for file in `sed -n "
14399
14345
  s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14400
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14346
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14401
14347
  # Make sure the directory exists.
14402
14348
  test -f "$dirpart/$file" && continue
14403
14349
  fdir=`$as_dirname -- "$file" ||