configure: disable SAPI if sapi.h cannot be used
[vlc.git] / compat / Makefile.am
blob58094d44a47232e7111dbf7561279325935fcc78
1 pkglib_LTLIBRARIES = libcompat.la
2 libcompat_la_SOURCES = dummy.c
3 libcompat_la_LIBADD = $(LTLIBOBJS) $(LIBRT)
4 libcompat_la_LDFLAGS = -no-undefined -static
6 BUILT_SOURCES = dummy.c
7 CLEANFILES = dummy.c
8 AUTOMAKE_OPTIONS = subdir-objects
10 dummy.c:
11         $(AM_V_at)rm -f dummy.c
12         $(AM_V_GEN)echo '/* Automatically generated */' > dummy.c
15 check_PROGRAMS = \
16         test_strnstr
18 TESTS = $(check_PROGRAMS)
20 test_strnstr_SOURCES = test/strnstr.c
21 test_strnstr_LDADD = libcompat.la