Revision 1211c6ed configure.ac

b/configure.ac
623 623
HTOOLS=yes
624 624
AC_SUBST(HTOOLS)
625 625

  
626
# --enable-split-query
627
ENABLE_SPLIT_QUERY=
628
AC_ARG_ENABLE([split-query],
629
  [AS_HELP_STRING([--enable-split-query],
630
  [enable use of custom query daemon via confd])],
631
  [[case "$enableval" in
632
      no)
633
        enable_split_query=False
634
        ;;
635
      yes)
636
        enable_split_query=True
637
        ;;
638
      *)
639
        echo "Invalid value for enable-confd '$enableval'"
640
        exit 1
641
        ;;
642
    esac
643
  ]],
644
  [[case "x${has_confd}x" in
645
     xTruex)
646
       enable_split_query=True
647
       ;;
648
     *)
649
       enable_split_query=False
650
       ;;
651
   esac]])
652
AC_SUBST(ENABLE_SPLIT_QUERY, $enable_split_query)
653

  
654
if test x$enable_split_query = xTrue -a x$has_confd != xTrue; then
655
  AC_MSG_ERROR([Split queries require the confd daemon])
656
fi
657

  
658
if test x$enable_split_query = xTrue; then
659
  AC_MSG_NOTICE([Split query functionality enabled])
660
fi
661

  
662 626
# Check for HsColour
663 627
HS_APIDOC=no
664 628
AC_ARG_VAR(HSCOLOUR, [HsColour path])

Also available in: Unified diff