libusb 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +2 -0
  3. data.tar.gz.sig +0 -0
  4. data/.travis.yml +3 -3
  5. data/History.md +8 -0
  6. data/README.md +1 -0
  7. data/Rakefile +14 -14
  8. data/ext/{libusb-1.0.18 → libusb-1.0.19}/AUTHORS +6 -0
  9. data/ext/{libusb-1.0.18 → libusb-1.0.19}/COPYING +0 -0
  10. data/ext/{libusb-1.0.18 → libusb-1.0.19}/ChangeLog +9 -2
  11. data/ext/{libusb-1.0.18 → libusb-1.0.19}/INSTALL +0 -0
  12. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Makefile.am +0 -0
  13. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Makefile.in +188 -156
  14. data/ext/{libusb-1.0.18 → libusb-1.0.19}/NEWS +0 -0
  15. data/ext/{libusb-1.0.18 → libusb-1.0.19}/PORTING +0 -0
  16. data/ext/{libusb-1.0.18 → libusb-1.0.19}/README +0 -0
  17. data/ext/{libusb-1.0.18 → libusb-1.0.19}/TODO +0 -0
  18. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/common.xcconfig +10 -1
  19. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/config.h +0 -0
  20. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/debug.xcconfig +0 -0
  21. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb.xcconfig +1 -1
  22. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb.xcodeproj/project.pbxproj +0 -0
  23. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb_debug.xcconfig +0 -0
  24. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb_release.xcconfig +0 -0
  25. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/release.xcconfig +1 -0
  26. data/ext/libusb-1.0.19/aclocal.m4 +1190 -0
  27. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/README +0 -0
  28. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/config.h +0 -0
  29. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/Android.mk +0 -0
  30. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/Application.mk +0 -0
  31. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/examples.mk +0 -0
  32. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/libusb.mk +0 -0
  33. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/tests.mk +0 -0
  34. data/ext/{libusb-1.0.18 → libusb-1.0.19}/compile +7 -3
  35. data/ext/{libusb-1.0.18 → libusb-1.0.19}/config.guess +116 -78
  36. data/ext/{libusb-1.0.18 → libusb-1.0.19}/config.h.in +0 -3
  37. data/ext/{libusb-1.0.18 → libusb-1.0.19}/config.sub +66 -46
  38. data/ext/{libusb-1.0.18 → libusb-1.0.19}/configure +265 -208
  39. data/ext/{libusb-1.0.18 → libusb-1.0.19}/configure.ac +0 -0
  40. data/ext/{libusb-1.0.18 → libusb-1.0.19}/depcomp +269 -186
  41. data/ext/{libusb-1.0.18 → libusb-1.0.19}/doc/Makefile.am +0 -0
  42. data/ext/{libusb-1.0.18 → libusb-1.0.19}/doc/Makefile.in +72 -35
  43. data/ext/{libusb-1.0.18 → libusb-1.0.19}/doc/doxygen.cfg.in +1 -1
  44. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/Makefile.am +0 -0
  45. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/Makefile.in +134 -70
  46. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/dpfp.c +0 -0
  47. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/dpfp_threaded.c +0 -0
  48. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/ezusb.c +9 -5
  49. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/ezusb.h +0 -0
  50. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/fxload.c +1 -1
  51. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/getopt/getopt.c +0 -0
  52. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/getopt/getopt.h +0 -0
  53. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/getopt/getopt1.c +0 -0
  54. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/hotplugtest.c +0 -0
  55. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/listdevs.c +0 -0
  56. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/sam3u_benchmark.c +0 -0
  57. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/xusb.c +22 -2
  58. data/ext/{libusb-1.0.18 → libusb-1.0.19}/install-sh +7 -7
  59. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb-1.0.pc.in +0 -0
  60. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/Makefile.am +0 -0
  61. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/Makefile.in +133 -93
  62. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/core.c +86 -15
  63. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/descriptor.c +0 -0
  64. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/hotplug.c +6 -1
  65. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/hotplug.h +0 -0
  66. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/io.c +54 -17
  67. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusb-1.0.def +8 -0
  68. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusb-1.0.rc +0 -0
  69. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusb.h +42 -2
  70. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusbi.h +10 -1
  71. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/darwin_usb.c +156 -53
  72. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/darwin_usb.h +1 -1
  73. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_netlink.c +26 -2
  74. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_udev.c +2 -1
  75. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_usbfs.c +93 -6
  76. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_usbfs.h +12 -1
  77. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/netbsd_usb.c +6 -0
  78. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/openbsd_usb.c +6 -0
  79. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_posix.c +0 -0
  80. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_posix.h +0 -0
  81. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_windows.c +0 -0
  82. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_windows.h +12 -6
  83. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_posix.c +0 -0
  84. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_posix.h +0 -0
  85. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_windows.c +0 -0
  86. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_windows.h +0 -0
  87. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/wince_usb.c +8 -1
  88. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/wince_usb.h +0 -0
  89. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/windows_common.h +0 -0
  90. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/windows_usb.c +175 -42
  91. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/windows_usb.h +35 -0
  92. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/strerror.c +17 -2
  93. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/sync.c +0 -0
  94. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/version.h +1 -1
  95. data/ext/libusb-1.0.19/libusb/version_nano.h +1 -0
  96. data/ext/{libusb-1.0.18 → libusb-1.0.19}/ltmain.sh +3 -3
  97. data/ext/{libusb-1.0.18/aclocal.m4 → libusb-1.0.19/m4/libtool.m4} +36 -1734
  98. data/ext/libusb-1.0.19/m4/ltoptions.m4 +384 -0
  99. data/ext/libusb-1.0.19/m4/ltsugar.m4 +123 -0
  100. data/ext/libusb-1.0.19/m4/ltversion.m4 +23 -0
  101. data/ext/libusb-1.0.19/m4/lt~obsolete.m4 +98 -0
  102. data/ext/libusb-1.0.19/missing +215 -0
  103. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/Makefile.am +0 -0
  104. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/Makefile.in +128 -70
  105. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/libusb_testlib.h +0 -0
  106. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/stress.c +0 -0
  107. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/testlib.c +0 -0
  108. data/lib/libusb.rb +3 -1
  109. data/lib/libusb/bos.rb +306 -0
  110. data/lib/libusb/call.rb +84 -0
  111. data/lib/libusb/constants.rb +4 -0
  112. data/lib/libusb/dev_handle.rb +77 -0
  113. data/lib/libusb/endpoint.rb +20 -0
  114. data/lib/libusb/ss_companion.rb +69 -0
  115. data/lib/libusb/transfer.rb +34 -0
  116. data/lib/libusb/version_gem.rb +1 -1
  117. data/libusb.gemspec +1 -0
  118. data/test/test_libusb_bos.rb +118 -0
  119. data/test/test_libusb_bulk_stream_transfer.rb +50 -0
  120. data/test/test_libusb_descriptors.rb +29 -0
  121. data/test/test_libusb_hotplug.rb +1 -1
  122. data/test/test_libusb_threads.rb +1 -1
  123. metadata +146 -124
  124. metadata.gz.sig +0 -0
  125. data/ext/libusb-1.0.18/libusb/version_nano.h +0 -1
  126. data/ext/libusb-1.0.18/missing +0 -331
