equal
deleted
inserted
replaced
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.10.1-dev],[mcabber@lilotux.net]) |
5 AC_INIT([mcabber],[0.10.1],[mcabber@lilotux.net]) |
6 AM_INIT_AUTOMAKE |
6 AM_INIT_AUTOMAKE |
7 AC_CONFIG_SRCDIR([mcabber]) |
7 AC_CONFIG_SRCDIR([mcabber]) |
8 AM_CONFIG_HEADER(mcabber/config.h) |
8 AM_CONFIG_HEADER(mcabber/config.h) |
9 AC_CONFIG_HEADER(include/config.h) |
9 AC_CONFIG_HEADER(include/config.h) |
10 |
10 |
270 |
270 |
271 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) |
271 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) |
272 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno]) |
272 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno]) |
273 |
273 |
274 # Prepare some config.h variables |
274 # Prepare some config.h variables |
275 AC_DEFINE([MCABBER_BRANCH], "dev", [Mcabber branch]) |
275 AC_DEFINE([MCABBER_BRANCH], "0.10.1", [Mcabber branch]) |
276 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string]) |
276 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string]) |
277 |
277 |
278 # We need _GNU_SOURCE for strptime() and strcasestr() |
278 # We need _GNU_SOURCE for strptime() and strcasestr() |
279 CFLAGS="$CFLAGS -D_GNU_SOURCE" |
279 CFLAGS="$CFLAGS -D_GNU_SOURCE" |
280 |
280 |