Embed newlines in AC_MSG_* output

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


What is the right way to embed newlines in AC_MSG_FAIL or other AC_MSG_*

I have a wordy message I want to produce when bailing out of configure when
a security feature was requested but can't be provided due to missing
dependencies.  This is for NTP, and previously the option would silently
fall back to building an insecure configuration, but I want to bring it up
to current best practices and croak loudly if a requested security-related
option can't be fulfilled.

I tried:

[--enable-openssl-random was used but no suitable SSL library was\
found.  Remove --enable-openssl-random if you wish to build without\
a cryptographically secure RNG.\
WARNING: Use of ntp-keygen without a secure RNG may generate keys\
that are predictable.])

but it still came out as one long line broken randomly depending on
terminal width, where I want to break on words before ~72 chars.

Dave Hart

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux