annotate configure.in @ 36:6fe121a971c9 stable-0-5-7

valgrind fixes
author carl
date Thu, 09 Aug 2007 15:46:34 -0700
parents b2f247463b83
children ddfb25318812
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
1 AC_INIT(configure.in)
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
2
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
3 AM_CONFIG_HEADER(config.h)
36
6fe121a971c9 valgrind fixes
carl
parents: 35
diff changeset
4 AM_INIT_AUTOMAKE(libpst,0.5.7)
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
5 AC_PATH_PROGS(BASH, bash)
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
6
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
7 AC_LANG_CPLUSPLUS
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
8 AC_PROG_CXX
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
9 AC_PROG_LIBTOOL
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
10
31
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
11 # The following lines adds the --enable-pst-debug option to configure:
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
12 #
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
13 # Give the user the choice to enter one of these:
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
14 # --enable-pst-debug
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
15 # --enable-pst-debug=yes
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
16 # --enable-pst-debug=no
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
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
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
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
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
21 [if test "${enable_pst_debug}" = "no" ; then
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
22 AC_MSG_RESULT([no])
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
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
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
25 AC_MSG_RESULT([yes])
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
26 fi],
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
27 # Default value for configure
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
28 AC_MSG_RESULT([no])
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
29 )
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
30
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
31 AC_OUTPUT( \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
32 Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
33 libpst.spec \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
34 html/Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
35 info/Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
36 man/Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
37 src/Makefile \
21
e5418051878c switch to automake/autoconf
carl
parents: 16
diff changeset
38 src/version.h \
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
39 xml/Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
40 xml/libpst \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
41 )