3
MPEGLIB_ARTS_MAJOR_VERSION=0
4
MPEGLIB_ARTS_MINOR_VERSION=3
5
MPEGLIB_ARTS_MICRO_VERSION=0
7
MPEGLIB_ARTS_VERSION=$MPEGLIB_ARTS_MAJOR_VERSION.$MPEGLIB_ARTS_MINOR_VERSION.$MPEGLIB_ARTS_MICRO_VERSION
10
AC_SUBST(MPEGLIB_ARTS_MAJOR_VERSION)
11
AC_SUBST(MPEGLIB_ARTS_MINOR_VERSION)
12
AC_SUBST(MPEGLIB_ARTS_MICRO_VERSION)
13
AC_SUBST(MPEGLIB_ARTS_VERSION)
17
artsc_config_test_path=$prefix/bin:$exec_prefix/bin:$KDEDIR/bin:$PATH
18
AC_PATH_PROG(kde_artsplug_compiles,artsc-config,no,$artsc_config_test_path)
20
dnl if we found it here set variable
21
if test x$kde_artsplug_compiles != xno; then
22
ARTSC_CONFIG=$kde_artsplug_compiles;
23
kde_artsplug_compiles=yes
26
dnl this is needed for a standalone mpeglib
27
dnl it should compile without KDE installed
28
dnl but if we find arts we need the include
31
if test x$kde_artsplug_compiles = xyes; then
32
ARTSC_INCLUDE=`${ARTSC_CONFIG} --cflags`
33
AC_MSG_RESULT([arts includes... $ARTSC_INCLUDE])
34
AC_SUBST(ARTSC_INCLUDE)
35
ARTSC_LIBS=`${ARTSC_CONFIG} --libs`
36
AC_MSG_RESULT([arts libraries... $ARTSC_LIBS])
41
if test x$kde_mpeglib_compiles = xno; then
42
AC_MSG_RESULT([** mpeglib disabled we disable artsplug **])
43
kde_artsplug_compiles=no;
46
if test x$kde_artsplug_compiles = xno; then
47
AC_MSG_RESULT([** DO NOT COMPILE mpeglib_artsplug **])
48
DO_NOT_COMPILE="$DO_NOT_COMPILE mpeglib_artsplug"