Ticket #791: xapian-791-master.patch

File xapian-791-master.patch, 2.2 KB (added by Дилян Палаузов, 5 years ago)
  • xapian-core/configure.ac

    diff --git a/xapian-core/configure.ac b/xapian-core/configure.ac
    index baa2ca6bdea0..92066c6873a0 100644
    a b if test x$USE_MAINTAINER_MODE = xyes; then  
    603603fi
    604604
    605605AC_ARG_ENABLE([64bit_docid],
    606   [AS_HELP_STRING([--enable-64bit-docid], [enable 64bit docid [default=no]])],
     606  [AS_HELP_STRING([--enable-64bit-docid], [enable 64bit docid])],
    607607  [case ${enableval} in
    608608    yes|no) ;;
    609609  *) AC_MSG_ERROR([bad value ${enableval} for --enable-64bit-docid]) ;;
    AC_ARG_ENABLE([64bit_docid],  
    611611  [enable_64bit_docid=no])
    612612
    613613AC_ARG_ENABLE([64bit_termcount],
    614   [AS_HELP_STRING([--enable-64bit-termcount], [enable 64bit termcount [default=no]])],
     614  [AS_HELP_STRING([--enable-64bit-termcount], [enable 64bit termcount])],
    615615  [case ${enableval} in
    616616    yes|no) ;;
    617617  *) AC_MSG_ERROR([bad value ${enableval} for --enable-64bit-termcount]) ;;
    AC_ARG_ENABLE([64bit_termcount],  
    619619  [enable_64bit_termcount=no])
    620620
    621621AC_ARG_ENABLE([64bit_termpos],
    622   [AS_HELP_STRING([--enable-64bit-termpos], [enable 64bit termpos [default=no]])],
     622  [AS_HELP_STRING([--enable-64bit-termpos], [enable 64bit termpos])],
    623623  [case ${enableval} in
    624624    yes|no) ;;
    625625  *) AC_MSG_ERROR([bad value ${enableval} for --enable-64bit-termpos]) ;;
    AC_ARG_ENABLE([gpl-libxapian],  
    882882
    883883dnl Check which database backends should be built.
    884884
    885 AC_DEFUN([_XAPIAN_BACKEND_ENABLE],
     885AC_DEFUN([XAPIAN_BACKEND_ENABLE],
    886886  [AC_ARG_ENABLE([backend_$1],
    887887    [AS_HELP_STRING([--enable-backend-$1], [build the $1 database backend [default=$3]])],
    888888    [case $enableval in
    AC_DEFUN([_XAPIAN_BACKEND_ENABLE],  
    891891    esac], [enable_backend_$1=$2])
    892892  ])
    893893
    894 AC_DEFUN([XAPIAN_BACKEND_ENABLE],
    895   [_XAPIAN_BACKEND_ENABLE([$1],
    896     m4_default([$2], [yes]),
    897     m4_default([$3], [yes]))
    898   ])
    899 
    900894dnl When adding a new backend, update INSTALL too.
    901895XAPIAN_BACKEND_ENABLE([glass], [$enable_gpl_libxapian], [yes (unless --disable-gpl-libxapian)])
    902 XAPIAN_BACKEND_ENABLE([honey])
     896XAPIAN_BACKEND_ENABLE([honey], [yes], [yes])
    903897XAPIAN_BACKEND_ENABLE([inmemory], [$enable_gpl_libxapian], [yes (unless --disable-gpl-libxapian)])
    904898default_enable_backend_remote=$enable_gpl_libxapian
    905899case $host_os in