Mercurial > libpst
annotate configure.in @ 39:2ad7ef0a3c4f stable-0-5-10
more valgrind fixes
author | carl |
---|---|
date | Mon, 20 Aug 2007 20:43:17 -0700 |
parents | f5c024aa1dc5 |
children | be6d5329cc01 |
rev | line source |
---|---|
16 | 1 AC_INIT(configure.in) |
2 | |
3 AM_CONFIG_HEADER(config.h) | |
39 | 4 AM_INIT_AUTOMAKE(libpst,0.5.10) |
16 | 5 AC_PATH_PROGS(BASH, bash) |
6 | |
7 AC_LANG_CPLUSPLUS | |
8 AC_PROG_CXX | |
9 AC_PROG_LIBTOOL | |
10 | |
31 | 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 # | |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
18 AC_MSG_CHECKING([whether we are forcing debug dump file creation]) |
31 | 19 AC_ARG_ENABLE(pst-debug, |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
20 AC_HELP_STRING([--enable-pst-debug], [force debug dump file creation]), |
31 | 21 [if test "${enable_pst_debug}" = "no" ; then |
22 AC_MSG_RESULT([no]) | |
23 else | |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
24 AC_DEFINE(DEBUG_ALL, 1, Define to 1 to force debug dump file creation) |
31 | 25 AC_MSG_RESULT([yes]) |
26 fi], | |
27 # Default value for configure | |
28 AC_MSG_RESULT([no]) | |
29 ) | |
30 | |
16 | 31 AC_OUTPUT( \ |
32 Makefile \ | |
33 libpst.spec \ | |
34 html/Makefile \ | |
35 info/Makefile \ | |
36 man/Makefile \ | |
37 src/Makefile \ | |
21 | 38 src/version.h \ |
16 | 39 xml/Makefile \ |
40 xml/libpst \ | |
41 ) |