In /usr/bin/antlr-config line 6:
datadir=${prefix}/share
^-----^ SC2034: datadir appears unused. Verify use (or export if used externally).


In /usr/bin/antlr-config line 24:
	exit $1
             ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	exit "$1"


In /usr/bin/antlr-config line 36:
		-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
                             ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
		-*=*) optarg=$(echo "$1" | sed 's/[-_a-zA-Z0-9]*=//') ;;


In /usr/bin/antlr-config line 37:
		*) optarg= ;;
                   ^----^ SC2034: optarg appears unused. Verify use (or export if used externally).


In /usr/bin/antlr-config line 56:
      case gcc in
           ^-^ SC2194: This word is constant. Did you forget the $ on a variable?

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- datadir appears unused. Verify us...
  https://www.shellcheck.net/wiki/SC2194 -- This word is constant. Did you fo...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...