Add --with[out]-help option to make it possible to skip building and

2008-01-01  Matthew Barnes  <mbarnes@redhat.com>

	* configure.in:
	Add --with[out]-help option to make it possible to skip
	building and installing user documentation.  (#504541)


svn path=/trunk/; revision=34743
This commit is contained in:
Matthew Barnes
2008-01-01 13:22:31 +00:00
committed by Matthew Barnes
parent a02303d7cc
commit f3546248ed
3 changed files with 32 additions and 12 deletions

View File

@ -1,3 +1,9 @@
2008-01-01 Matthew Barnes <mbarnes@redhat.com>
* configure.in:
Add --with[out]-help option to make it possible to skip
building and installing user documentation. (#504541)
2007-12-18 Srinivasa Ragavan <sragavan@novell.com>
* configure.in: Version bump to 2.21.5

View File

@ -49,10 +49,13 @@ SUBDIRS = \
ui \
views \
tools \
help \
po \
sounds
if WITH_HELP
SUBDIRS += help
endif
DISTCLEANFILES = \
intltool-extract \
intltool-merge \

View File

@ -184,6 +184,17 @@ PKG_CHECK_MODULES(EVOLUTION_DATA_SERVER,
libegroupwise-$EDS_PACKAGE >= eds_minimum_version])
dnl ******************
dnl User documentation
dnl ******************
AC_MSG_CHECKING([whether to build user documentation])
AC_ARG_WITH([help],
[AC_HELP_STRING([--with-help],
[Build user documentation [default=yes]])],
with_help="$withval", with_help="yes")
AM_CONDITIONAL(WITH_HELP, test "x$with_help" != "xno")
AC_MSG_RESULT($with_help)
dnl ******************************
dnl iconv checking
dnl ******************************
@ -1813,7 +1824,6 @@ AC_ARG_ENABLE([default-binary],
AM_CONDITIONAL(DEFAULT_BINARY, test x$enable_default_binary = xyes)
dnl ********************
dnl KDE applnk directory
dnl ********************
@ -2005,18 +2015,19 @@ echo "
fi
echo "
LDAP support: $msg_ldap
HAL: $HAVE_HAL"
LDAP support: $msg_ldap
HAL: $HAVE_HAL"
if test "$msg_nntp" = "yes"; then
echo "\
NNTP support: $msg_nntp"
NNTP support: $msg_nntp"
fi
echo "\
Pilot conduits: $msg_pilot
Libnotify: $HAVE_LIBNOTIFY
Kerberos 4/5: $msg_krb4/$msg_krb5
SSL support: $msg_ssl
SMIME support: $msg_smime
Plugins: $msg_plugins
DBus API version $DBUS_VERSION
Pilot conduits: $msg_pilot
Libnotify: $HAVE_LIBNOTIFY
Kerberos 4/5: $msg_krb4/$msg_krb5
SSL support: $msg_ssl
SMIME support: $msg_smime
Plugins: $msg_plugins
DBus API version: $DBUS_VERSION
User documentation: $with_help
"