Kaydet (Commit) a06ccbd9 authored tarafından Pedro Giffuni's avatar Pedro Giffuni

Disable binfilter by default: add new option --enable-binfilter for those interested.

üst 59995b7e
...@@ -307,8 +307,8 @@ AC_ARG_ENABLE(kde4, ...@@ -307,8 +307,8 @@ AC_ARG_ENABLE(kde4,
if you want to support both KDE3 and KDE4. if you want to support both KDE3 and KDE4.
],,) ],,)
AC_ARG_ENABLE(binfilter, AC_ARG_ENABLE(binfilter,
[ --disable-binfilter Disable legacy binary file formats filters [ --enable-binfilter Enable legacy binary file formats filters
],,if ! test -d ./binfilter; then enable_binfilter=no; fi) ],,)
AC_ARG_ENABLE(rpath, AC_ARG_ENABLE(rpath,
[ --disable-rpath Disable the use of relative paths in shared libraries [ --disable-rpath Disable the use of relative paths in shared libraries
],,) ],,)
...@@ -1433,13 +1433,13 @@ dnl =================================================================== ...@@ -1433,13 +1433,13 @@ dnl ===================================================================
dnl Disable legacy binary file formats filters dnl Disable legacy binary file formats filters
dnl =================================================================== dnl ===================================================================
AC_MSG_CHECKING([whether to enable filters for legacy binary file formats (StarOffice 5.2)]) AC_MSG_CHECKING([whether to enable filters for legacy binary file formats (StarOffice 5.2)])
if test "$enable_binfilter" = "no"; then if test "$enable_binfilter" = "yes"; then
WITH_BINFILTER="NO"
AC_MSG_RESULT([no])
else
WITH_BINFILTER="YES" WITH_BINFILTER="YES"
BUILD_TYPE="$BUILD_TYPE BINFILTER" BUILD_TYPE="$BUILD_TYPE BINFILTER"
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else
WITH_BINFILTER="NO"
AC_MSG_RESULT([no])
fi fi
AC_SUBST(WITH_BINFILTER) AC_SUBST(WITH_BINFILTER)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment