Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 1668:41c26b7d2890
Install mcabber headers
* Change mcabber headers naming scheme
* Move 'src/' -> 'mcabber/'
* Add missing include <mcabber/config.h>'s
* Create and install clean config.h version in 'include/'
* Move "dirty" config.h version to 'mcabber/'
* Add $(top_srcdir) to compiler include path
* Update modules HOWTO
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Mon, 18 Jan 2010 15:36:19 +0200 |
parents | d9913c1b35e7 |
children | efee21002ffb |
comparison
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 |