aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac17
1 files changed, 16 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d17dc2b70..e53aa02ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -390,6 +390,21 @@ AC_MSG_RESULT([$have_psm])
AM_CONDITIONAL([HAVE_MOZILLA_PSM],[test "x$have_psm" = "xyes"])
+dnl This is only present on toolkit
+
+AC_MSG_CHECKING([for toolkit's nsITypeAheadFind])
+
+AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[#include <fastfind/nsITypeAheadFind.h>]],
+ [[nsITypeAheadFind *p;
+ p->SetDocShell(nsnull);]]
+ )],
+ [AC_DEFINE([HAVE_TYPEAHEADFIND],[1],[Define if we have tookit's typeaheadfind]) result=yes],
+ [result=no])
+
+AC_MSG_RESULT([$result])
+
dnl restore flags
CPPFLAGS=$_SAVE_CPPFLAGS
CXXFLAGS=$_SAVE_CXXFLAGS
@@ -483,7 +498,7 @@ dnl ******
dnl Python
dnl ******
-AC_MSG_CHECKING([whether python support is requested])
+AC_MSG_CHECKING([whether Python support is requested])
AC_ARG_ENABLE([python],
AS_HELP_STRING([--enable-python],[Enable python support]),