mcabber/configure.ac
changeset 2254 54a12919cdee
parent 2248 377b6a52b25f
child 2257 3f04914d8643
equal deleted inserted replaced
2253:5a107c907e71 2254:54a12919cdee
     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.2-dev],[mcabber@lilotux.net])
     5 AC_INIT([mcabber],[1.0.2],[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 
   291 
   291 
   292 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes])
   292 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes])
   293 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno])
   293 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno])
   294 
   294 
   295 # Prepare some config.h variables
   295 # Prepare some config.h variables
   296 AC_DEFINE([MCABBER_BRANCH], "dev", [Mcabber branch])
   296 AC_DEFINE([MCABBER_BRANCH], "1.0.2", [Mcabber branch])
   297 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string])
   297 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string])
   298 
   298 
   299 # We need _GNU_SOURCE for strptime() and strcasestr()
   299 # We need _GNU_SOURCE for strptime() and strcasestr()
   300 CFLAGS="$CFLAGS -D_GNU_SOURCE"
   300 CFLAGS="$CFLAGS -D_GNU_SOURCE"
   301 
   301