annotate configure.in @ 48:f66078abed38

more fixes for 64 bit format
author carl
date Fri, 18 Jan 2008 15:07:12 -0800
parents 5fb8d997feed
children 06c0262ad689
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)
48
f66078abed38 more fixes for 64 bit format
carl
parents: 47
diff changeset
4 AM_INIT_AUTOMAKE(libpst,0.6.4)
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
43
f6db1f060a95 start on outlook 2003 64 bit format
carl
parents: 41
diff changeset
10 AC_SYS_LARGEFILE
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
11
31
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
12 # The following lines adds the --enable-pst-debug option to configure:
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
13 #
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
14 # Give the user the choice to enter one of these:
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
15 # --enable-pst-debug
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
16 # --enable-pst-debug=yes
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
17 # --enable-pst-debug=no
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
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
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
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
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
22 [if test "${enable_pst_debug}" = "no" ; then
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
23 AC_MSG_RESULT([no])
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
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
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
26 AC_MSG_RESULT([yes])
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
27 fi],
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
28 # Default value for configure
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
29 AC_MSG_RESULT([no])
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
30 )
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
31
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
32 AC_OUTPUT( \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
33 Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
34 libpst.spec \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
35 html/Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
36 info/Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
37 man/Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
38 src/Makefile \
21
e5418051878c switch to automake/autoconf
carl
parents: 16
diff changeset
39 src/version.h \
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
40 xml/Makefile \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
41 xml/libpst \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
42 )