Thomas De Schampheleire 
								
							 
						 
						
							
							
							
							
								
							
							
								178fe66bc8 
								
							 
						 
						
							
							
								
								utils/alsa.m4: conditionally enable libdl in AM_PATH_ALSA m4 macro  
							
							 
							
							... 
							
							
							
							The AM_PATH_ALSA macro in utils/alsa.m4 unconditionally uses
-ldl. This breaks compilation of alsa-utils (and probably other
packages using this macro) for targets that do not support dynamic
loading.
This patch updates the macro to check if dlopen is available, and use
that result to conditionally add -ldl to the list of libraries.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de> 
							
						 
						
							2018-11-02 14:57:50 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Patrick Welche 
								
							 
						 
						
							
							
							
							
								
							
							
								b669b50de2 
								
							 
						 
						
							
							
								
								autotools: update style  
							
							 
							
							... 
							
							
							
							- rename configure.in to configure.ac
- replace INCLUDES with AM_CPPFLAGS
- modernize AM_INIT_AUTOMAKE invocation
Signed-off-by: Patrick Welche <prlw1@cam.ac.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de> 
							
						 
						
							2014-02-26 08:16:22 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Arun Raghavan 
								
							 
						 
						
							
							
							
							
								
							
							
								480d3204fe 
								
							 
						 
						
							
							
								
								build: Disable another compile chack with --disable-alsatest  
							
							 
							
							... 
							
							
							
							Signed-off-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de> 
							
						 
						
							2012-07-17 14:57:10 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								98d4ed8810 
								
							 
						 
						
							
							
								
								Introduce --with-pkgconfdir, add 64-bit defaults to gitcompile  
							
							 
							
							... 
							
							
							
							Signed-off-by: Jaroslav Kysela <perex@perex.cz> 
							
						 
						
							2012-01-20 16:14:44 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								d25e281230 
								
							 
						 
						
							
							
								
								Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz  
							
							 
							
							
							
						 
						
							2007-10-15 10:24:55 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								70e4ec9d08 
								
							 
						 
						
							
							
								
								Allow build without libdl and libpthread  
							
							 
							
							... 
							
							
							
							Allow building alsa-lib without libdl and libpthread.
