summaryrefslogtreecommitdiffstats
path: root/package/libusb/libusb-01-uclinux.patch
blob: cbf48a75b3c4385199d3c3666d17c2e48a18514a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
*-uclinux* is valid in the tuple for linux, it's used for flat binaries
for example.
Patch both configure* for consistency and to avoid an unnecessary autoreconf.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura libusb-1.0.9.orig/configure libusb-1.0.9/configure
--- libusb-1.0.9.orig/configure	2013-09-03 10:13:52.212301259 -0300
+++ libusb-1.0.9/configure	2013-09-03 10:19:08.443669386 -0300
@@ -11093,7 +11093,7 @@
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
 $as_echo_n "checking operating system... " >&6; }
 case $host in
-*-linux*)
+*-linux* | *-uclinux*)
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
 $as_echo "Linux" >&6; }
 	backend="linux"
diff -Nura libusb-1.0.9.orig/configure.ac libusb-1.0.9/configure.ac
--- libusb-1.0.9.orig/configure.ac	2013-09-03 10:13:52.212301259 -0300
+++ libusb-1.0.9/configure.ac	2013-09-03 10:19:00.573411346 -0300
@@ -46,7 +46,7 @@
 
 AC_MSG_CHECKING([operating system])
 case $host in
-*-linux*)
+*-linux* | *-uclinux*)
 	AC_MSG_RESULT([Linux])
 	backend="linux"
 	;;
OpenPOWER on IntegriCloud