summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 1a7ff1a..41d63fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,10 +13,7 @@ if test "${ac_with_udevdir}" = ""; then
ac_with_udevdir=`$PKG_CONFIG --variable=udevdir udev`
fi
-AC_CHECK_PROG([PYTHON], [python3], [python3])
-if test "x$PYTHON" = "x"; then
- AC_MSG_ERROR([python3 not found])
-fi
+AM_PATH_PYTHON([3])
AC_MSG_NOTICE([installing udev rules in ${ac_with_udevdir}/rules.d])
AC_SUBST([UDEV_DIR],[${ac_with_udevdir}])