Remove generated files
[framework/connectivity/libgphoto2.git] / libgphoto2_port / m4 / gp-udev.m4
1 dnl Determines whether UDEV code should be compiled.
2 dnl $1 contains shell code that returns 0 if all other prerequisites (like
3 dnl libusb) are available.
4 AC_DEFUN([GP_UDEV],[dnl
5 if test "x${udevscriptdir}" = "x"; then udevscriptdir="\${libdir}/udev"; fi
6 AC_ARG_VAR([udevscriptdir],[Directory where udev scripts like check-ptp-camera will be installed])
7 AC_SUBST([udevscriptdir])
8 AM_CONDITIONAL([HAVE_UDEV],[if echo "$host"|grep -i linux >/dev/null ; then $1; fi ])
9 ])dnl