mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Add a configure option to change 'udevrulesdir'
This patch serves two purposes:
  1) Allows something other than the de-facto standard udev rules dir or
     /lib/udev/rules.d to be used (the udev build system allows you to
     customise this)
  2) Allows a prefixed, non-root install (right now, the /lib/... path
     is hard-coded into the build system
			
			
This commit is contained in:
		
							parent
							
								
									165cb87c38
								
							
						
					
					
						commit
						9729966ac3
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1374,6 +1374,13 @@ AC_ARG_WITH(
 | 
			
		|||
 | 
			
		||||
AC_SUBST(modlibexecdir)
 | 
			
		||||
 | 
			
		||||
AC_ARG_WITH(
 | 
			
		||||
        [udev-rules-dir],
 | 
			
		||||
        AS_HELP_STRING([--with-udev-rules-dir],[Directory where to install udev rules to (defaults to /lib/udev/rules.d)]),
 | 
			
		||||
        [udevrulesdir=$withval], [udevrulesdir="/lib/udev/rules.d"])
 | 
			
		||||
 | 
			
		||||
AC_SUBST(udevrulesdir)
 | 
			
		||||
 | 
			
		||||
AC_ARG_ENABLE(
 | 
			
		||||
        [force-preopen],
 | 
			
		||||
        AS_HELP_STRING([--enable-force-preopen],[Preopen modules, even when dlopen() is supported.]),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,7 +31,6 @@ pulselibexecdir=$(libexecdir)/pulse
 | 
			
		|||
xdgautostartdir=$(sysconfdir)/xdg/autostart
 | 
			
		||||
alsaprofilesetsdir=$(datadir)/pulseaudio/alsa-mixer/profile-sets
 | 
			
		||||
alsapathsdir=$(datadir)/pulseaudio/alsa-mixer/paths
 | 
			
		||||
udevrulesdir=/lib/udev/rules.d
 | 
			
		||||
dbuspolicydir=$(sysconfdir)/dbus-1/system.d
 | 
			
		||||
 | 
			
		||||
###################################
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue