dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.in) AM_INIT_AUTOMAKE(tea, 10.0) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC AC_ARG_ENABLE(debian_optimization, [ --enable-debian set all paths properly for the Debian package]) if test -n "$enable_debian"; then AC_DEFINE(FOR_DEBIAN, 1, [Debian package]) fi if test -n "$enable_debian"; then PACKAGE=teaed else PACKAGE=tea fi AM_CONDITIONAL(DEB, test "$enable_debian" = yes) AC_CHECK_HEADER(aspell.h, AC_CHECK_LIB(aspell, new_aspell_config, LIBS="$LIBS -laspell" AC_DEFINE(HAVE_LIBASPELL, 1, [use aspell]) )) CFLAGS="$CFLAGS -w -s -pipe" dnl CFLAGS="$CFLAGS -s -pipe" pkg_modules="gtk+-2.0 >= 2.4.0" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) if test -n "$enable_debian"; then GETTEXT_PACKAGE=teaed else GETTEXT_PACKAGE=tea fi AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE") dnl Add the languages which your application supports here. ALL_LINGUAS="ru ja uk sr pl de cs lv es fr" AM_GLIB_GNU_GETTEXT AC_OUTPUT([ Makefile src/Makefile po/Makefile.in ])