@@ -1,6 +1,6 @@
1
1
  #! /bin/sh
2
2
  # Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.69 for libusb 1.0.18.
3
+ # Generated by GNU Autoconf 2.69 for libusb 1.0.19.
4
4
  #
5
5
  # Report bugs to <libusb-devel@lists.sourceforge.net>.
6
6
  #
@@ -590,8 +590,8 @@ MAKEFLAGS=
590
590
  # Identity of this package.
591
591
  PACKAGE_NAME='libusb'
592
592
  PACKAGE_TARNAME='libusb'
593
- PACKAGE_VERSION='1.0.18'
594
- PACKAGE_STRING='libusb 1.0.18'
593
+ PACKAGE_VERSION='1.0.19'
594
+ PACKAGE_STRING='libusb 1.0.19'
595
595
  PACKAGE_BUGREPORT='libusb-devel@lists.sourceforge.net'
596
596
  PACKAGE_URL='http://libusb.info'
597
597
 
@@ -714,13 +714,13 @@ CPPFLAGS
714
714
  LDFLAGS
715
715
  CFLAGS
716
716
  CC
717
+ MAINT
718
+ MAINTAINER_MODE_FALSE
719
+ MAINTAINER_MODE_TRUE
717
720
  AM_BACKSLASH
718
721
  AM_DEFAULT_VERBOSITY
