File: configure-drop-udev-check.patch

package info (click to toggle)
midisport-firmware 1.2-8
  • links: PTS, VCS
  • area: non-free-firmware
  • in suites: forky, sid
  • size: 356 kB
  • sloc: sh: 459; makefile: 38
file content (27 lines) | stat: -rw-r--r-- 834 bytes parent folder | download
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
From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Forwarded: not-needed
Description: Strip udev version check from configure
 We are Debian, we know the udev version. (via build dependency).
 Without this patch, we'd need to augment $PATH (/sbin/udevadm) in the
 pbuilder, just to find out that we have the right one.
--- a/configure.ac
+++ b/configure.ac
@@ -22,18 +22,6 @@
   AC_MSG_ERROR([$FXLOAD not found; please install the fxload package first])
 fi
 
-AC_MSG_CHECKING([for udev version])
-udev_ver=`udevadm -V`
-if test -n "$udev_ver"; then
-  AC_MSG_RESULT([$udev_ver])
-else
-  AC_MSG_RESULT([none])
-  udev_ver="0"
-fi
-if test "$udev_ver" -lt 057; then
-  AC_MSG_ERROR([udev version 057 or later is required])
-fi
-
 AC_ARG_WITH([udev],
 	    AS_HELP_STRING([--with-udev=dir],
 			   [specify udev directory [[/etc/udev]]]),