view configure.in @ 55:0cdbd066f65a stable-0-6-6

add missing news items, add reference to mercurial repository in the documentation
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jan 2008 22:15:29 -0800
parents 034641c26ab9
children 7d5c637aaafb
line wrap: on
line source

AC_INIT(configure.in)

AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(libpst,0.6.6)
AC_PATH_PROGS(BASH, bash)

AC_LANG_CPLUSPLUS
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_SYS_LARGEFILE

# The following lines adds the --enable-pst-debug option to configure:
#
# Give the user the choice to enter one of these:
# --enable-pst-debug
# --enable-pst-debug=yes
# --enable-pst-debug=no
#
AC_MSG_CHECKING([whether we are forcing debug dump file creation])
AC_ARG_ENABLE(pst-debug,
      AC_HELP_STRING([--enable-pst-debug], [force debug dump file creation]),
      [if test "${enable_pst_debug}" = "no" ; then
          AC_MSG_RESULT([no])
      else
          AC_DEFINE(DEBUG_ALL, 1, Define to 1 to force debug dump file creation)
          AC_MSG_RESULT([yes])
      fi],
      # Default value for configure
      AC_MSG_RESULT([no])
      )

AC_OUTPUT(                  \
    Makefile                \
    libpst.spec             \
    html/Makefile           \
    info/Makefile           \
    man/Makefile            \
    src/Makefile            \
    src/version.h           \
    xml/Makefile            \
    xml/libpst              \
    )