719
722
  AM_DEFAULT_V
720
723
  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_maintainer_mode
789
788
  enable_silent_rules
789
+ enable_maintainer_mode
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 libusb 1.0.18 to adapt to many kinds of systems.
1355
+ \`configure' configures libusb 1.0.19 to adapt to many kinds of systems.
1356
1356
 
1357
1357
  Usage: $0 [OPTION]... [VAR=VALUE]...
1358
1358
 
@@ -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 libusb 1.0.18:";;
1425
+ short | recursive ) echo "Configuration of libusb 1.0.19:";;
1426
1426
  esac
1427
1427
  cat <<\_ACEOF
1428
1428
 
@@ -1430,12 +1430,15 @@ 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-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
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
1439
1442
  --enable-shared[=PKGS] build shared libraries [default=yes]
1440
1443
  --enable-static[=PKGS] build static libraries [default=yes]
1441
1444
  --enable-fast-install[=PKGS]
@@ -1538,7 +1541,7 @@ fi
1538
1541
  test -n "$ac_init_help" && exit $ac_status
1539
1542
  if $ac_init_version; then
1540
1543
  cat <<\_ACEOF
1541
- libusb configure 1.0.18
1544
+ libusb configure 1.0.19
1542
1545
  generated by GNU Autoconf 2.69
1543
1546
 
1544
1547
  Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2007,7 +2010,7 @@ cat >config.log <<_ACEOF
2007
2010
  This file contains any messages produced by compilers while
2008
2011
  running configure, to aid debugging if configure makes a mistake.
2009
2012
 
2010
- It was created by libusb $as_me 1.0.18, which was
2013
+ It was created by libusb $as_me 1.0.19, which was
2011
2014
  generated by GNU Autoconf 2.69. Invocation command line was
2012
2015
 
2013
2016
  $ $0 $@
@@ -2365,7 +2368,7 @@ lt_revision="0"
2365
2368
  lt_age="1"
2366
2369
  LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}"
2367
2370
 
2368
- am__api_version='1.11'
2371
+ am__api_version='1.14'
2369
2372
 
2370
2373
  ac_aux_dir=
2371
2374
  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
@@ -2491,9 +2494,6 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2491
2494
 
2492
2495
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2493
2496
  $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,32 +2504,40 @@ 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
- 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
-
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
2533
2541
  test "$2" = conftest.file
2534
2542
  )
2535
2543
  then
@@ -2541,6 +2549,16 @@ Check your system clock" "$LINENO" 5
2541
2549
  fi
2542
2550
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2543
2551
  $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
+
2544
2562
  test "$program_prefix" != NONE &&
2545
2563
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2546
2564
  # Use a double $ so make ignores it.
@@ -2563,12 +2581,12 @@ if test x"${MISSING+set}" != xset; then
2563
2581
  esac
2564
2582
  fi
2565
2583
  # Use eval to expand $SHELL
2566
- if eval "$MISSING --run true"; then
2567
- am_missing_run="$MISSING --run "
2584
+ if eval "$MISSING --is-lightweight"; then
2585
+ am_missing_run="$MISSING "
2568
2586
  else
2569
2587
  am_missing_run=
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;}
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;}
2572
2590
  fi
2573
2591
 
2574
2592
  if test x"${install_sh}" != xset; then
@@ -2580,10 +2598,10 @@ if test x"${install_sh}" != xset; then
2580
2598
  esac
2581
2599
  fi
2582
2600
 
2583
- # Installed binaries are usually stripped using `strip' when the user
2584
- # run `make install-strip'. However `strip' might not be the right
2601
+ # Installed binaries are usually stripped using 'strip' when the user
2602
+ # run "make install-strip". However 'strip' might not be the right
2585
2603
  # tool to use in cross-compilation environments, therefore Automake
