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],[1.0.5-dev],[mcabber@lilotux.net]) |
5 AC_INIT([mcabber],[1.0.5],[mcabber@lilotux.net]) |
6 XC_AUTOMAKE |
6 XC_AUTOMAKE |
7 AC_CONFIG_SRCDIR([mcabber]) |
7 AC_CONFIG_SRCDIR([mcabber]) |
8 AC_CONFIG_HEADERS([mcabber/config.h]) |
8 AC_CONFIG_HEADERS([mcabber/config.h]) |
9 AC_CONFIG_HEADERS([include/config.h]) |
9 AC_CONFIG_HEADERS([include/config.h]) |
10 |
10 |
295 |
295 |
296 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) |
296 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) |
297 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno]) |
297 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno]) |
298 |
298 |
299 # Prepare some config.h variables |
299 # Prepare some config.h variables |
300 AC_DEFINE([MCABBER_BRANCH], "dev", [Mcabber branch]) |
300 AC_DEFINE([MCABBER_BRANCH], "1.0.5", [Mcabber branch]) |
301 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string]) |
301 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string]) |
302 |
302 |
303 # We need _GNU_SOURCE for strptime() and strcasestr() |
303 # We need _GNU_SOURCE for strptime() and strcasestr() |
304 CFLAGS="$CFLAGS -D_GNU_SOURCE" |
304 CFLAGS="$CFLAGS -D_GNU_SOURCE" |
305 |
305 |