| # this shell script is designed to merely dump the configuration |
| # information about how the net-snmp package was compiled. The |
| # information is particularily useful for applications that need to |
| # link against the net-snmp libraries and hence must know about any |
| # other libraries that must be linked in as well. |
| if test "x$1" = "x"; then |
| # should be different some day |
| if test "x$usage" = "xyes"; then |
| echo " net-snmp-config [--cflags] [--agent-libs] [--libs] [--version]" |
| echo "You can then compile agent subagents using something like:" |
| echo ' cc -o mysubagent mysubagent.c `net-snmp-config --agent-libs`' |