2586
- # will honor the `STRIP' environment variable to overrule this program.
2604
+ # will honor the 'STRIP' environment variable to overrule this program.
2587
2605
  if test "$cross_compiling" != no; then
2588
2606
  if test -n "$ac_tool_prefix"; then
2589
2607
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
@@ -2722,12 +2740,6 @@ fi
2722
2740
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2723
2741
  $as_echo "$MKDIR_P" >&6; }
2724
2742
 
2725
- mkdir_p="$MKDIR_P"
2726
- case $mkdir_p in
2727
- [\\/$]* | ?:[\\/]*) ;;
2728
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2729
- esac
2730
-
2731
2743
  for ac_prog in gawk mawk nawk awk
2732
2744
  do
2733
2745
  # Extract the first word of "$ac_prog", so it can be a program name with args.
@@ -2810,6 +2822,45 @@ else
2810
2822
  fi
2811
2823
  rmdir .tst 2>/dev/null
2812
2824
 
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
+
2813
2864
  if test "`cd $srcdir && pwd`" != "`pwd`"; then
2814
2865
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2815
2866
  # is not polluted with repeated "-I."
@@ -2832,7 +2883,7 @@ fi
2832
2883
 
2833
2884
  # Define the identity of the package.
2834
2885
  PACKAGE='libusb'
2835
- VERSION='1.0.18'
2886
+ VERSION='1.0.19'
2836
2887
 
2837
2888
 
2838
2889
  cat >>confdefs.h <<_ACEOF
@@ -2860,12 +2911,22 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2860
2911
 
2861
2912
  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2862
2913
 
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
+
2863
2920
  # We need awk for the "check" target. The system "awk" is bad on
2864
2921
  # some platforms.
2865
2922
  # Always define AMTAR for backward compatibility. Yes, it's still used
2866
2923
  # in the wild :-( We should find a proper way to deprecate it ...
2867
2924
  AMTAR='$${TAR-tar}'
2868
2925
 
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
+
2869
2930
  am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2870
2931
 
2871
2932
 
@@ -2873,6 +2934,48 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2873
2934
 
2874
2935
 
2875
2936
 
2937
+ # POSIX will say in a future version that running "rm -f" with no argument
2938
+ # is OK; and we want to be able to make that assumption in our Makefile
2939
+ # recipes. So use an aggressive probe to check that the usage we want is
2940
+ # actually supported "in the wild" to an acceptable degree.
2941
+ # See automake bug#10828.
2942
+ # To make any issue more visible, cause the running configure to be aborted
2943
+ # by default if the 'rm' program in use doesn't match our expectations; the
2944
+ # user can still override this though.
2945
+ if rm -f && rm -fr && rm -rf; then : OK; else
2946
+ cat >&2 <<'END'
2947
+ Oops!
2948
+
2949
+ Your 'rm' program seems unable to run without file operands specified
2950
+ on the command line, even when the '-f' option is present. This is contrary
2951
+ to the behaviour of most rm programs out there, and not conforming with
2952
+ the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2953
+
2954
+ Please tell bug-automake@gnu.org about your system, including the value
2955
+ of your $PATH and any error possibly output before this message. This
2956
+ can help us improve future automake versions.
2957
+
2958
+ END
2959
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2960
+ echo 'Configuration will proceed anyway, since you have set the' >&2
2961
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2962
+ echo >&2
2963
+ else
2964
+ cat >&2 <<'END'
2965
+ Aborting the configuration process, to ensure you take notice of the issue.
2966
+
2967
+ You can download and install GNU coreutils to get an 'rm' implementation
2968
+ that behaves properly: <http://www.gnu.org/software/coreutils/>.
2969
+
2970
+ If you want to complete the configuration process using your problematic
2971
+ 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2972
+ to "yes", and re-run configure.
2973
+
2974
+ END
2975
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2976
+ fi
2977
+ fi
2978
+
2876
2979
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2877
2980
  $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2878
2981
  # Check whether --enable-maintainer-mode was given.
