mcabber/configure.ac
changeset 1668 41c26b7d2890
parent 1639 d9913c1b35e7
child 1670 efee21002ffb
equal deleted inserted replaced
1667:8af0e0ad20ad 1668:41c26b7d2890
     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],[0.10.0-dev],[mcabber@lilotux.net])
     5 AC_INIT([mcabber],[0.10.0-dev],[mcabber@lilotux.net])
     6 AM_INIT_AUTOMAKE
     6 AM_INIT_AUTOMAKE
     7 AC_CONFIG_SRCDIR([src])
     7 AC_CONFIG_SRCDIR([mcabber])
     8 AM_CONFIG_HEADER(config.h)
     8 AM_CONFIG_HEADER(mcabber/config.h)
       
     9 #AC_CONFIG_HEADER(include/config.h)
     9 
    10 
    10 #AC_PROG_LIBTOOL
    11 #AC_PROG_LIBTOOL
    11 AC_PROG_RANLIB
    12 AC_PROG_RANLIB
    12 
    13 
    13 # Checks for programs.
    14 # Checks for programs.
   251 if test "${hgcset}" = "yes"; then
   252 if test "${hgcset}" = "yes"; then
   252     AC_DEFINE([ENABLE_HGCSET], 1, [Use Mercurial changeset])
   253     AC_DEFINE([ENABLE_HGCSET], 1, [Use Mercurial changeset])
   253 fi
   254 fi
   254 
   255 
   255 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes])
   256 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes])
       
   257 AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules = xyes])
   256 
   258 
   257 # We need _GNU_SOURCE for strptime() and strcasestr()
   259 # We need _GNU_SOURCE for strptime() and strcasestr()
   258 CFLAGS="$CFLAGS -D_GNU_SOURCE"
   260 CFLAGS="$CFLAGS -D_GNU_SOURCE"
   259 
   261 
   260 AC_CONFIG_FILES([src/Makefile
   262 AC_CONFIG_FILES([mcabber/Makefile
   261                  doc/Makefile
   263                  doc/Makefile
   262                  doc/guide/Makefile
   264                  doc/guide/Makefile
   263                  doc/help/Makefile
   265                  doc/help/Makefile
   264                  Makefile])
   266                  Makefile])
   265 AC_OUTPUT
   267 AC_OUTPUT