* Installing a non-working executable to show a mere information banner is considered bad style and serves to only confuse users. See also: https://bugs.gentoo.org/show_bug.cgi?id=408849
Unified · Split
| @@ -180,6 +180,8 @@ AS_IF([test "x$ac_cv_sndfile" = "x1"], [ · 179 unmodified lines | |||
| 180 | HAVE_SNDFILE=0 | 180 | HAVE_SNDFILE=0 |
| 181 | ]) | 181 | ]) |
| 182 | 182 | ||
| 183 | AM_CONDITIONAL([HAVE_LIBSNDFILE], [test "x$ac_cv_sndfile" = "xyes"]) | ||
| 184 | |||
| 183 | #==================================================================================== | 185 | #==================================================================================== |
| 184 | # Check for ALSA. | 186 | # Check for ALSA. |
| 185 | 187 | ||
| @@ -1,7 +1,9 @@ | |||
| 1 | # This file was automatically generated | 1 | # This file was automatically generated |
| 2 | # DO NOT EDIT! | 2 | # DO NOT EDIT! |
| 3 | 3 | ||
| 4 | if HAVE_LIBSNDFILE | ||
| 4 | bin_PROGRAMS = sndfile-resample | 5 | bin_PROGRAMS = sndfile-resample |
| 6 | endif | ||
| 5 | 7 | ||
| 6 | check_PROGRAMS = varispeed-play timewarp-file | 8 | check_PROGRAMS = varispeed-play timewarp-file |
| 7 | 9 | ||
| @@ -15,8 +17,10 @@ AM_CFLAGS = @SNDFILE_CFLAGS@ · 7 unmodified lines | |||
| 15 | 17 | ||
| 16 | #=============================================================================== | 18 | #=============================================================================== |
| 17 | 19 | ||
| 20 | if HAVE_LIBSNDFILE | ||
| 18 | sndfile_resample_SOURCES = sndfile-resample.c | 21 | sndfile_resample_SOURCES = sndfile-resample.c |
| 19 | sndfile_resample_LDADD = $(SAMPLERATEDIR)/libsamplerate.la $(SNDFILE_LIBS) | 22 | sndfile_resample_LDADD = $(SAMPLERATEDIR)/libsamplerate.la $(SNDFILE_LIBS) |
| 23 | endif | ||
| 20 | 24 | ||
| 21 | varispeed_play_SOURCES = varispeed-play.c audio_out.c audio_out.h | 25 | varispeed_play_SOURCES = varispeed-play.c audio_out.c audio_out.h |
| 22 | varispeed_play_LDADD = $(SAMPLERATEDIR)/libsamplerate.la $(SNDFILE_LIBS) $(OS_SPECIFIC_LINKS) | 26 | varispeed_play_LDADD = $(SAMPLERATEDIR)/libsamplerate.la $(SNDFILE_LIBS) $(OS_SPECIFIC_LINKS) |