]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: correct linter syntax complaints in M4
authorAlex Ameen <alex.ameen.tx@gmail.com>
Tue, 8 Feb 2022 19:44:03 +0000 (13:44 -0600)
committerAlex Ameen <alex.ameen.tx@gmail.com>
Tue, 8 Feb 2022 19:44:03 +0000 (13:44 -0600)
* m4/libtool.m4: remove unnecessary braces on variable derefence.
* m4/ltargz.m4: change quote style for inline comment.

m4/libtool.m4
m4/ltargz.m4

index cddd1d415f160df3c59dded89ed479b1408c6ca0..79a2451ef520f20ca43211f03a28a05b241a773e 100644 (file)
@@ -1070,7 +1070,7 @@ _LT_EOF
     darwin1.*)
       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     darwin*)
-      case ${MACOSX_DEPLOYMENT_TARGET},$host in
+      case $MACOSX_DEPLOYMENT_TARGET,$host in
         10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
         *)
index 57d3fb138ef90a2d35ef65c3e8ee6472e31056f8..c54408252c90cb3fe49cd0dc4317687749557fc9 100644 (file)
@@ -11,7 +11,7 @@
 # serial 2 ltargz.m4
 
 AC_DEFUN([LT_FUNC_ARGZ], [
-dnl Required for use of `$SED' in Cygwin configuration.
+dnl Required for use of '$SED' in Cygwin configuration.
 AC_REQUIRE([AC_PROG_SED])dnl
 AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])