@@ -2905,10 +3008,10 @@ if test "${enable_silent_rules+set}" = set; then :
2905
3008
  enableval=$enable_silent_rules;
2906
3009
  fi
2907
3010
 
2908
- case $enable_silent_rules in
2909
- yes) AM_DEFAULT_VERBOSITY=0;;
2910
- no) AM_DEFAULT_VERBOSITY=1;;
2911
- *) AM_DEFAULT_VERBOSITY=0;;
3011
+ case $enable_silent_rules in # (((
3012
+ yes) AM_DEFAULT_VERBOSITY=0;;
3013
+ no) AM_DEFAULT_VERBOSITY=1;;
3014
+ *) AM_DEFAULT_VERBOSITY=0;;
2912
3015
  esac
2913
3016
  am_make=${MAKE-make}
2914
3017
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
@@ -3729,6 +3832,65 @@ ac_cpp='$CPP $CPPFLAGS'
3729
3832
  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730
3833
  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731
3834
  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835
+
3836
+ ac_ext=c
3837
+ ac_cpp='$CPP $CPPFLAGS'
3838
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3842
+ $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3843
+ if ${am_cv_prog_cc_c_o+:} false; then :
3844
+ $as_echo_n "(cached) " >&6
3845
+ else
3846
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847
+ /* end confdefs.h. */
3848
+
3849
+ int
3850
+ main ()
3851
+ {
3852
+
3853
+ ;
3854
+ return 0;
3855
+ }
3856
+ _ACEOF
3857
+ # Make sure it works both with $CC and with simple cc.
3858
+ # Following AC_PROG_CC_C_O, we do the test twice because some
3859
+ # compilers refuse to overwrite an existing .o file with -o,
3860
+ # though they will create one.
3861
+ am_cv_prog_cc_c_o=yes
3862
+ for am_i in 1 2; do
3863
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3864
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3865
+ ac_status=$?
3866
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867
+ (exit $ac_status); } \
3868
+ && test -f conftest2.$ac_objext; then
3869
+ : OK
3870
+ else
3871
+ am_cv_prog_cc_c_o=no
3872
+ break
3873
+ fi
3874
+ done
3875
+ rm -f core conftest*
3876
+ unset am_i
3877
+ fi
3878
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3879
+ $as_echo "$am_cv_prog_cc_c_o" >&6; }
3880
+ if test "$am_cv_prog_cc_c_o" != yes; then
3881
+ # Losing compiler, so override with the script.
3882
+ # FIXME: It is wrong to rewrite CC.
3883
+ # But if we don't then we get into trouble of one sort or another.
3884
+ # A longer-term fix would be to have automake use am__CC in this case,
3885
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3886
+ CC="$am_aux_dir/compile $CC"
3887
+ fi
3888
+ ac_ext=c
3889
+ ac_cpp='$CPP $CPPFLAGS'
3890
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3891
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3892
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3893
+
3732
3894
  DEPDIR="${am__leading_dot}deps"
3733
3895
 
3734
3896
  ac_config_commands="$ac_config_commands depfiles"
@@ -3748,7 +3910,7 @@ am__quote=
3748
3910
  _am_result=none
3749
3911
  # First try GNU make style include.
3750
3912
  echo "include confinc" > confmf
3751
- # Ignore all kinds of additional output from `make'.
3913
+ # Ignore all kinds of additional output from 'make'.
3752
3914
  case `$am_make -s -f confmf 2> /dev/null` in #(
3753
3915
  *the\ am__doit\ target*)
3754
3916
  am__include=include
@@ -3804,8 +3966,8 @@ else
3804
3966
  # We make a subdir and do the tests there. Otherwise we can end up
3805
3967
  # making bogus files that we don't know about and never remove. For
3806
3968
  # instance it was reported that on HP-UX the gcc test will end up
3807
- # making a dummy file named `D' -- because `-MD' means `put the output
3808
- # in D'.
3969
+ # making a dummy file named 'D' -- because '-MD' means "put the output
3970
+ # in D".
3809
3971
  rm -rf conftest.dir
3810
3972
  mkdir conftest.dir
3811
3973
  # Copy depcomp to subdir because otherwise we won't find it if we're
