X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=configure;h=66aaedbe19081763b2afbdacd625f6f8cd0fef11;hb=ee6b5c372f724d2352d155736b81d2d46130c929;hp=1a8e939f8ad6d5e09651e9153579ef7d661a586e;hpb=0bd11b654e048a2ba562137c76d51296808b1a5d;p=notmuch diff --git a/configure b/configure index 1a8e939f..66aaedbe 100755 --- a/configure +++ b/configure @@ -360,6 +360,14 @@ else have_valgrind=0 fi +printf "Checking for bash-completion (>= 1.90)... " +if pkg-config --atleast-version=1.90 bash-completion; then + printf "Yes.\n" +else + printf "No (will not install bash completion).\n" + WITH_BASH=0 +fi + if [ -z "${EMACSLISPDIR}" ]; then if pkg-config --exists emacs; then EMACSLISPDIR=$(pkg-config emacs --variable sitepkglispdir) @@ -441,6 +449,19 @@ else EOF fi +printf "Checking byte order... " +cat> _byteorder.c < +#include +uint32_t test = 0x34333231; +int main() { printf("%.4s\n", (const char*)&test); return 0; } +EOF +${CC} ${CFLAGS} _byteorder.c -o _byteorder > /dev/null 2>&1 +util_byte_order=$(./_byteorder) +echo $util_byte_order + +rm -f _byteorder _byteorder.c + if [ $errors -gt 0 ]; then cat <