# -*- Autoconf -*-
# This file is part of Idest.
# Copyright (C) 2009-2011, 2015 Sergey Poznyakoff
#
# Idest is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Idest is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Idest. If not, see .
AC_PREREQ(2.61)
AC_INIT([idest], [2.0.90], [bug-idest@gnu.org.ua])
AC_CONFIG_SRCDIR([src/idest.h])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.9 gnits tar-ustar std-options silent-rules])
# Enable silent rules by default:
AM_SILENT_RULES([yes])
# Checks for programs.
AC_PROG_CC
gl_EARLY
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MEMCMP
AC_CHECK_FUNCS([memset strcasecmp strerror strncasecmp])
gl_INIT
GINT_INIT([gint],[1.8 with-guile nodoc],
[status_guile=yes],
[status_guile=no])
AM_CONDITIONAL([IDEST_COND_GUILE],[test $status_guile = yes])
AC_CONFIG_SUBDIRS(libid3tag)
AC_CONFIG_COMMANDS([status],[
cat <