Mercurial > hg
comparison mcabber/configure.ac @ 1749:7ee390513463
Use api version for module checks
* Change module structures
* Check for supported api versions at loading time
* Add info command, description and module version fields
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Sat, 13 Mar 2010 10:29:18 +0100 |
parents | 0a9439f6dd66 |
children | e7ce50fe19a9 |
comparison
equal
deleted
inserted
replaced
1748:51a23403cc80 | 1749:7ee390513463 |
---|---|
255 fi | 255 fi |
256 | 256 |
257 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) | 257 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) |
258 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules = xyes]) | 258 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules = xyes]) |
259 | 259 |
260 # Prepare some config.h variables | |
261 AC_DEFINE([MCABBER_BRANCH], "dev", [Mcabber branch]) | |
262 AC_DEFINE([MCABBER_API_VERSION], 1, [Mcabber API version]) | |
263 AC_DEFINE([MCABBER_API_MIN], 1, [Minimum supported mcabber API version]) | |
264 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string]) | |
265 | |
260 # We need _GNU_SOURCE for strptime() and strcasestr() | 266 # We need _GNU_SOURCE for strptime() and strcasestr() |
261 CFLAGS="$CFLAGS -D_GNU_SOURCE" | 267 CFLAGS="$CFLAGS -D_GNU_SOURCE" |
262 | 268 |
263 AC_CONFIG_FILES([mcabber/Makefile | 269 AC_CONFIG_FILES([mcabber/Makefile |
264 modules/Makefile | 270 modules/Makefile |