From 21d8584587847a64e89820b0b8e77cad7a8e0fd4 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 10 Aug 2005 12:47:43 +0000 Subject: Warn if nsIPassword.h isn't found. 2005-08-10 Christian Persch * configure.ac: Warn if nsIPassword.h isn't found. --- configure.ac | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8c180562e..a06605fb5 100644 --- a/configure.ac +++ b/configure.ac @@ -439,6 +439,7 @@ dnl Define this down here so it doesn't affect the API checks above AC_DEFINE([MOZILLA_INTERNAL_API],[1],[Define for access to internal mozilla API]) dnl Make sure we don't accidentally build without PSM support + AC_MSG_CHECKING([whether to include PSM support]) AC_ARG_ENABLE([--disable-psm], AS_HELP_STRING([psm],[Disable PSM support (default: enabled)]), @@ -461,13 +462,21 @@ if test "x$flavour" = "xmozilla"; then [Define if mozilla nsIPassword header is available])], [AC_CHECK_FILE([$MOZILLA_INCLUDE_ROOT/wallet/nsIPassword.h], [AC_DEFINE([HAVE_NSIPASSWORD_H],[1], - [Define if mozilla nsIPassword header is available])])]) + [Define if mozilla nsIPassword header is available]) have_password_h=yes])], + [have_password_h=no]) elif test "x$flavour" = "xtoolkit"; then AC_CHECK_FILE([$MOZILLA_INCLUDE_ROOT/passwordmgr/nsIPassword.h], [AC_DEFINE([HAVE_NSIPASSWORD_H],[1], - [Define if mozilla nsIPassword header is available])]) + [Define if mozilla nsIPassword header is available]) have_password_h=yes], + [have_password_h=no]) +fi + +if test "x$have_password_h" = "xno"; then + AC_MSG_WARN([nsIPassword.h not found; personal data manger will have no passwords support!]) fi +dnl Check whether to enable our filepicker component + AC_MSG_CHECKING([whether to enable native gtk+ filepicker]) AC_ARG_ENABLE([filepicker], AS_HELP_STRING([--enable-filepicker],[Whether to enable the gtk+ native filepicker; not needed when the mozilla build itself has native gtk+ filepicker enabled (default:enabled)]), -- cgit v1.2.3