nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Having configure Check for cc's -pedantic -ansi.


From: Ralph Corderoy
Subject: Re: [Nmh-workers] Having configure Check for cc's -pedantic -ansi.
Date: Sat, 29 Oct 2016 16:27:46 +0100

Hi David,

> I just committed a change to do this:
>
>     By default (with_tls=''), enable TLS if header and libs were
>         found.
>     If TLS requested (--with-tls with_tls=yes), error if header/lib
>         not found.
>     If TLS disabled (--without-tls with_tls=no), don't enable it.

Returning to that Mac OS X box to try it, I again went with the
defaults.

    $ sh build_nmh
    Install prefix [/usr/local/nmh]: 
    Locking type (dot|fcntl|flock|lockf) [determined by configure]: 
    MTS (smtp|sendmail/smtp|sendmail/pipe) [smtp]: 
    SMTP server(s), space separated [localhost]: 
    Cyrus SASL support [determined by configure]: 
    TLS support [determined by configure]: 
    build succeeded, build log is in nmh/build_nmh.log
    $ 

The last two could do with something indicating what the answers can be
if the default isn't wanted.

Selected log highlights.

    x86_64 Darwin 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 
2016; root:xnu-3789.1.32~3/RELEASE_X86_64
    commit 0969599eba5841ed5c2393195b524139ecc89cd5

    checking whether cc understands -c and -o together... rm: conftest.dSYM: is 
a directory
    yes
    checking whether termios.h defines TIOCGWINSZ... rm: conftest.dSYM: is a 
directory
    yes
    checking for ANSI C header files... rm: conftest.dSYM: is a directory
    rm: conftest.dSYM: is a directory
    yes

An `rm *' in a clean-up is finding a directory has been produced!?

    compiler                   : cc
    compiler flags             :  -g -ansi -pedantic -O2 -Wall -Wextra

It's clang, based on the later error messages.  A `cc -v' says

    Apple LLVM version 8.0.0 (clang-800.0.42.1)
    Target: x86_64-apple-darwin16.0.0
    Thread model: posix
    InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Log continues

    SASL support               : yes
    TLS support                : no
    OAuth support              : yes

    sbr/netsec.c:201:2: warning: 'sasl_dispose' is deprecated: first deprecated 
in macOS 10.11 [-Wdeprecated-declarations]
            sasl_dispose(&nsc->sasl_conn);
    19 warnings generated.

All 19 were about deprecated sasl functions.

    (1 test was not run)
    XFAIL: test/scan/test-header-parsing
    All 106 tests behaved as expected (1 expected failure)

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]