@@ -3840,16 +4002,16 @@ else
3840
4002
  : > sub/conftest.c
3841
4003
  for i in 1 2 3 4 5 6; do
3842
4004
  echo '#include "conftst'$i'.h"' >> sub/conftest.c
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
4005
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4006
+ # Solaris 10 /bin/sh.
4007
+ echo '/* dummy */' > sub/conftst$i.h
3846
4008
  done
3847
4009
  echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3848
4010
 
3849
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
4011
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
3850
4012
  # mode. It turns out that the SunPro C++ compiler does not properly
3851
- # handle `-M -o', and we need to detect this. Also, some Intel
3852
- # versions had trouble with output in subdirs
4013
+ # handle '-M -o', and we need to detect this. Also, some Intel
4014
+ # versions had trouble with output in subdirs.
3853
4015
  am__obj=sub/conftest.${OBJEXT-o}
3854
4016
  am__minus_obj="-o $am__obj"
3855
4017
  case $depmode in
@@ -3858,8 +4020,8 @@ else
3858
4020
  test "$am__universal" = false || continue
3859
4021
  ;;
3860
4022
  nosideeffect)
3861
- # after this tag, mechanisms are not by side-effect, so they'll
3862
- # only be used when explicitly requested
4023
+ # After this tag, mechanisms are not by side-effect, so they'll
4024
+ # only be used when explicitly requested.
3863
4025
  if test "x$enable_dependency_tracking" = xyes; then
3864
4026
  continue
3865
4027
  else
@@ -3867,7 +4029,7 @@ else
3867
4029
  fi
3868
4030
  ;;
3869
4031
  msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3870
- # This compiler won't grok `-c -o', but also, the minuso test has
4032
+ # This compiler won't grok '-c -o', but also, the minuso test has
3871
4033
  # not run yet. These depmodes are late enough in the game, and
3872
4034
  # so weak that their functioning should not be impacted.
3873
4035
  am__obj=conftest.${OBJEXT-o}
@@ -6331,7 +6493,7 @@ ia64-*-hpux*)
6331
6493
  rm -rf conftest*
6332
6494
  ;;
6333
6495
 
6334
- x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6496
+ x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6335
6497
  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6336
6498
  # Find out which ABI we are using.
6337
6499
  echo 'int i;' > conftest.$ac_ext
@@ -6349,7 +6511,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6349
6511
  x86_64-*linux*)
6350
6512
  LD="${LD-ld} -m elf_i386"
6351
6513
  ;;
6352
- ppc64-*linux*|powerpc64-*linux*)
6514
+ powerpc64le-*linux*)
6515
+ LD="${LD-ld} -m elf32lppclinux"
6516
+ ;;
6517
+ powerpc64-*linux*)
6353
6518
  LD="${LD-ld} -m elf32ppclinux"
6354
6519
  ;;
6355
6520
  s390x-*linux*)
@@ -6368,7 +6533,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6368
6533
  x86_64-*linux*)
6369
6534
  LD="${LD-ld} -m elf_x86_64"
6370
6535
  ;;
6371
- ppc*-*linux*|powerpc*-*linux*)
6536
+ powerpcle-*linux*)
6537
+ LD="${LD-ld} -m elf64lppc"
6538
+ ;;
6539
+ powerpc-*linux*)
6372
6540
  LD="${LD-ld} -m elf64ppc"
6373
6541
  ;;
6374
6542
  s390*-*linux*|s390*-*tpf*)
@@ -7960,6 +8128,10 @@ _lt_linker_boilerplate=`cat conftest.err`
7960
8128
  $RM -r conftest*
7961
8129
 
7962
8130
 
8131
+ ## CAVEAT EMPTOR:
8132
+ ## There is no encapsulation within the following macros, do not change
8133
+ ## the running order or otherwise move them around unless you know exactly
8134
+ ## what you are doing...
7963
8135
  if test -n "$compiler"; then
7964
8136
 
7965
8137
  lt_prog_compiler_no_builtin_flag=
@@ -10514,10 +10686,14 @@ fi
10514
10686
  # before this can be enabled.
