#   FILE: %(FILE) -- 
# AUTHOR: %(FULLNAME) <%(EMAIL)>
#   DATE: %(DAY) %(MONTH) %(YEAR)
#
# Copyright (C) %(YEAR) %(FULLNAME) <%(EMAIL)>
# All rights reserved.
#
# This program 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 2 of the License, or
# (at your option) any later version.
#
# This program 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 this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

AC_INIT(src/%(after=".c" PROJ_NAME:FIXME example: project.c))

AM_CONFIG_HEADER(config.h)

MAJOR_VERSION=0
MINOR_VERSION=0
MICRO_VERSION=1
AM_INIT_AUTOMAKE(%(PROJ_NAME:FIXME: project name), $MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION)

VER_INFO=`expr $MINOR_VERSION + $MAJOR_VERSION`:$MICRO_VERSION:$MINOR_VERSION

AC_SUBST(MAJOR_VERSION)
AC_SUBST(MINOR_VERSION)
AC_SUBST(MICRO_VERSION)
AC_SUBST(VER_INFO)

AM_ACLOCAL_INCLUDE(macros)

GNOME_INIT(applets)

AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_LIBTOOL

GNOME_COMPILE_WARNINGS

GNOME_X_CHECKS

GNOME_COMPILE_WARNINGS

AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)

AM_CONDITIONAL(FLYN, test "$FLYN")

AC_OUTPUT(Makefile dry/Makefile include/Makefile src/Makefile dry/%(after=".spec.new" PROJ_NAME:FIXME: generated spec file name))
