add the deleted by mistake files kmkcatalogfile.*, that broke compilation...
[kmk.git] / configure.in.in
blob4b90baf815b30febf31f48b9195a7f880b3703dd
1 #MIN_CONFIG(3.2.0)
3 AM_INIT_AUTOMAKE(kmk,0.23.15-dev)
4 AC_C_BIGENDIAN
5 AC_CHECK_KDEMAXPATHLEN
7 ###############################################################################
8 # BEGIN TAGLIB CHECK
9 ###############################################################################
11 TAGLIB_REQ_VERSION="1.4";
12 AC_DEFUN([VERSION_TO_NUMBER], [`$1 | awk 'BEGIN { FS = "."; } { printf "%d",  ([$]1* 1000 + [$]2) * 1000 + [$]3;}'`])
14 AC_PATH_PROG(TAGLIB_CONFIG, taglib-config, no)
16 if test "x$TAGLIB_CONFIG" = "xno" ; then
17     kmk_error_notaglib=yes
18     DO_NOT_COMPILE="$DO_NOT_COMPILE kmk"
19     no_kmk=yes
20 else
21     AC_DEFINE(HAVE_TAGLIB, 1, [have TagLib])
22     taglib_includes=[`$TAGLIB_CONFIG --cflags`]
23     taglib_libs=[`$TAGLIB_CONFIG --libs`]
24     taglib_version=[`$TAGLIB_CONFIG --version`]
26     if test VERSION_TO_NUMBER(echo $taglib_version) -lt VERSION_TO_NUMBER(echo $TAGLIB_REQ_VERSION); then
27         kmk_error_taglibold=yes
28         DO_NOT_COMPILE="$DO_NOT_COMPILE kmk"
29         no_kmk=yes
30     fi
33 AC_SUBST(taglib_includes)
34 AC_SUBST(taglib_libs)
36 ###############################################################################
37 # END TAGLIB CHECK
38 ###############################################################################