Kill --without-cmis option that is noop anyway

This commit is contained in:
Fridrich Štrba
2011-10-06 15:31:42 +02:00
parent 46da2ed6be
commit e9ee46c22c

View File

@@ -522,11 +522,6 @@ AC_ARG_ENABLE(release-build,
dnl =================================================================== dnl ===================================================================
dnl Optional Packages (--with/without-) dnl Optional Packages (--with/without-)
dnl =================================================================== dnl ===================================================================
AC_ARG_WITH(cmis,
AS_HELP_STRING([--without-cmis],
[Disable experimental CMIS interface.]),
)
AC_ARG_WITH(gnu-patch, AC_ARG_WITH(gnu-patch,
AS_HELP_STRING([--with-gnu-patch], AS_HELP_STRING([--with-gnu-patch],
[Specify location of GNU patch on Solaris or FreeBSD.]), [Specify location of GNU patch on Solaris or FreeBSD.]),
@@ -4627,22 +4622,20 @@ AC_SUBST(VISIO_LIBS)
dnl =================================================================== dnl ===================================================================
dnl Check for system libcmis dnl Check for system libcmis
dnl =================================================================== dnl ===================================================================
if test "x$with_cmis" != "xno" ; then AC_MSG_CHECKING([which libcmis to use])
AC_MSG_CHECKING([which libcmis to use]) if test -n "$with_system_libcmis" -o -n "$with_system_libs" && \
if test -n "$with_system_libcmis" -o -n "$with_system_libs" && \ test "$with_system_libcmis" != "no"; then
test "$with_system_libcmis" != "no"; then AC_MSG_RESULT([external])
AC_MSG_RESULT([external]) SYSTEM_LIBCMIS=YES
SYSTEM_LIBCMIS=YES PKG_CHECK_MODULES( LIBCMIS, libcmis-0.2 )
PKG_CHECK_MODULES( LIBCMIS, libcmis-0.2 ) else
else AC_MSG_RESULT([internal])
AC_MSG_RESULT([internal]) SYSTEM_LIBCMIS=NO
SYSTEM_LIBCMIS=NO BUILD_TYPE="$BUILD_TYPE LIBCMIS"
BUILD_TYPE="$BUILD_TYPE LIBCMIS"
fi
AC_SUBST(SYSTEM_LIBCMIS)
AC_SUBST(LIBCMIS_CFLAGS)
AC_SUBST(LIBCMIS_LIBS)
fi fi
AC_SUBST(SYSTEM_LIBCMIS)
AC_SUBST(LIBCMIS_CFLAGS)
AC_SUBST(LIBCMIS_LIBS)
dnl =================================================================== dnl ===================================================================