10515
10687
  hardcode_into_libs=yes
10516
10688
 
10689
+ # Add ABI-specific directories to the system library path.
10690
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10691
+
10517
10692
  # Append ld.so.conf contents to the search path
10518
10693
  if test -f /etc/ld.so.conf; then
10519
10694
  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' ' '`
10520
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10695
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10696
+
10521
10697
  fi
10522
10698
 
10523
10699
  # We used to test for /lib/ld.so.1 and disable shared libraries on
@@ -11718,131 +11894,6 @@ _ACEOF
11718
11894
  ;;
11719
11895
  esac
11720
11896
 
11721
- if test "x$CC" != xcc; then
11722
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11723
- $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11724
- else
11725
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11726
- $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11727
- fi
11728
- set dummy $CC; ac_cc=`$as_echo "$2" |
11729
- sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11730
- if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
11731
- $as_echo_n "(cached) " >&6
11732
- else
11733
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11734
- /* end confdefs.h. */
11735
-
11736
- int
11737
- main ()
11738
- {
11739
-
11740
- ;
11741
- return 0;
11742
- }
11743
- _ACEOF
11744
- # Make sure it works both with $CC and with simple cc.
11745
- # We do the test twice because some compilers refuse to overwrite an
11746
- # existing .o file with -o, though they will create one.
11747
- ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11748
- rm -f conftest2.*
11749
- if { { case "(($ac_try" in
11750
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11751
- *) ac_try_echo=$ac_try;;
11752
- esac
11753
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11754
- $as_echo "$ac_try_echo"; } >&5
11755
- (eval "$ac_try") 2>&5
11756
- ac_status=$?
11757
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11758
- test $ac_status = 0; } &&
11759
- test -f conftest2.$ac_objext && { { case "(($ac_try" in
11760
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11761
- *) ac_try_echo=$ac_try;;
11762
- esac
11763
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11764
- $as_echo "$ac_try_echo"; } >&5
11765
- (eval "$ac_try") 2>&5
11766
- ac_status=$?
11767
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11768
- test $ac_status = 0; };
11769
- then
11770
- eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11771
- if test "x$CC" != xcc; then
11772
- # Test first that cc exists at all.
11773
- if { ac_try='cc -c conftest.$ac_ext >&5'
11774
- { { case "(($ac_try" in
11775
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11776
- *) ac_try_echo=$ac_try;;
11777
- esac
11778
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11779
- $as_echo "$ac_try_echo"; } >&5
11780
- (eval "$ac_try") 2>&5
11781
- ac_status=$?
11782
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11783
- test $ac_status = 0; }; }; then
11784
- ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11785
- rm -f conftest2.*
11786
- if { { case "(($ac_try" in
11787
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11788
- *) ac_try_echo=$ac_try;;
11789
- esac
11790
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11791
- $as_echo "$ac_try_echo"; } >&5
11792
- (eval "$ac_try") 2>&5
11793
- ac_status=$?
11794
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11795
- test $ac_status = 0; } &&
11796
- test -f conftest2.$ac_objext && { { case "(($ac_try" in
11797
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11798
- *) ac_try_echo=$ac_try;;
11799
- esac
11800
- eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11801
- $as_echo "$ac_try_echo"; } >&5
11802
- (eval "$ac_try") 2>&5
11803
- ac_status=$?
11804
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11805
- test $ac_status = 0; };
11806
- then
11807
- # cc works too.
11808
- :
11809
- else
11810
- # cc exists but doesn't like -o.
11811
- eval ac_cv_prog_cc_${ac_cc}_c_o=no
11812
- fi
11813
- fi
11814
- fi
11815
- else
11816
- eval ac_cv_prog_cc_${ac_cc}_c_o=no
11817
- fi
11818
- rm -f core conftest*
11819
-
11820
- fi
11821
- if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11822
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11823
- $as_echo "yes" >&6; }
11824
- else
11825
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11826
- $as_echo "no" >&6; }
11827
-
11828
- $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11829
-
11830
- fi
11831
-
11832
- # FIXME: we rely on the cache variable name because
11833
- # there is no other way.
11834
- set dummy $CC
11835
- am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11836
- eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11837
- if test "$am_t" != yes; then
11838
- # Losing compiler, so override with the script.
11839
- # FIXME: It is wrong to rewrite CC.
11840
- # But if we don't then we get into trouble of one sort or another.
11841
- # A longer-term fix would be to have automake use am__CC in this case,
11842
- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11843
- CC="$am_aux_dir/compile $CC"
11844
- fi
11845
-
11846
11897
 
11847
11898
 
11848
11899
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
@@ -12668,6 +12719,14 @@ LIBOBJS=$ac_libobjs
12668
12719
  LTLIBOBJS=$ac_ltlibobjs
12669
12720
 
12670
12721
 
12722
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12723
+ $as_echo_n "checking that generated files are newer than configure... " >&6; }
12724
+ if test -n "$am_sleep_pid"; then
12725
+ # Hide warnings about reused PIDs.
12726
+ wait $am_sleep_pid 2>/dev/null
12727
+ fi
12728
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12729
+ $as_echo "done" >&6; }
12671
12730
  if test -n "$EXEEXT"; then
12672
12731
  am__EXEEXT_TRUE=
12673
12732
  am__EXEEXT_FALSE='#'
@@ -13129,7 +13188,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13129
13188
  # report actual input values of CONFIG_FILES etc. instead of their
13130
13189
  # values after options handling.
13131
13190
  ac_log="
13132
- This file was extended by libusb $as_me 1.0.18, which was
13191
+ This file was extended by libusb $as_me 1.0.19, which was
13133
13192
  generated by GNU Autoconf 2.69. Invocation command line was
13134
13193
 
13135
13194
  CONFIG_FILES = $CONFIG_FILES
@@ -13196,7 +13255,7 @@ _ACEOF
13196
13255
  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13197
13256
  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13198
13257
  ac_cs_version="\\
13199
- libusb config.status 1.0.18
13258
+ libusb config.status 1.0.19
13200
13259
  configured by $0, generated by GNU Autoconf 2.69,
13201
13260
  with options \\"\$ac_cs_config\\"
13202
13261
 
@@ -14282,7 +14341,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
14282
14341
 
14283
14342
  case $ac_file$ac_mode in
14284
14343
  "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14285
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
14344
+ # Older Autoconf quotes --file arguments for eval, but not when files
14286
14345
  # are listed without --file. Let's play safe and only enable the eval
14287
14346
  # if we detect the quoting.
14288
14347
  case $CONFIG_FILES in
@@ -14295,7 +14354,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
14295
14354
  # Strip MF so we end up with the name of the file.
14296
14355
  mf=`echo "$mf" | sed -e 's/:.*$//'`
14297
14356
  # Check whether this is an Automake generated Makefile or not.
14298
- # We used to match only the files named `Makefile.in', but
14357
+ # We used to match only the files named 'Makefile.in', but
14299
14358
  # some people rename them; so instead we look at the file content.
14300
14359
  # Grep'ing the first line is not enough: some people post-process
14301
14360
  # each Makefile.in and add a new line on top of each file to say so.
@@ -14329,21 +14388,19 @@ $as_echo X"$mf" |
14329
14388
  continue
14330
14389
  fi
14331
14390
  # Extract the definition of DEPDIR, am__include, and am__quote
14332
- # from the Makefile without running `make'.
14391
+ # from the Makefile without running 'make'.
14333
14392
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14334
14393
  test -z "$DEPDIR" && continue
14335
14394
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
14336
- test -z "am__include" && continue
14395
+ test -z "$am__include" && continue
14337
14396
  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"`
14340
14397
  # Find all dependency output files, they are included files with
14341
14398
  # $(DEPDIR) in their names. We invoke sed twice because it is the
14342
14399
  # simplest approach to changing $(DEPDIR) to its actual value in the
14343
14400
  # expansion.
14344
14401
  for file in `sed -n "
14345
14402
  s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14346
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14403
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14347
14404
  # Make sure the directory exists.
14348
14405
  test -f "$dirpart/$file" && continue
14349
14406
  fdir=`$as_dirname -- "$file" ||