diff options
author | Matthew Ahrens <[email protected]> | 2020-06-22 09:46:37 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-22 09:46:37 -0700 |
commit | 540493ba4f92df1cd3aa18336734cc07702b8bfb (patch) | |
tree | 5e30c8ef74a213c9471fece4c697d289da3c1444 /config | |
parent | 745ace3f24299d0c319950db53012db2a0096d50 (diff) |
Clarify comments in config/*.m4, vdev_geom.c, zfs_allow_*.ksh
Rephrase comments to be more clear.
Reviewed-by: Serapheim Dimitropoulos <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Matthew Ahrens <[email protected]>
Closes #10481
Diffstat (limited to 'config')
-rw-r--r-- | config/iconv.m4 | 6 | ||||
-rw-r--r-- | config/lib-link.m4 | 4 | ||||
-rw-r--r-- | config/lib-prefix.m4 | 7 |
3 files changed, 8 insertions, 9 deletions
diff --git a/config/iconv.m4 b/config/iconv.m4 index fc915fde6..99b339a9f 100644 --- a/config/iconv.m4 +++ b/config/iconv.m4 @@ -29,9 +29,9 @@ AC_DEFUN([AM_ICONV_LINK], AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, - dnl because if the user has installed libiconv and not disabled its use - dnl via --without-libiconv-prefix, he wants to use it. The first - dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. + dnl so that if libiconv is installed, it will be used (unless disabled + dnl via --without-libiconv-prefix). The first AC_LINK_IFELSE will + dnl then fail, the second AC_LINK_IFELSE will succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) diff --git a/config/lib-link.m4 b/config/lib-link.m4 index 01766c315..041f976d7 100644 --- a/config/lib-link.m4 +++ b/config/lib-link.m4 @@ -67,8 +67,8 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, - dnl because if the user has installed lib[]Name and not disabled its use - dnl via --without-lib[]Name-prefix, he wants to use it. + dnl so that if lib[]Name is installed, it will be used (unless + dnl disabled via --without-lib[]Name-prefix). ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) diff --git a/config/lib-prefix.m4 b/config/lib-prefix.m4 index 8adb17bb9..f7db2371d 100644 --- a/config/lib-prefix.m4 +++ b/config/lib-prefix.m4 @@ -8,10 +8,9 @@ dnl From Bruno Haible. dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that -dnl a user will want packages to use other packages he previously installed -dnl with the same --prefix option. -dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate -dnl libraries, but is otherwise very convenient. +dnl packages should use other packages that are installed with the same +dnl --prefix option. This macro is not needed if only AC_LIB_LINKFLAGS is +dnl used to locate libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) |