annotate configure.in @ 31:b88ceb81dba2

mege changes from Joe Nahmias
author carl
date Tue, 10 Jul 2007 17:17:28 -0700
parents 51d826f31329
children 07177825c91b
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)
31
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
4 AM_INIT_AUTOMAKE(libpst,0.5.5)
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 #
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
18 AC_MSG_CHECKING([whether we are enabling pst debug code])
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
19 AC_ARG_ENABLE(pst-debug,
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
20 AC_HELP_STRING([--enable-pst-debug], [enable pst debug code]),
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
b88ceb81dba2 mege changes from Joe Nahmias
carl
parents: 28
diff changeset
24 AC_DEFINE(DEBUG_ALL, 1, Define to 1 to enable pst debug code)
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 )