Simply enable-aboutme check, and fix configure output.

2005-08-21  Christian Persch  <chpe@cvs.gnome.org>

	* configure.in: Simply enable-aboutme check, and fix
	configure output.
This commit is contained in:
Christian Persch 2005-08-21 19:28:49 +00:00 committed by Christian Persch
parent 3952515943
commit ca899939d7
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2005-08-21 Christian Persch <chpe@cvs.gnome.org>
* configure.in: Simply enable-aboutme check, and fix
configure output.
2005-08-21 Sebastien Bacher <seb128@debian.org>
* configure.in: fix the --enable-aboutme configure option,

View file

@ -265,24 +265,24 @@ fi
dnl ==============================================
dnl About-me
dnl ==============================================
AC_ARG_ENABLE(aboutme,
AC_MSG_CHECKING([whether to enable About Me])
AC_ARG_ENABLE([aboutme],
AC_HELP_STRING([--enable-aboutme],
[Enable about-me capplet]),,
enable_aboutme=$enableval)
[enable_aboutme=no])
AC_MSG_RESULT([$enable_aboutme])
if test "x$enable_aboutme" = "xyes"; then
LIBEBOOK_REQUIREMENT="libebook-1.2 >= 1.3.0"
AC_MSG_CHECKING(for evolution-data-server)
if $PKG_CONFIG --exists libebook-1.2; then
AC_MSG_RESULT(yes)
LIBEBOOK_REQUIREMENT="libebook-1.2 >= 1.3.0"
AC_DEFINE(BUILD_ABOUTME, 1, Build the about-me capplet)
PKG_CHECK_MODULES(LIBEBOOK, libebook-1.2)
fi
else
AC_MSG_RESULT(no)
fi
if test -n "$LIBEBOOK_REQUIREMENT"; then