]>
git.ipfire.org Git - people/ms/suricata.git/blob - libsuricata-config.in
4 exec_prefix
="@exec_prefix@"
5 includedir
="@includedir@"
7 LIBS
="@LIBS@ @RUST_LDADD@"
9 shared_lib
="-lsuricata"
10 static_lib
="-lsuricata_c -lsuricata_rust"
12 enable_non_bundled_htp
="@enable_non_bundled_htp@"
21 echo "usage: suricata-config [--cflags] [--libs] [--static]"
42 # If --static wasn't provided, use the static library if the shared
43 # library is not available.
44 if [ "$use_static" = "no" ]; then
45 if ! test -e "$libdir/libsuricata.so"; then
50 # If we're using a bundled htp, add it to the libs as well. It will
51 # already be present if we're use a non-bundled libhtp.
52 if [ "$enable_non_bundled_htp" = "no" ]; then
58 if [ "$show_cflags" = "yes" ]; then
59 output
="${output} -DHAVE_CONFIG_H -I$includedir/suricata"
62 if [ "$show_libs" = "yes" ]; then
63 output
="${output} -L$libdir $lib $LIBS"