Mercurial > libpst
annotate configure.in @ 51:06c0262ad689 stable-0-6-5
code cleanup
author | carl |
---|---|
date | Tue, 22 Jan 2008 14:39:02 -0800 |
parents | f66078abed38 |
children | 034641c26ab9 |
rev | line source |
---|---|
16 | 1 AC_INIT(configure.in) |
2 | |
3 AM_CONFIG_HEADER(config.h) | |
51 | 4 AM_INIT_AUTOMAKE(libpst,0.6.5) |
16 | 5 AC_PATH_PROGS(BASH, bash) |
6 | |
7 AC_LANG_CPLUSPLUS | |
8 AC_PROG_CXX | |
9 AC_PROG_LIBTOOL | |
43 | 10 AC_SYS_LARGEFILE |
16 | 11 |
31 | 12 # The following lines adds the --enable-pst-debug option to configure: |
13 # | |
14 # Give the user the choice to enter one of these: | |
15 # --enable-pst-debug | |
16 # --enable-pst-debug=yes | |
17 # --enable-pst-debug=no | |
18 # | |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
19 AC_MSG_CHECKING([whether we are forcing debug dump file creation]) |
31 | 20 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
|
21 AC_HELP_STRING([--enable-pst-debug], [force debug dump file creation]), |
31 | 22 [if test "${enable_pst_debug}" = "no" ; then |
23 AC_MSG_RESULT([no]) | |
24 else | |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
31
diff
changeset
|
25 AC_DEFINE(DEBUG_ALL, 1, Define to 1 to force debug dump file creation) |
31 | 26 AC_MSG_RESULT([yes]) |
27 fi], | |
28 # Default value for configure | |
29 AC_MSG_RESULT([no]) | |
30 ) | |
31 | |
16 | 32 AC_OUTPUT( \ |
33 Makefile \ | |
34 libpst.spec \ | |
35 html/Makefile \ | |
36 info/Makefile \ | |
37 man/Makefile \ | |
38 src/Makefile \ | |
21 | 39 src/version.h \ |
16 | 40 xml/Makefile \ |
41 xml/libpst \ | |
42 ) |