diff --git a/xapian-core/configure.ac b/xapian-core/configure.ac
a
|
b
|
if test x$USE_MAINTAINER_MODE = xyes; then
|
595 | 595 | fi |
596 | 596 | |
597 | 597 | AC_ARG_ENABLE([64bit_docid], |
598 | | [AS_HELP_STRING([--enable-64bit-docid], [enable 64bit docid [default=no]])], |
| 598 | [AS_HELP_STRING([--enable-64bit-docid], [enable 64bit docid])], |
599 | 599 | [case ${enableval} in |
600 | 600 | yes|no) ;; |
601 | 601 | *) AC_MSG_ERROR([bad value ${enableval} for --enable-64bit-docid]) ;; |
… |
… |
AC_ARG_ENABLE([64bit_docid],
|
603 | 603 | [enable_64bit_docid=no]) |
604 | 604 | |
605 | 605 | AC_ARG_ENABLE([64bit_termcount], |
606 | | [AS_HELP_STRING([--enable-64bit-termcount], [enable 64bit termcount [default=no]])], |
| 606 | [AS_HELP_STRING([--enable-64bit-termcount], [enable 64bit termcount])], |
607 | 607 | [case ${enableval} in |
608 | 608 | yes|no) ;; |
609 | 609 | *) AC_MSG_ERROR([bad value ${enableval} for --enable-64bit-termcount]) ;; |
… |
… |
AC_ARG_ENABLE([64bit_termcount],
|
611 | 611 | [enable_64bit_termcount=no]) |
612 | 612 | |
613 | 613 | AC_ARG_ENABLE([64bit_termpos], |
614 | | [AS_HELP_STRING([--enable-64bit-termpos], [enable 64bit termpos [default=no]])], |
| 614 | [AS_HELP_STRING([--enable-64bit-termpos], [enable 64bit termpos])], |
615 | 615 | [case ${enableval} in |
616 | 616 | yes|no) ;; |
617 | 617 | *) AC_MSG_ERROR([bad value ${enableval} for --enable-64bit-termpos]) ;; |
… |
… |
dnl ***************************
|
830 | 830 | |
831 | 831 | dnl Check which database backends should be built. |
832 | 832 | |
833 | | AC_DEFUN([_XAPIAN_BACKEND_ENABLE], |
| 833 | AC_DEFUN([XAPIAN_BACKEND_ENABLE], |
834 | 834 | [AC_ARG_ENABLE([backend_$1], |
835 | | [AS_HELP_STRING([--enable-backend-$1], [build the $1 database backend [default=$3]])], |
| 835 | [AS_HELP_STRING([--disable-backend-$1], [don't build the $1 database backend])], |
836 | 836 | [case $enableval in |
837 | 837 | yes|no) ;; |
838 | 838 | *) AC_MSG_ERROR([Invalid option: '--enable-backend-$1=$enableval']) ;; |
839 | | esac], [enable_backend_$1=$2]) |
840 | | ]) |
841 | | |
842 | | AC_DEFUN([XAPIAN_BACKEND_ENABLE], |
843 | | [_XAPIAN_BACKEND_ENABLE([$1], |
844 | | m4_default([$2], [yes]), |
845 | | m4_default([$3], [yes])) |
| 839 | esac], [enable_backend_$1=yes]) |
846 | 840 | ]) |
847 | 841 | |
848 | 842 | dnl When adding a new backend, update INSTALL too. |
… |
… |
case $host_os in
|
857 | 851 | default_enable_backend_remote=no |
858 | 852 | ;; |
859 | 853 | esac |
860 | | XAPIAN_BACKEND_ENABLE([remote], [$default_enable_backend_remote], [yes (except for MSDOS)]) |
| 854 | |
| 855 | AC_ARG_ENABLE([backend_remote], |
| 856 | [AS_HELP_STRING([--disable-backend-remote], [don't build the $1 database backend [default=yes (except for MSDOS)]])], |
| 857 | [case $enableval in |
| 858 | yes|no) ;; |
| 859 | *) AC_MSG_ERROR([Invalid option: '--enable-backend-remote=$enableval']) ;; |
| 860 | esac], [enable_backend_remote=$default_enable_backend_remote]) |
861 | 861 | |
862 | 862 | win32_need_lws2_32=0 |
863 | 863 | case $enable_backend_chert$enable_backend_glass in |