Added --disable-cmis flag for use while the feature is too unstable

This commit is contained in:
Cédric Bosdonnat
2011-10-03 14:10:10 +02:00
parent bee695a32d
commit 5bd2890a56
7 changed files with 27 additions and 4 deletions

View File

@@ -519,6 +519,11 @@ AC_ARG_ENABLE(release-build,
See http://wiki.documentfoundation.org/DevBuild]), See http://wiki.documentfoundation.org/DevBuild]),
,) ,)
AC_ARG_ENABLE(cmis,
AS_HELP_STRING([--disable-cmis],
[Disable CMIS experimental feature.]),
,enable_cmis=yes)
dnl =================================================================== dnl ===================================================================
dnl Optional Packages (--with/without-) dnl Optional Packages (--with/without-)
dnl =================================================================== dnl ===================================================================
@@ -7026,6 +7031,12 @@ if test "$enable_cairo_canvas" = "yes" ; then
fi fi
AC_SUBST(ENABLE_CAIRO_CANVAS) AC_SUBST(ENABLE_CAIRO_CANVAS)
ENABLE_CMIS="FALSE"
if test "$enable_cmis" = "yes" ; then
ENABLE_CMIS="TRUE"
fi
AC_SUBST(ENABLE_CMIS)
dnl =================================================================== dnl ===================================================================
dnl Check whether the GStreamer libraries are available. dnl Check whether the GStreamer libraries are available.
dnl =================================================================== dnl ===================================================================

View File

@@ -27,9 +27,11 @@
$(eval $(call gb_Module_Module,libcmis)) $(eval $(call gb_Module_Module,libcmis))
ifneq ($(ENABLE_CMIS),)
$(eval $(call gb_Module_add_targets,libcmis,\ $(eval $(call gb_Module_add_targets,libcmis,\
ExternalLib_libcmis \ ExternalLib_libcmis \
)) ))
endif
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:

View File

@@ -221,6 +221,10 @@ my_components += gconfbe1
my_components += ucpgio my_components += ucpgio
.END .END
.IF "$(ENABLE_CMIS)" != ""
my_components += ucpcmis
.END
.IF "$(ENABLE_GNOMEVFS)" != "" .IF "$(ENABLE_GNOMEVFS)" != ""
my_components += ucpgvfs my_components += ucpgvfs
.END .END

View File

@@ -186,8 +186,7 @@ End
#endif #endif
#ifndef WNT #if ENABLE_CMIS
File gid_File_Lib_Cmis File gid_File_Lib_Cmis
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
@@ -206,6 +205,7 @@ File gid_File_Lib_Cmis
#endif #endif
#endif #endif
End End
#endif
#endif #endif
@@ -1356,7 +1356,7 @@ SPECIAL_COMPONENT_LIB_FILE(gid_File_Ucpexpand1, ucpexpand1.uno)
SPECIAL_COMPONENT_LIB_FILE(gid_File_Ucpodma1, ucpodma1) SPECIAL_COMPONENT_LIB_FILE(gid_File_Ucpodma1, ucpodma1)
#endif #endif
#ifndef WNT #if ENABLE_CMIS
SPECIAL_COMPONENT_LIB_FILE(gid_File_Ucpcmis, ucpcmis1.uno) SPECIAL_COMPONENT_LIB_FILE(gid_File_Ucpcmis, ucpcmis1.uno)
#endif #endif

View File

@@ -326,6 +326,9 @@ Module gid_Module_Root_Files_5
#endif #endif
#if ! defined SYSTEM_LIBGSF #if ! defined SYSTEM_LIBGSF
gid_File_Lib_Libgsf, gid_File_Lib_Libgsf,
#endif
#if ENABLE_CMIS
gid_File_Lib_Cmis,
#endif #endif
gid_File_Lib_Dict_Ja, gid_File_Lib_Dict_Ja,
gid_File_Lib_Dict_Zh, gid_File_Lib_Dict_Zh,
@@ -340,7 +343,6 @@ Module gid_Module_Root_Files_5
gid_File_Lib_Ldapbe2, gid_File_Lib_Ldapbe2,
gid_File_Lib_Comphelper2, gid_File_Lib_Comphelper2,
gid_File_Lib_Cached1, gid_File_Lib_Cached1,
gid_File_Lib_Cmis,
gid_File_Lib_Curl, gid_File_Lib_Curl,
gid_Unixlink_File_Lib_Curl, gid_Unixlink_File_Lib_Curl,
gid_File_Lib_Db, gid_File_Lib_Db,

View File

@@ -1496,6 +1496,7 @@ ToFile( "ENABLE_STATIC_GTK", "@ENABLE_STATIC_GTK@", "e" );
ToFile( "SPLIT_APP_MODULES", "@SPLIT_APP_MODULES@","e" ); ToFile( "SPLIT_APP_MODULES", "@SPLIT_APP_MODULES@","e" );
ToFile( "SPLIT_OPT_FEATURES","@SPLIT_OPT_FEATURES@","e" ); ToFile( "SPLIT_OPT_FEATURES","@SPLIT_OPT_FEATURES@","e" );
ToFile( "ENABLE_CAIRO_CANVAS", "@ENABLE_CAIRO_CANVAS@", "e" ); ToFile( "ENABLE_CAIRO_CANVAS", "@ENABLE_CAIRO_CANVAS@", "e" );
ToFile( "ENABLE_CMIS", "@ENABLE_CMIS@", "e" );
ToFile( "ENABLE_OPENGL", "@ENABLE_OPENGL@", "e" ); ToFile( "ENABLE_OPENGL", "@ENABLE_OPENGL@", "e" );
ToFile( "ENABLE_PDFIMPORT", "@ENABLE_PDFIMPORT@", "e" ); ToFile( "ENABLE_PDFIMPORT", "@ENABLE_PDFIMPORT@", "e" );
ToFile( "ENABLE_MINIMIZER", "@ENABLE_MINIMIZER@","e" ); ToFile( "ENABLE_MINIMIZER", "@ENABLE_MINIMIZER@","e" );

View File

@@ -37,6 +37,8 @@ NO_BSYMBOLIC=TRUE
.INCLUDE: settings.mk .INCLUDE: settings.mk
.IF "$(L10N_framework)"=="" .IF "$(L10N_framework)"==""
.IF "$(ENABLE_CMIS)"!=""
# no "lib" prefix # no "lib" prefix
DLLPRE = DLLPRE =
@@ -59,6 +61,7 @@ SHL1STDLIBS=\
SHL1VERSIONMAP=$(SOLARENV)/src/component.map SHL1VERSIONMAP=$(SOLARENV)/src/component.map
.ENDIF # "$(ENABLE_CMIS)"!=""
.ENDIF # L10N_framework .ENDIF # L10N_framework
.INCLUDE: target.mk .INCLUDE: target.mk