~ubuntu-branches/debian/wheezy/vlc/wheezy

« back to all changes in this revision

Viewing changes to extras/faad2/plugins/xmms/configure.in

Tags: upstream-0.7.2.final
ImportĀ upstreamĀ versionĀ 0.7.2.final

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl configure.in for xmms faad2-2.0 package
 
2
 
 
3
AC_INIT(src/libmp4.c)
 
4
AM_INIT_AUTOMAKE(libmp4, 0.4)
 
5
 
 
6
dnl save CFLAGS since AC_PROG_CC insert "-g -O2" if CFLAGS is empty
 
7
cflags_save="$CFLAGS"
 
8
 
 
9
AM_DISABLE_STATIC
 
10
 
 
11
AC_PROG_CC
 
12
AC_PROG_LIBTOOL
 
13
AC_PROG_INSTALL
 
14
 
 
15
AC_CHECK_PROGS(XMMS_CONFIG, xmms-config,
 
16
        [AC_MSG_ERROR("*** xmms-config not found check PATH or install xmms")])
 
17
 
 
18
AC_CHECK_LIB(mp4v2, MP4Create, ,AC_MSG_ERROR(*** libmp4v2 not installed), -lstdc++)
 
19
 
 
20
CFLAGS="$cflags_save `xmms-config --cflags`"
 
21
CPPFLAGS="$CPPFLAGS $CFLAGS"
 
22
AC_SUBST(CFLAGS)
 
23
 
 
24
AC_CHECK_HEADER(pthread.h,,
 
25
        AC_MSG_ERROR(*** pthread headers support not installed or not found))
 
26
AC_CHECK_HEADER(id3.h,,
 
27
        AC_MSG_ERROR(*** id3lib headers support not installed or not found))
 
28
AC_CHECK_HEADER(faad.h,,
 
29
        AC_MSG_ERROR(*** faad header not installed check your CFLAGS))
 
30
 
 
31
AC_OUTPUT(Makefile src/Makefile )
 
32
 
 
33
echo ""
 
34
echo "-------==========MP4 & MPEG2/4-AAC decoder configured===========------"
 
35
echo "CFLAGS:   $CFLAGS"
 
36
echo "CXXFLAGS: $CXXFLAGS"
 
37
echo "install-dir = `xmms-config --input-plugin-dir`"
 
38
echo ""