In /usr/bin/pcap-config line 12:
exec_prefix="${prefix}"
^---------^ SC2034: exec_prefix appears unused. Verify use (or export if used externally).


In /usr/bin/pcap-config line 48:
	if [ "$show_cflags" = 1 -a "$show_libs" = 1 ]
                                ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.


In /usr/bin/pcap-config line 51:
	elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ]
                                  ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.


In /usr/bin/pcap-config line 69:
	if [ "$show_cflags" = 1 -a "$show_libs" = 1 ]
                                ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.


In /usr/bin/pcap-config line 72:
	elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ]
                                  ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- exec_prefix appears unused. Verif...
  https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] && [ q ] as [ p -a q...