Configure options - snort

From Genunix

Optional Features:

 --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 --enable-64bit-gcc        Try to compile 64bit (only tested on Sparc Solaris 9).
 --enable-maintainer-mode  enable make rules and dependencies not useful
                         (and sometimes confusing) to the casual installer
 --disable-dependency-tracking  speeds up one-time build
 --enable-dependency-tracking   do not reject slow dependency extractors
 --enable-shared[=PKGS]
                         build shared libraries [default=yes]
 --enable-static[=PKGS]
                         build static libraries [default=yes]
 --enable-fast-install[=PKGS]
                         optimize for fast installation [default=yes]
 --disable-libtool-lock  avoid locking (might break parallel builds)
 --enable-debug           Enable debugging options (bugreports and developers only)
 --enable-profile         Enable profiling options (developers only)
 --enable-pthread         Enable pthread support
 --enable-prelude         Enable Prelude Hybrid IDS support
 --enable-sourcefire      Enable Sourcefire specific build options
 --enable-rulestate       Enable seperation of Rule State from Rule definition
 --enable-dynamicplugin   Enable Ability to dynamically load preprocessors, detection engine, and rules lib
 --enable-timestats       Enable TimeStats functionality
 --enable-perfprofiling   Enable preprocessor and rule performance profiling
 --enable-linux-smp-stats Enable statistics reporting through proc
 --enable-inline          Use the libipq interface for inline snort
 --enable-ipfw            Enable ipfw Divert mode for use with inline
 --enable-flexresp        Flexible Responses on hostile connection attempts
 --enable-flexresp2       NEW Flexible Responses on hostile connection attempts
 --enable-react           Intercept and terminate offending HTTP accesses

Optional Packages:

 --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 --with-pic              try to use only PIC/non-PIC objects [default=use
                         both]
 --with-tags[=TAGS]
                         include additional configurations [automatic]
 --with-libpcap-includes=DIR  libpcap include directory
 --with-libpcap-libraries=DIR  libpcap library directory
 --with-libpcre-includes=DIR  libpcre include directory
 --with-libpcre-libraries=DIR  libpcre library directory
 --with-libnet-includes=DIR   libnet include directory
 --with-libnet-libraries=DIR  libnet library directory
 --with-dnet-includes=DIR   libdnet include directory
 --with-dnet-libraries=DIR  libdnet library directory
 --with-mysql=DIR        support for mysql
 --with-odbc=DIR         support for odbc
 --with-postgresql=DIR   support for postgresql
 --with-pgsql-includes=DIR  postgresql include directory
 --with-oracle=DIR       support for oracle
 --with-libprelude-prefix=PFX   Prefix where libprelude is installed (optional)
 --with-libipq-includes=DIR  libipq include directory
 --with-libipq-libraries=DIR  libipq library directory

Some influential environment variables:

 CC          C compiler command
 CFLAGS      C compiler flags
 LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
             nonstandard directory <lib dir>
 CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
             headers in a nonstandard directory <include dir>
 CPP         C preprocessor
 CXX         C++ compiler command
 CXXFLAGS    C++ compiler flags
 CXXCPP      C++ preprocessor
 F77         Fortran 77 compiler command
 FFLAGS      Fortran 77 compiler flags

Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations.