X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=configure;h=09f4650c4d8256cf49cff86810169d0210b98afb;hb=af5c3afa91cc29268c6754ea70f15cae30f22403;hp=1d430b9c9542f95e293e2ba5fcde90e8588ac6d0;hpb=134dbadaf517c6962c2588f36f1f8782277e2f95;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}