Mercurial > libpst
comparison configure.in @ 31:b88ceb81dba2
mege changes from Joe Nahmias
author | carl |
---|---|
date | Tue, 10 Jul 2007 17:17:28 -0700 |
parents | 51d826f31329 |
children | 07177825c91b |
comparison
equal
deleted
inserted
replaced
30:45eccad4b606 | 31:b88ceb81dba2 |
---|---|
1 AC_INIT(configure.in) | 1 AC_INIT(configure.in) |
2 | 2 |
3 AM_CONFIG_HEADER(config.h) | 3 AM_CONFIG_HEADER(config.h) |
4 AM_INIT_AUTOMAKE(libpst,0.5.4) | 4 AM_INIT_AUTOMAKE(libpst,0.5.5) |
5 AC_PATH_PROGS(BASH, bash) | 5 AC_PATH_PROGS(BASH, bash) |
6 | 6 |
7 AC_LANG_CPLUSPLUS | 7 AC_LANG_CPLUSPLUS |
8 AC_PROG_CXX | 8 AC_PROG_CXX |
9 AC_PROG_LIBTOOL | 9 AC_PROG_LIBTOOL |
10 | |
11 # The following lines adds the --enable-pst-debug option to configure: | |
12 # | |
13 # Give the user the choice to enter one of these: | |
14 # --enable-pst-debug | |
15 # --enable-pst-debug=yes | |
16 # --enable-pst-debug=no | |
17 # | |
18 AC_MSG_CHECKING([whether we are enabling pst debug code]) | |
19 AC_ARG_ENABLE(pst-debug, | |
20 AC_HELP_STRING([--enable-pst-debug], [enable pst debug code]), | |
21 [if test "${enable_pst_debug}" = "no" ; then | |
22 AC_MSG_RESULT([no]) | |
23 else | |
24 AC_DEFINE(DEBUG_ALL, 1, Define to 1 to enable pst debug code) | |
25 AC_MSG_RESULT([yes]) | |
26 fi], | |
27 # Default value for configure | |
28 AC_MSG_RESULT([no]) | |
29 ) | |
10 | 30 |
11 AC_OUTPUT( \ | 31 AC_OUTPUT( \ |
12 Makefile \ | 32 Makefile \ |
13 libpst.spec \ | 33 libpst.spec \ |
14 html/Makefile \ | 34 html/Makefile \ |