alsa-lib/utils
Takashi Iwai fc0e54c3cc Drop -I$includedir/alsa from alsa.pc
We used to put the additional include path $includedir/alsa in
pkgconfig just because some applications have included asoundlib.h
like
  #include <asoundlib.h>
although the canonical form should be
  #include <alsa/asoundlib.h>

However, adding this include path is significantly dangerous due to
possible conflicts of file names like version.h.  It's already the
reason to discourage people using alsa.pc for the packages.

In this patch, the additional include path from alsa.pc is dropped
finally.  At the same time, as a rescue plan for the programs
including via <asoundlib.h>, a stub header file is provided in
include/sound/asoundlib.h.  It just includes alsa/asoundlib.h with a
warning to suggest for replacing with alsa/asoundlib.h.
Actually this is the same file as we install into sys/asoundlib.h, so
the whole changes are very minimal here.

Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-03-28 08:01:34 +01:00
..
alsa-lib.spec.in Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
alsa.m4 utils/alsa.m4: conditionally enable libdl in AM_PATH_ALSA m4 macro 2018-11-02 14:57:50 +01:00
alsa.pc.in Drop -I$includedir/alsa from alsa.pc 2019-03-28 08:01:34 +01:00
buildrpm Changed permissions for scripts and added .hgignore file 2006-04-06 19:14:01 +02:00
Makefile.am autotools: update style 2014-02-26 08:16:22 +01:00