comparison mcabber/configure.ac @ 1606:d7f26538c24c

Bump version to 0.10.x
author Mikael Berthe <mikael@lilotux.net>
date Sun, 11 Oct 2009 16:01:31 +0200
parents 3efc92a48945
children 14690e624e9d
comparison
equal deleted inserted replaced
1605:79f3b780821a 1606:d7f26538c24c
1 # -*- Autoconf -*- 1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script. 2 # Process this file with autoconf to produce a configure script.
3 3
4 AC_PREREQ(2.59) 4 AC_PREREQ(2.59)
5 AC_INIT([mcabber],[0.9.11-dev],[mcabber@lilotux.net]) 5 AC_INIT([mcabber],[0.10.0-dev],[mcabber@lilotux.net])
6 AM_INIT_AUTOMAKE 6 AM_INIT_AUTOMAKE
7 AC_CONFIG_SRCDIR([src]) 7 AC_CONFIG_SRCDIR([src])
8 AM_CONFIG_HEADER(config.h) 8 AM_CONFIG_HEADER(config.h)
9 9
10 #AC_PROG_LIBTOOL 10 #AC_PROG_LIBTOOL
174 AC_ARG_ENABLE(aspell, [ --enable-aspell enable aspell support], 174 AC_ARG_ENABLE(aspell, [ --enable-aspell enable aspell support],
175 enable_aspell=$enableval, aspell="") 175 enable_aspell=$enableval, aspell="")
176 176
177 if test "x$enable_enchant" = "xyes"; then 177 if test "x$enable_enchant" = "xyes"; then
178 PKG_CHECK_MODULES(ENCHANT, [enchant], 178 PKG_CHECK_MODULES(ENCHANT, [enchant],
179 AC_DEFINE(WITH_ENCHANT, 1, [define if you want enchant support]) 179 AC_DEFINE(WITH_ENCHANT, 1, [Define if you want enchant support])
180 ) 180 )
181 else 181 else
182 if test "x$enable_aspell" = "xyes"; then 182 if test "x$enable_aspell" = "xyes"; then
183 AC_CHECK_HEADERS(aspell.h, [ have_aspell_includes=yes ]) 183 AC_CHECK_HEADERS(aspell.h, [ have_aspell_includes=yes ])
184 if test "x$have_aspell_includes" = "xyes"; then 184 if test "x$have_aspell_includes" = "xyes"; then
185 AC_CHECK_LIB(aspell, new_aspell_config, [ have_aspell_libs=yes ]) 185 AC_CHECK_LIB(aspell, new_aspell_config, [ have_aspell_libs=yes ])
186 if test "x$have_aspell_libs" = "xyes"; then 186 if test "x$have_aspell_libs" = "xyes"; then
187 AC_DEFINE([WITH_ASPELL], 1, [define if you want aspell support]) 187 AC_DEFINE([WITH_ASPELL], 1, [Define if you want aspell support])
188 LIBS="$LIBS -laspell" 188 LIBS="$LIBS -laspell"
189 else 189 else
190 enable_aspell=no 190 enable_aspell=no
191 fi 191 fi
192 else 192 else