mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-10-29 05:40:23 -04:00 
			
		
		
		
	build-sys: Move acx_lirc.m4 contents to configure.ac
The file is so small, that it is clearer just to do it in the main file.
This commit is contained in:
		
							parent
							
								
									71d05f553d
								
							
						
					
					
						commit
						429512dd5f
					
				
					 2 changed files with 8 additions and 7 deletions
				
			
		|  | @ -895,8 +895,15 @@ AC_SUBST(LIBWRAP_LIBS) | |||
| AC_ARG_ENABLE([lirc], | ||||
|     AS_HELP_STRING([--disable-lirc],[Disable optional LIRC support])) | ||||
| 
 | ||||
| LIRC_CFLAGS= | ||||
| LIRC_LIBS= | ||||
| 
 | ||||
| AS_IF([test "x$enable_lirc" != "xno"], | ||||
|     [ACX_LIRC], | ||||
|     [ | ||||
|         HAVE_LIRC=1 | ||||
|         AC_CHECK_HEADER(lirc/lirc_client.h, [], [HAVE_LIRC=0]) | ||||
|         AC_CHECK_LIB(lirc_client, lirc_init, [LIRC_LIBS=-llirc_client], [HAVE_LIRC=0]) | ||||
|     ], | ||||
|     HAVE_LIRC=0) | ||||
| 
 | ||||
| AS_IF([test "x$enable_lirc" = "xyes" && test "x$HAVE_LIRC" = "x0"], | ||||
|  |  | |||
|  | @ -1,6 +0,0 @@ | |||
| AC_DEFUN([ACX_LIRC], [ | ||||
| LIRC_CFLAGS= | ||||
| LIRC_LIBS= | ||||
| AC_CHECK_HEADER(lirc/lirc_client.h,[AC_CHECK_LIB(lirc_client,lirc_init,[HAVE_LIRC=1 | ||||
| LIRC_LIBS=-llirc_client],HAVE_LIRC=0)],HAVE_LIRC=0) | ||||
| ]) | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Maarten Bosmans
						Maarten Bosmans