From 1c4e8a38cd0d419cdb0f00ed9ee1b5a5063b2a72 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 19 Nov 2004 20:15:25 +0000 Subject: Add --disable-filepicker to use when the mozilla build itself has native 2004-11-19 Christian Persch * configure.in: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Add --disable-filepicker to use when the mozilla build itself has native gtk+ filepicker. --- configure.in | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 468f227bd..57c20175c 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([GNOME Web browser], [1.4.5.90], +AC_INIT([GNOME Web browser], [1.4.6], [http://bugzilla.gnome.org/enter_bug.cgi?product=epiphany],[epiphany]) GNOME_COMMON_INIT @@ -375,6 +375,18 @@ fi MOZILLA_WARN_CXXFLAGS="-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor" AC_SUBST(MOZILLA_WARN_CXXFLAGS) +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 neede when the mozilla build itself has native gtk+ filepicker enabled (default:enabled)]), + [filepicker=$enableval], + [filepicker=yes]) +AC_MSG_RESULT([$filepicker]) + +AM_CONDITIONAL([ENABLE_FILEPICKER],[test "x$filepicker" = "xyes"]) +if test "x$filepicker" = "xyes"; then + AC_DEFINE([ENABLE_FILEPICKER],[1],[Define to enable the native filepicker]) +fi + dnl ******************************* dnl Internationalization dnl ******************************* -- cgit v1.2.3