X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=configure;h=09f4650c4d8256cf49cff86810169d0210b98afb;hb=4767e89bc783ba01147a4adf545ee305809a46c9;hp=1d430b9c9542f95e293e2ba5fcde90e8588ac6d0;hpb=57b4ef6f30d41cd14aa570b329841fc2082260ff;p=notmuch diff --git a/configure b/configure index 1d430b9c..09f4650c 100755 --- a/configure +++ b/configure @@ -556,6 +556,18 @@ EOF exit 1 fi +printf "Checking for canonicalize_file_name... " +if ${CC} -o compat/have_canonicalize_file_name "$srcdir"/compat/have_canonicalize_file_name.c > /dev/null 2>&1 +then + printf "Yes.\n" + have_canonicalize_file_name=1 +else + printf "No (will use our own instead).\n" + have_canonicalize_file_name=0 +fi +rm -f compat/have_canonicalize_file_name + + printf "Checking for getline... " if ${CC} -o compat/have_getline "$srcdir"/compat/have_getline.c > /dev/null 2>&1 then @@ -800,6 +812,10 @@ bash_completion_dir = ${BASHCOMPLETIONDIR:=\$(sysconfdir)/bash_completion.d} # The directory to which zsh completions files should be installed zsh_completion_dir = ${ZSHCOMLETIONDIR:=\$(prefix)/share/zsh/functions/Completion/Unix} +# Whether the getline function is available (if not, then notmuch will +# build its own version) +HAVE_CANONICALIZE_FILE_NAME = ${have_canonicalize_file_name} + # Whether the getline function is available (if not, then notmuch will # build its own version) HAVE_GETLINE = ${have_getline}