The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/config/user-udev.m4

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 AC_DEFUN([ZFS_AC_CONFIG_USER_UDEV], [
    2         AC_MSG_CHECKING(for udev directories)
    3         AC_ARG_WITH(udevdir,
    4                 AS_HELP_STRING([--with-udevdir=DIR],
    5                 [install udev helpers @<:@default=check@:>@]),
    6                 [udevdir=$withval],
    7                 [udevdir=check])
    8 
    9         AS_IF([test "x$udevdir" = xcheck], [
   10                 path1=/lib/udev
   11                 path2=/usr/lib/udev
   12                 default=$path2
   13 
   14                 AS_IF([test -d "$path1"], [udevdir="$path1"], [
   15                         AS_IF([test -d "$path2"], [udevdir="$path2"],
   16                                 [udevdir="$default"])
   17                 ])
   18         ])
   19 
   20         AC_ARG_WITH(udevruledir,
   21                 AS_HELP_STRING([--with-udevruledir=DIR],
   22                 [install udev rules [[UDEVDIR/rules.d]]]),
   23                 [udevruledir=$withval],
   24                 [udevruledir="${udevdir}/rules.d"])
   25 
   26         AC_SUBST(udevdir)
   27         AC_SUBST(udevruledir)
   28         AC_MSG_RESULT([$udevdir;$udevruledir])
   29 ])

Cache object: 7ca83386c1c4203bb84616d7ad8e0d84


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.