Skip to content

Commit

Permalink
....I..... [ZBX-21064] fixed ./configure help message formatting for …
Browse files Browse the repository at this point in the history
…pcre and pcre2
  • Loading branch information
Yur11 committed Jun 8, 2022
1 parent cf1e04e commit 8e3cae8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions m4/pcre.m4
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ AC_DEFUN([LIBPCRE_CHECK_CONFIG],
# process --with-* flags
#
pcre_help_string="use libpcre from given base install directory (DIR), default is to search through a number of common places for the libpcre files."
AC_ARG_WITH([libpcre],[If you want to specify libpcre installation directories: AC_HELP_STRING([--with-libpcre@<:@=DIR@:>@], ["$pcre_help_string"])], [
AC_ARG_WITH([libpcre],[
If you want to specify libpcre installation directories:
AC_HELP_STRING([--with-libpcre@<:@=DIR@:>@], [use libpcre from given base install directory (DIR), default is to search through a number of common places for the libpcre files.])],
[
if test "$withval" != "no"; then
want_libpcre=yes
if test "$withval" != "yes"; then
Expand Down
7 changes: 4 additions & 3 deletions m4/pcre2.m4
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ AC_DEFUN([LIBPCRE2_CHECK_CONFIG],
# process --with-* flags
#
pcre2_help_string="use libpcre2 from given base install directory (DIR), default is to search through a number of common places for the libpcre2 files."
AC_ARG_WITH([libpcre2],[If you want to specify libpcre2 installation directories: AC_HELP_STRING([--with-libpcre2@<:@=DIR@:>@], ["$pcre2_help_string"])], [
AC_ARG_WITH([libpcre2],[
If you want to specify libpcre2 installation directories:
AC_HELP_STRING([--with-libpcre2@<:@=DIR@:>@], [use libpcre2 from given base install directory (DIR), default is to search through a number of common places for the libpcre2 files.])],
[
if test "$withval" != "no"; then
want_libpcre2=yes
if test "$withval" != "yes"; then
Expand Down

0 comments on commit 8e3cae8

Please sign in to comment.