File: gp-udev.m4

package info (click to toggle)
libgphoto2 2.5.4-1.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 25,324 kB
  • ctags: 12,879
  • sloc: ansic: 113,538; sh: 12,438; xml: 4,811; perl: 975; makefile: 620; yacc: 337; lex: 92; cpp: 22; sed: 16
file content (9 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
dnl Determines whether UDEV code should be compiled.
dnl $1 contains shell code that returns 0 if all other prerequisites (like
dnl libusb) are available.
AC_DEFUN([GP_UDEV],[dnl
if test "x${udevscriptdir}" = "x"; then	udevscriptdir="\${libdir}/udev"; fi
AC_ARG_VAR([udevscriptdir],[Directory where udev scripts like check-ptp-camera will be installed])
AC_SUBST([udevscriptdir])
AM_CONDITIONAL([HAVE_UDEV],[if echo "$host"|grep -i linux >/dev/null ; then $1; fi ])
])dnl