mcabber/configure.ac
changeset 2241 d703d6b42b32
parent 2229 773590bd2a8a
child 2244 4ddff7f8ad90
equal deleted inserted replaced
2240:45bab5858d81 2241:d703d6b42b32
     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.1-dev],[mcabber@lilotux.net])
     5 AC_INIT([mcabber],[1.0.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 
   285 
   285 
   286 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes])
   286 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes])
   287 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno])
   287 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno])
   288 
   288 
   289 # Prepare some config.h variables
   289 # Prepare some config.h variables
   290 AC_DEFINE([MCABBER_BRANCH], "dev", [Mcabber branch])
   290 AC_DEFINE([MCABBER_BRANCH], "1.0.1", [Mcabber branch])
   291 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string])
   291 AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string])
   292 
   292 
   293 # We need _GNU_SOURCE for strptime() and strcasestr()
   293 # We need _GNU_SOURCE for strptime() and strcasestr()
   294 CFLAGS="$CFLAGS -D_GNU_SOURCE"
   294 CFLAGS="$CFLAGS -D_GNU_SOURCE"
   295 
   295