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.1.1-dev],[mcabber@lilotux.net]) |
5 AC_INIT([mcabber],[1.1.1],[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 |
290 |
290 |
291 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) |
291 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) |
292 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno]) |
292 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno]) |
293 |
293 |
294 # Prepare some config.h variables |
294 # Prepare some config.h variables |
295 AC_DEFINE([MCABBER_BRANCH], "dev", [Mcabber branch]) |
295 AC_DEFINE([MCABBER_BRANCH], "1.1.1", [Mcabber branch]) |
296 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string]) |
296 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string]) |
297 |
297 |
298 # We need _GNU_SOURCE for strptime() and strcasestr() |
298 # We need _GNU_SOURCE for strptime() and strcasestr() |
299 CFLAGS="$CFLAGS -D_GNU_SOURCE" |
299 CFLAGS="$CFLAGS -D_GNU_SOURCE" |
300 |
300 |