]> git.ipfire.org Git - thirdparty/curl.git/commit
configure: fix --help alignment
authorEmanuele Torre <torreemanuele6@gmail.com>
Thu, 18 May 2023 19:16:56 +0000 (21:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 18 May 2023 21:49:07 +0000 (23:49 +0200)
commit81f3c4bc650421aa43b9045c8cb73af975c1dcc2
treeb361293c3973dd2d88b7cf17192d39caae3382c1
parent446061e6cb4b0e9515df61cc9d382be410285e13
configure: fix --help alignment

AC_ARG_ENABLE seems to only trim off whitespace from the start and end
of its help-string argument, while prepending two spaces of indentation
to all lines.

This means that the two spaces of indentation between the --enable-rtsp
and the --disable-rtsp line were not removed causing ./configure --help
to print:

  Optional Features:
    [...]
    --enable-rtsp           Enable RTSP support
      --disable-rtsp          Disable RTSP support

I removed the indentation to fix the issue, now it prints:

  Optional Features:
    [...]
    --enable-rtsp           Enable RTSP support
    --disable-rtsp          Disable RTSP support

The --enable-hsts and --disable-hsts lines had the same problems, and
have been fixed too.

Closes #11142
configure.ac