libusb 0.5.0 → 0.5.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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +1 -0
- data/History.md +8 -0
- data/README.md +5 -15
- data/Rakefile +8 -1
- data/ext/extconf.rb +49 -12
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/AUTHORS +12 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/COPYING +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/ChangeLog +18 -2
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/INSTALL +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Makefile.am +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Makefile.in +31 -18
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/NEWS +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/PORTING +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/README +5 -3
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/TODO +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/common.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/config.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/debug.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/libusb.xcconfig +0 -0
- data/ext/libusb-1.0.20/Xcode/libusb.xcodeproj/project.pbxproj +865 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/libusb_debug.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/libusb_release.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/release.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/aclocal.m4 +35 -32
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/README +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/config.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/Android.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/Application.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/examples.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/libusb.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/tests.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/compile +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/config.guess +13 -160
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/config.h.in +6 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/config.sub +26 -12
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/configure +244 -20
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/configure.ac +27 -4
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/depcomp +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/doc/Makefile.am +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/doc/Makefile.in +19 -6
- data/ext/libusb-1.0.20/doc/doxygen.cfg.in +2334 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/Makefile.am +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/Makefile.in +19 -6
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/dpfp.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/dpfp_threaded.c +15 -10
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/ezusb.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/ezusb.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/fxload.c +28 -7
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/getopt/getopt.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/getopt/getopt.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/getopt/getopt1.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/hotplugtest.c +21 -3
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/listdevs.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/sam3u_benchmark.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/xusb.c +2 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/install-sh +170 -196
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb-1.0.pc.in +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/Makefile.am +15 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/Makefile.in +192 -53
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/core.c +218 -100
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/descriptor.c +3 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/hotplug.c +26 -9
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/hotplug.h +8 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/io.c +432 -290
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/libusb-1.0.def +2 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/libusb-1.0.rc +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/libusb.h +11 -10
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/libusbi.h +106 -29
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/darwin_usb.c +27 -67
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/darwin_usb.h +3 -7
- data/ext/libusb-1.0.20/libusb/os/haiku/Makefile.am +5 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/Makefile.in +810 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/aclocal.m4 +1193 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/compile +347 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/config.guess +1421 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/config.sub +1807 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/configure +17579 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/configure.ac +8 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/depcomp +791 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_pollfs.cpp +378 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb.h +112 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_backend.cpp +550 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_raw.cpp +255 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_raw.h +180 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/install-sh +501 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/ltmain.sh +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/libtool.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/ltoptions.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/ltsugar.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/ltversion.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/lt~obsolete.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/missing +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/linux_netlink.c +4 -4
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/linux_udev.c +1 -2
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/linux_usbfs.c +46 -49
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/linux_usbfs.h +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/netbsd_usb.c +9 -73
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/openbsd_usb.c +9 -73
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/poll_posix.c +2 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/poll_posix.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/poll_windows.c +3 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/poll_windows.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/threads_posix.c +3 -3
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/threads_posix.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/threads_windows.c +3 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/threads_windows.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/wince_usb.c +87 -250
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/wince_usb.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/windows_common.h +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/windows_usb.c +267 -181
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/windows_usb.h +22 -7
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/strerror.c +5 -2
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/sync.c +2 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/version.h +1 -1
- data/ext/libusb-1.0.20/libusb/version_nano.h +1 -0
- data/ext/libusb-1.0.20/ltmain.sh +9655 -0
- data/ext/libusb-1.0.20/m4/libtool.m4 +7992 -0
- data/ext/libusb-1.0.20/m4/ltoptions.m4 +384 -0
- data/ext/libusb-1.0.20/m4/ltsugar.m4 +123 -0
- data/ext/libusb-1.0.20/m4/ltversion.m4 +23 -0
- data/ext/libusb-1.0.20/m4/lt~obsolete.m4 +98 -0
- data/ext/libusb-1.0.20/missing +215 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/Makefile.am +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/Makefile.in +19 -6
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/libusb_testlib.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/stress.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/testlib.c +0 -0
- data/lib/libusb.rb +1 -0
- data/lib/libusb/call.rb +1 -0
- data/lib/libusb/context.rb +5 -2
- data/lib/libusb/stdio.rb +25 -0
- data/lib/libusb/version_gem.rb +1 -1
- data/libusb.gemspec +2 -1
- metadata +152 -115
- metadata.gz.sig +0 -0
- data/ext/libusb-1.0.19/Xcode/libusb.xcodeproj/project.pbxproj +0 -1
- data/ext/libusb-1.0.19/doc/doxygen.cfg.in +0 -1288
- data/ext/libusb-1.0.19/libusb/version_nano.h +0 -1
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# generated automatically by aclocal 1.
|
|
1
|
+
# generated automatically by aclocal 1.15 -*- Autoconf -*-
|
|
2
2
|
|
|
3
|
-
# Copyright (C) 1996-
|
|
3
|
+
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
|
4
4
|
|
|
5
5
|
# This file is free software; the Free Software Foundation
|
|
6
6
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
|
|
|
20
20
|
If you have problems, you may need to regenerate the build system entirely.
|
|
21
21
|
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
|
|
22
22
|
|
|
23
|
-
# Copyright (C) 2002-
|
|
23
|
+
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
|
|
24
24
|
#
|
|
25
25
|
# This file is free software; the Free Software Foundation
|
|
26
26
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
|
|
|
32
32
|
# generated from the m4 files accompanying Automake X.Y.
|
|
33
33
|
# (This private macro should not be called outside this file.)
|
|
34
34
|
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
|
35
|
-
[am__api_version='1.
|
|
35
|
+
[am__api_version='1.15'
|
|
36
36
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
|
37
37
|
dnl require some minimum version. Point them to the right macro.
|
|
38
|
-
m4_if([$1], [1.
|
|
38
|
+
m4_if([$1], [1.15], [],
|
|
39
39
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
|
40
40
|
])
|
|
41
41
|
|
|
@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
|
|
|
51
51
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
|
52
52
|
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
|
53
53
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
|
54
|
-
[AM_AUTOMAKE_VERSION([1.
|
|
54
|
+
[AM_AUTOMAKE_VERSION([1.15])dnl
|
|
55
55
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
|
56
56
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
|
57
57
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
|
58
58
|
|
|
59
59
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
|
60
60
|
|
|
61
|
-
# Copyright (C) 2001-
|
|
61
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
|
62
62
|
#
|
|
63
63
|
# This file is free software; the Free Software Foundation
|
|
64
64
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -103,15 +103,14 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
|
|
103
103
|
# configured tree to be moved without reconfiguration.
|
|
104
104
|
|
|
105
105
|
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
|
106
|
-
[dnl
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
106
|
+
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
|
107
|
+
# Expand $ac_aux_dir to an absolute path.
|
|
108
|
+
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
|
110
109
|
])
|
|
111
110
|
|
|
112
111
|
# AM_CONDITIONAL -*- Autoconf -*-
|
|
113
112
|
|
|
114
|
-
# Copyright (C) 1997-
|
|
113
|
+
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
|
|
115
114
|
#
|
|
116
115
|
# This file is free software; the Free Software Foundation
|
|
117
116
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -142,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE(
|
|
|
142
141
|
Usually this means the macro was only invoked conditionally.]])
|
|
143
142
|
fi])])
|
|
144
143
|
|
|
145
|
-
# Copyright (C) 1999-
|
|
144
|
+
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
|
146
145
|
#
|
|
147
146
|
# This file is free software; the Free Software Foundation
|
|
148
147
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -333,7 +332,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
|
|
|
333
332
|
|
|
334
333
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
|
335
334
|
|
|
336
|
-
# Copyright (C) 1999-
|
|
335
|
+
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
|
337
336
|
#
|
|
338
337
|
# This file is free software; the Free Software Foundation
|
|
339
338
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -409,7 +408,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|
|
409
408
|
|
|
410
409
|
# Do all the work for Automake. -*- Autoconf -*-
|
|
411
410
|
|
|
412
|
-
# Copyright (C) 1996-
|
|
411
|
+
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
|
413
412
|
#
|
|
414
413
|
# This file is free software; the Free Software Foundation
|
|
415
414
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -499,8 +498,8 @@ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
|
|
499
498
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
|
500
499
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
|
501
500
|
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
|
|
502
|
-
# We need awk for the "check" target
|
|
503
|
-
# some platforms.
|
|
501
|
+
# We need awk for the "check" target (and possibly the TAP driver). The
|
|
502
|
+
# system "awk" is bad on some platforms.
|
|
504
503
|
AC_REQUIRE([AC_PROG_AWK])dnl
|
|
505
504
|
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
|
506
505
|
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
|
@@ -573,7 +572,11 @@ to "yes", and re-run configure.
|
|
|
573
572
|
END
|
|
574
573
|
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
|
|
575
574
|
fi
|
|
576
|
-
fi
|
|
575
|
+
fi
|
|
576
|
+
dnl The trailing newline in this macro's definition is deliberate, for
|
|
577
|
+
dnl backward compatibility and to allow trailing 'dnl'-style comments
|
|
578
|
+
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
|
|
579
|
+
])
|
|
577
580
|
|
|
578
581
|
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
|
|
579
582
|
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
|
|
@@ -602,7 +605,7 @@ for _am_header in $config_headers :; do
|
|
|
602
605
|
done
|
|
603
606
|
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
|
604
607
|
|
|
605
|
-
# Copyright (C) 2001-
|
|
608
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
|
606
609
|
#
|
|
607
610
|
# This file is free software; the Free Software Foundation
|
|
608
611
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -613,7 +616,7 @@ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
|
|
|
613
616
|
# Define $install_sh.
|
|
614
617
|
AC_DEFUN([AM_PROG_INSTALL_SH],
|
|
615
618
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
616
|
-
if test x"${install_sh}" != xset; then
|
|
619
|
+
if test x"${install_sh+set}" != xset; then
|
|
617
620
|
case $am_aux_dir in
|
|
618
621
|
*\ * | *\ *)
|
|
619
622
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
@@ -623,7 +626,7 @@ if test x"${install_sh}" != xset; then
|
|
|
623
626
|
fi
|
|
624
627
|
AC_SUBST([install_sh])])
|
|
625
628
|
|
|
626
|
-
# Copyright (C) 2003-
|
|
629
|
+
# Copyright (C) 2003-2014 Free Software Foundation, Inc.
|
|
627
630
|
#
|
|
628
631
|
# This file is free software; the Free Software Foundation
|
|
629
632
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -645,7 +648,7 @@ AC_SUBST([am__leading_dot])])
|
|
|
645
648
|
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
|
646
649
|
# From Jim Meyering
|
|
647
650
|
|
|
648
|
-
# Copyright (C) 1996-
|
|
651
|
+
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
|
649
652
|
#
|
|
650
653
|
# This file is free software; the Free Software Foundation
|
|
651
654
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -680,7 +683,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
|
|
680
683
|
|
|
681
684
|
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
|
682
685
|
|
|
683
|
-
# Copyright (C) 2001-
|
|
686
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
|
684
687
|
#
|
|
685
688
|
# This file is free software; the Free Software Foundation
|
|
686
689
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -730,7 +733,7 @@ rm -f confinc confmf
|
|
|
730
733
|
|
|
731
734
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
|
732
735
|
|
|
733
|
-
# Copyright (C) 1997-
|
|
736
|
+
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
|
|
734
737
|
#
|
|
735
738
|
# This file is free software; the Free Software Foundation
|
|
736
739
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -769,7 +772,7 @@ fi
|
|
|
769
772
|
|
|
770
773
|
# Helper functions for option handling. -*- Autoconf -*-
|
|
771
774
|
|
|
772
|
-
# Copyright (C) 2001-
|
|
775
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
|
773
776
|
#
|
|
774
777
|
# This file is free software; the Free Software Foundation
|
|
775
778
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -798,7 +801,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
|
|
|
798
801
|
AC_DEFUN([_AM_IF_OPTION],
|
|
799
802
|
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
|
800
803
|
|
|
801
|
-
# Copyright (C) 1999-
|
|
804
|
+
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
|
802
805
|
#
|
|
803
806
|
# This file is free software; the Free Software Foundation
|
|
804
807
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -845,7 +848,7 @@ AC_LANG_POP([C])])
|
|
|
845
848
|
# For backward compatibility.
|
|
846
849
|
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
|
847
850
|
|
|
848
|
-
# Copyright (C) 2001-
|
|
851
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
|
849
852
|
#
|
|
850
853
|
# This file is free software; the Free Software Foundation
|
|
851
854
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -864,7 +867,7 @@ AC_DEFUN([AM_RUN_LOG],
|
|
|
864
867
|
|
|
865
868
|
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
|
866
869
|
|
|
867
|
-
# Copyright (C) 1996-
|
|
870
|
+
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
|
868
871
|
#
|
|
869
872
|
# This file is free software; the Free Software Foundation
|
|
870
873
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -945,7 +948,7 @@ AC_CONFIG_COMMANDS_PRE(
|
|
|
945
948
|
rm -f conftest.file
|
|
946
949
|
])
|
|
947
950
|
|
|
948
|
-
# Copyright (C) 2009-
|
|
951
|
+
# Copyright (C) 2009-2014 Free Software Foundation, Inc.
|
|
949
952
|
#
|
|
950
953
|
# This file is free software; the Free Software Foundation
|
|
951
954
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -1005,7 +1008,7 @@ AC_SUBST([AM_BACKSLASH])dnl
|
|
|
1005
1008
|
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
|
|
1006
1009
|
])
|
|
1007
1010
|
|
|
1008
|
-
# Copyright (C) 2001-
|
|
1011
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
|
1009
1012
|
#
|
|
1010
1013
|
# This file is free software; the Free Software Foundation
|
|
1011
1014
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -1033,7 +1036,7 @@ fi
|
|
|
1033
1036
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
1034
1037
|
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|
1035
1038
|
|
|
1036
|
-
# Copyright (C) 2006-
|
|
1039
|
+
# Copyright (C) 2006-2014 Free Software Foundation, Inc.
|
|
1037
1040
|
#
|
|
1038
1041
|
# This file is free software; the Free Software Foundation
|
|
1039
1042
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -1052,7 +1055,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
|
|
1052
1055
|
|
|
1053
1056
|
# Check how to create a tarball. -*- Autoconf -*-
|
|
1054
1057
|
|
|
1055
|
-
# Copyright (C) 2004-
|
|
1058
|
+
# Copyright (C) 2004-2014 Free Software Foundation, Inc.
|
|
1056
1059
|
#
|
|
1057
1060
|
# This file is free software; the Free Software Foundation
|
|
1058
1061
|
# gives unlimited permission to copy and/or distribute it,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
scriptversion=2012-10-14.11; # UTC
|
|
5
5
|
|
|
6
|
-
# Copyright (C) 1999-
|
|
6
|
+
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
|
7
7
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
|
8
8
|
#
|
|
9
9
|
# This program is free software; you can redistribute it and/or modify
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#! /bin/sh
|
|
2
2
|
# Attempt to guess a canonical system name.
|
|
3
|
-
# Copyright 1992-
|
|
3
|
+
# Copyright 1992-2015 Free Software Foundation, Inc.
|
|
4
4
|
|
|
5
|
-
timestamp='
|
|
5
|
+
timestamp='2015-01-01'
|
|
6
6
|
|
|
7
7
|
# This file is free software; you can redistribute it and/or modify it
|
|
8
8
|
# under the terms of the GNU General Public License as published by
|
|
@@ -24,12 +24,12 @@ timestamp='2013-11-29'
|
|
|
24
24
|
# program. This Exception is an additional permission under section 7
|
|
25
25
|
# of the GNU General Public License, version 3 ("GPLv3").
|
|
26
26
|
#
|
|
27
|
-
# Originally written by Per Bothner.
|
|
27
|
+
# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
|
|
28
28
|
#
|
|
29
29
|
# You can get the latest version of this script from:
|
|
30
30
|
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
31
31
|
#
|
|
32
|
-
# Please send patches
|
|
32
|
+
# Please send patches to <config-patches@gnu.org>.
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
|
@@ -50,7 +50,7 @@ version="\
|
|
|
50
50
|
GNU config.guess ($timestamp)
|
|
51
51
|
|
|
52
52
|
Originally written by Per Bothner.
|
|
53
|
-
Copyright 1992-
|
|
53
|
+
Copyright 1992-2015 Free Software Foundation, Inc.
|
|
54
54
|
|
|
55
55
|
This is free software; see the source for copying conditions. There is NO
|
|
56
56
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
@@ -149,7 +149,7 @@ Linux|GNU|GNU/*)
|
|
|
149
149
|
LIBC=gnu
|
|
150
150
|
#endif
|
|
151
151
|
EOF
|
|
152
|
-
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
|
152
|
+
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
|
|
153
153
|
;;
|
|
154
154
|
esac
|
|
155
155
|
|
|
@@ -579,8 +579,9 @@ EOF
|
|
|
579
579
|
else
|
|
580
580
|
IBM_ARCH=powerpc
|
|
581
581
|
fi
|
|
582
|
-
if [ -x /usr/bin/
|
|
583
|
-
IBM_REV=`/usr/bin/
|
|
582
|
+
if [ -x /usr/bin/lslpp ] ; then
|
|
583
|
+
IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
|
|
584
|
+
awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
|
|
584
585
|
else
|
|
585
586
|
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
|
586
587
|
fi
|
|
@@ -826,7 +827,7 @@ EOF
|
|
|
826
827
|
*:MINGW*:*)
|
|
827
828
|
echo ${UNAME_MACHINE}-pc-mingw32
|
|
828
829
|
exit ;;
|
|
829
|
-
|
|
830
|
+
*:MSYS*:*)
|
|
830
831
|
echo ${UNAME_MACHINE}-pc-msys
|
|
831
832
|
exit ;;
|
|
832
833
|
i*:windows32*:*)
|
|
@@ -969,10 +970,10 @@ EOF
|
|
|
969
970
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
|
970
971
|
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
|
971
972
|
;;
|
|
972
|
-
|
|
973
|
-
echo
|
|
973
|
+
openrisc*:Linux:*:*)
|
|
974
|
+
echo or1k-unknown-linux-${LIBC}
|
|
974
975
|
exit ;;
|
|
975
|
-
or32:Linux:*:*)
|
|
976
|
+
or32:Linux:*:* | or1k*:Linux:*:*)
|
|
976
977
|
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
977
978
|
exit ;;
|
|
978
979
|
padre:Linux:*:*)
|
|
@@ -1371,154 +1372,6 @@ EOF
|
|
|
1371
1372
|
exit ;;
|
|
1372
1373
|
esac
|
|
1373
1374
|
|
|
1374
|
-
eval $set_cc_for_build
|
|
1375
|
-
cat >$dummy.c <<EOF
|
|
1376
|
-
#ifdef _SEQUENT_
|
|
1377
|
-
# include <sys/types.h>
|
|
1378
|
-
# include <sys/utsname.h>
|
|
1379
|
-
#endif
|
|
1380
|
-
main ()
|
|
1381
|
-
{
|
|
1382
|
-
#if defined (sony)
|
|
1383
|
-
#if defined (MIPSEB)
|
|
1384
|
-
/* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
|
|
1385
|
-
I don't know.... */
|
|
1386
|
-
printf ("mips-sony-bsd\n"); exit (0);
|
|
1387
|
-
#else
|
|
1388
|
-
#include <sys/param.h>
|
|
1389
|
-
printf ("m68k-sony-newsos%s\n",
|
|
1390
|
-
#ifdef NEWSOS4
|
|
1391
|
-
"4"
|
|
1392
|
-
#else
|
|
1393
|
-
""
|
|
1394
|
-
#endif
|
|
1395
|
-
); exit (0);
|
|
1396
|
-
#endif
|
|
1397
|
-
#endif
|
|
1398
|
-
|
|
1399
|
-
#if defined (__arm) && defined (__acorn) && defined (__unix)
|
|
1400
|
-
printf ("arm-acorn-riscix\n"); exit (0);
|
|
1401
|
-
#endif
|
|
1402
|
-
|
|
1403
|
-
#if defined (hp300) && !defined (hpux)
|
|
1404
|
-
printf ("m68k-hp-bsd\n"); exit (0);
|
|
1405
|
-
#endif
|
|
1406
|
-
|
|
1407
|
-
#if defined (NeXT)
|
|
1408
|
-
#if !defined (__ARCHITECTURE__)
|
|
1409
|
-
#define __ARCHITECTURE__ "m68k"
|
|
1410
|
-
#endif
|
|
1411
|
-
int version;
|
|
1412
|
-
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
|
|
1413
|
-
if (version < 4)
|
|
1414
|
-
printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
|
|
1415
|
-
else
|
|
1416
|
-
printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
|
|
1417
|
-
exit (0);
|
|
1418
|
-
#endif
|
|
1419
|
-
|
|
1420
|
-
#if defined (MULTIMAX) || defined (n16)
|
|
1421
|
-
#if defined (UMAXV)
|
|
1422
|
-
printf ("ns32k-encore-sysv\n"); exit (0);
|
|
1423
|
-
#else
|
|
1424
|
-
#if defined (CMU)
|
|
1425
|
-
printf ("ns32k-encore-mach\n"); exit (0);
|
|
1426
|
-
#else
|
|
1427
|
-
printf ("ns32k-encore-bsd\n"); exit (0);
|
|
1428
|
-
#endif
|
|
1429
|
-
#endif
|
|
1430
|
-
#endif
|
|
1431
|
-
|
|
1432
|
-
#if defined (__386BSD__)
|
|
1433
|
-
printf ("i386-pc-bsd\n"); exit (0);
|
|
1434
|
-
#endif
|
|
1435
|
-
|
|
1436
|
-
#if defined (sequent)
|
|
1437
|
-
#if defined (i386)
|
|
1438
|
-
printf ("i386-sequent-dynix\n"); exit (0);
|
|
1439
|
-
#endif
|
|
1440
|
-
#if defined (ns32000)
|
|
1441
|
-
printf ("ns32k-sequent-dynix\n"); exit (0);
|
|
1442
|
-
#endif
|
|
1443
|
-
#endif
|
|
1444
|
-
|
|
1445
|
-
#if defined (_SEQUENT_)
|
|
1446
|
-
struct utsname un;
|
|
1447
|
-
|
|
1448
|
-
uname(&un);
|
|
1449
|
-
|
|
1450
|
-
if (strncmp(un.version, "V2", 2) == 0) {
|
|
1451
|
-
printf ("i386-sequent-ptx2\n"); exit (0);
|
|
1452
|
-
}
|
|
1453
|
-
if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
|
|
1454
|
-
printf ("i386-sequent-ptx1\n"); exit (0);
|
|
1455
|
-
}
|
|
1456
|
-
printf ("i386-sequent-ptx\n"); exit (0);
|
|
1457
|
-
|
|
1458
|
-
#endif
|
|
1459
|
-
|
|
1460
|
-
#if defined (vax)
|
|
1461
|
-
# if !defined (ultrix)
|
|
1462
|
-
# include <sys/param.h>
|
|
1463
|
-
# if defined (BSD)
|
|
1464
|
-
# if BSD == 43
|
|
1465
|
-
printf ("vax-dec-bsd4.3\n"); exit (0);
|
|
1466
|
-
# else
|
|
1467
|
-
# if BSD == 199006
|
|
1468
|
-
printf ("vax-dec-bsd4.3reno\n"); exit (0);
|
|
1469
|
-
# else
|
|
1470
|
-
printf ("vax-dec-bsd\n"); exit (0);
|
|
1471
|
-
# endif
|
|
1472
|
-
# endif
|
|
1473
|
-
# else
|
|
1474
|
-
printf ("vax-dec-bsd\n"); exit (0);
|
|
1475
|
-
# endif
|
|
1476
|
-
# else
|
|
1477
|
-
printf ("vax-dec-ultrix\n"); exit (0);
|
|
1478
|
-
# endif
|
|
1479
|
-
#endif
|
|
1480
|
-
|
|
1481
|
-
#if defined (alliant) && defined (i860)
|
|
1482
|
-
printf ("i860-alliant-bsd\n"); exit (0);
|
|
1483
|
-
#endif
|
|
1484
|
-
|
|
1485
|
-
exit (1);
|
|
1486
|
-
}
|
|
1487
|
-
EOF
|
|
1488
|
-
|
|
1489
|
-
$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
|
|
1490
|
-
{ echo "$SYSTEM_NAME"; exit; }
|
|
1491
|
-
|
|
1492
|
-
# Apollos put the system type in the environment.
|
|
1493
|
-
|
|
1494
|
-
test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
|
|
1495
|
-
|
|
1496
|
-
# Convex versions that predate uname can use getsysinfo(1)
|
|
1497
|
-
|
|
1498
|
-
if [ -x /usr/convex/getsysinfo ]
|
|
1499
|
-
then
|
|
1500
|
-
case `getsysinfo -f cpu_type` in
|
|
1501
|
-
c1*)
|
|
1502
|
-
echo c1-convex-bsd
|
|
1503
|
-
exit ;;
|
|
1504
|
-
c2*)
|
|
1505
|
-
if getsysinfo -f scalar_acc
|
|
1506
|
-
then echo c32-convex-bsd
|
|
1507
|
-
else echo c2-convex-bsd
|
|
1508
|
-
fi
|
|
1509
|
-
exit ;;
|
|
1510
|
-
c34*)
|
|
1511
|
-
echo c34-convex-bsd
|
|
1512
|
-
exit ;;
|
|
1513
|
-
c38*)
|
|
1514
|
-
echo c38-convex-bsd
|
|
1515
|
-
exit ;;
|
|
1516
|
-
c4*)
|
|
1517
|
-
echo c4-convex-bsd
|
|
1518
|
-
exit ;;
|
|
1519
|
-
esac
|
|
1520
|
-
fi
|
|
1521
|
-
|
|
1522
1375
|
cat >&2 <<EOF
|
|
1523
1376
|
$0: unable to guess system type
|
|
1524
1377
|
|