Added new options to configure, --with-libdl and --with-pthread. 
							
						 
						
							2007-03-22 00:48:18 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								7668e264af 
								
							 
						 
						
							
							
								
								alsa.pc's Libs shouldn't contain -lm -ldl -lpthread  
							
							 
							
							... 
							
							
							
							-lm -ldl -lpthread are _not_ needed in Libs (since the alsa interface
doesn't depend on libm, libdl or libpthread interface) and just bring
unneeded dependencies. These should rather be put in Libs.private:
Libs: -L${libdir} -lasound
Libs.private: -lm -ldl -lpthread
See ALSA bug#2212 . 
							
						 
						
							2006-10-06 10:38:39 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								5c51b6570e 
								
							 
						 
						
							
							
								
								Changed permissions for scripts and added .hgignore file  
							
							 
							
							... 
							
							
							
							Initial version of .hgignore file 
							
						 
						
							2006-04-06 19:14:01 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								8c09d72743 
								
							 
						 
						
							
							
								
								Add $include/alsa to the include path  
							
							 
							
							... 
							
							
							
							Added $include/alsa to the include path again for backward compatibility.
Some apps fail to be built without this. 
							
						 
						
							2005-05-15 14:49:11 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								c2644837fd 
								
							 
						 
						
							
							
								
								Fix the include path  
							
							 
							
							... 
							
							
							
							Fixed the include path.  Apps should include like <alsa/xxx>. 
							
						 
						
							2005-02-08 20:30:15 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								cc17f92972 
								
							 
						 
						
							
							
								
								[ALSA-LIB] remove the library replacement for $LIBS  
							
							 
							
							... 
							
							
							
							Don't remove libs (e.g. -lm -ldl) from $LIBS incorrectly.
Better to keep them than wrong replacement. 
							
						 
						
							2004-09-15 18:48:07 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								871206c848 
								
							 
						 
						
							
							
								
								Added rpmbuild detection  
							
							 
							
							
							
						 
						
							2004-03-14 17:06:01 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								bc2f075269 
								
							 
						 
						
							
							
								
								- fixed for the recent autoconf/automake.  
							
							 
							
							... 
							
							
							
							- implemented --enable-alsatest feature. 
							
						 
						
							2004-01-16 18:14:22 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								4894758be0 
								
							 
						 
						
							
							
								
								clean up the spec file by Ronny V. Vindenes.  
							
							 
							
							
							
						 
						
							2003-02-25 15:34:23 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								ec415ef3a9 
								
							 
						 
						
							
							
								
								added pkg-config file alsa.pc.  
							
							 
							
							
							
						 
						
							2002-09-18 16:38:18 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								ea83756fbe 
								
							 
						 
						
							
							
								
								- removed snd_seq_create_event from seq.h.  it's deprecated.  
							
							 
							
							... 
							
							
							
							the function itself still exists for compatibility
  but protected by DOC_HIDDEN.
- a bit more comments about snd_seq_free_event.
- since alsa.m4 used snd_seq_create_event for checking libasound,
  now it's replaced with snd_ctl_open. 
							
						 
						
							2002-05-27 11:14:20 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								2c03ec1530 
								
							 
						 
						
							
							
								
								Reverted and fixed AC_TRY_COMPILE  
							
							 
							
							
							
						 
						
							2002-04-04 07:08:41 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								bc17ff6258 
								
							 
						 
						
							
							
								
								Changed AC_TRY_COMPILE to AC_TRY_RUN  
							
							 
							
							
							
						 
						
							2002-04-04 07:07:13 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								5ba91b544f 
								
							 
						 
						
							
							
								
								Added Id:  
							
							 
							
							
							
						 
						
							2001-12-19 07:28:40 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								a74d1ea689 
								
							 
						 
						
							
							
								
								Added pthread library  
							
							 
							
							
							
						 
						
							2001-12-18 07:00:57 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								41bb3d04fe 
								
							 
						 
						
							
							
								
								Updated...  
							
							 
							
							
							
						 
						
							2001-11-20 09:30:15 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								8a99a9eb4f 
								
							 
						 
						
							
							
								
								Added support for SuSE and automake  
							
							 
							
							
							
						 
						
							2001-11-20 09:29:21 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								df4a432789 
								
							 
						 
						
							
							
								
								Modifications by Miroslav Benes <mbenes@tenez.cz>  
							
							 
							
							
							
						 
						
							2001-11-12 09:36:14 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								23d8f9a0b0 
								
							 
						 
						
							
							
								
								Fixed paths by Mark Cooke  
							
							 
							
							
							
						 
						
							2001-09-26 07:41:05 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								40f3f992dc 
								
							 
						 
						
							
							
								
								Added /usr/share/alsa directory  
							
							 
							
							
							
						 
						
							2001-09-21 08:29:32 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								b1be87d51e 
								
							 
						 
						
							
							
								
								Changed location of asoundlib.h  
							
							 
							
							
							
						 
						
							2001-09-11 09:35:42 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								b7c05ad942 
								
							 
						 
						
							
							
								
								Removed snd_defaults_ functions.  
							
							 
							
							... 
							
							
							
							Updated the syntax of configuration file to substitute values from
the environment space.
Updated alsa.conf to replace old snd_defaults_ functions. 
							
						 
						
							2001-06-08 10:15:25 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								bd9958168d 
								
							 
						 
						
							
							
								
								One more fix  
							
							 
							
							
							
						 
						
							2001-04-19 10:46:49 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								199d3e4277 
								
							 
						 
						
							
							
								
								Working replacement  
							
							 
							
							
							
						 
						
							2001-04-19 10:40:27 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								ad9f4cd3a6 
								
							 
						 
						
							
							
								
								Added removal of duplicated -lm and -ldl entries  
							
							 
							
							
							
						 
						
							2001-04-19 10:30:35 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								7b06e6f762 
								
							 
						 
						
							
							
								
								Modifications to handle the if-not-found situation  
							
							 
							
							
							
						 
						
							2001-01-14 19:59:51 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								2fe1219099 
								
							 
						 
						
							
							
								
								Added -ldl to LIBS  
							
							 
							
							
							
						 
						
							2000-12-18 22:32:37 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								17fe446785 
								
							 
						 
						
							
							
								
								snd_cards->snd_defaults_card  
							
							 
							
							
							
						 
						
							2000-12-04 16:19:43 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								e5d597c48c 
								
							 
						 
						
							
							
								
								Fix the check of ALSA_CFLAGS.  
							
							 
							
							
							
						 
						
							2000-08-29 11:33:47 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Abramo Bagnara 
								
							 
						 
						
							
							
							
							
								
							
							
								cc0f850c56 
								
							 
						 
						
							
							
								
								Cleaning from Henrik Theiling  
							
							 
							
							
							
						 
						
							2000-08-28 06:29:24 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Takashi Iwai 
								
							 
						 
						
							
							
							
							
								
							
							
								1c7056eeca 
								
							 
						 
						
							
							
								
								- Fix the old function prototype in pcm_plugin.h  
							
							 
							
							... 
							
							
							
							- Remove double -lasound and add -lm in alsa.m4.
  -lm is required for PPC (and maybe others). 
							
						 
						
							2000-05-18 18:16:38 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								c92b54b3d3 
								
							 
						 
						
							
							
								
								.tar.gz -> .tar.bz2  
							
							 
							
							
							
						 
						
							2000-02-27 13:35:01 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								9fd441885c 
								
							 
						 
						
							
							
								
								jcu.cz -> alsa-project.org modifications & other cleanups  
							
							 
							
							
							
						 
						
							2000-01-10 13:29:00 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								b998850dc2 
								
							 
						 
						
							
							
								
								Lang additions..  
							
							 
							
							
							
						 
						
							1999-08-06 13:56:45 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								dc02bee60a 
								
							 
						 
						
							
							
								
								Some patches for clean compilation...  
							
							 
							
							
							
						 
						
							1999-01-18 22:42:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								37af3fde26 
								
							 
						 
						
							
							
								
								Fixes..  
							
							 
							
							
							
						 
						
							1998-12-30 17:21:11 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								ffcff61ceb 
								
							 
						 
						
							
							
								
								Mainly tarbal distribution fixes...  
							
							 
							
							
							
						 
						
							1998-12-30 17:11:51 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								9dd27bf7d4 
								
							 
						 
						
							
							
								
								Fixes for %setup and alsa.m4...  
							
							 
							
							
							
						 
						
							1998-12-09 14:43:21 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								ebfe8d8a24 
								
							 
						 
						
							
							
								
								Added backward compatility for version checking...  
							
							 
							
							
							
						 
						
							1998-11-25 18:57:37 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								0816652974 
								
							 
						 
						
							
							
								
								Updates for new version scheme...  
							
							 
							
							
							
						 
						
							1998-11-24 22:08:07 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								4ae902c77b 
								
							 
						 
						
							
							
								
								Removed...  
							
							 
							
							
							
						 
						
							1998-11-21 18:34:30 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Chris Cannam 
								
							 
						 
						
							
							
							
							
								
							
							
								4fad6cb780 
								
							 
						 
						
							
							
								
								Only install alsa.m4 if aclocal is present  
							
							 
							
							
							
						 
						
							1998-11-18 22:35:29 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Chris Cannam 
								
							 
						 
						
							
							
							
							
								
							
							
								9da4b22ac2 
								
							 
						 
						
							
							
								
								I misunderstood the purpose of alsa.m4 - apologies...  
							
							 
							
							
							
						 
						
							1998-11-18 21:27:36 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Chris Cannam 
								
							 
						 
						
							
							
							
							
								
							
							
								96f35a05ef 
								
							 
						 
						
							
							
								
								Switch to automake and libtool  
							
							 
							
							
							
						 
						
							1998-11-18 20:42:09 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jaroslav Kysela 
								
							 
						 
						
							
							
							
							
								
							
							
								ebe494c75e 
								
							 
						 
						
							
							
								
								Added alsa-lib.m4 and corrected name of header file.  
							
							 
							
							
							
						 
						
							1998-11-04 09:43:15 +00:00