NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 6771


Ignore:
Timestamp:
May 8, 2014, 4:26:56 PM (3 years ago)
Author:
bless@…
Message:
  • new switch enable-trace
Location:
protlib/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protlib/trunk/configure.ac

    r6765 r6771  
    5555AM_CONDITIONAL(PROTLIB_DISABLE_LOGGING, test "$protlib_logging" = no)
    5656
     57
     58# parameter - enable pTRACE pTRACE0 and pHEARTBEAT
     59AC_ARG_ENABLE([trace],
     60        [AS_HELP_STRING([--enable-trace], [enable trace logging messages  (default: no)])],
     61        [enable_log_trace=$enableval],
     62        [enable_log_trace=no])         
     63AM_CONDITIONAL(ENABLE_LOG_TRACE, test $enable_log_trace = "yes")
     64
    5765AC_ARG_ENABLE([rao],
    5866        [AS_HELP_STRING([--enable-rao], [compile with rout alert option support (default: disabled)])],
     
    8088        AC_CHECK_FILE([/usr/include/libnetfilter_queue], [NETFILTER_QUEUE_INCLUDE=" -I /usr/include/libnetfilter_queue"], [])
    8189else
     90        AC_CHECK_FILE([/usr/include/libnetfilter_queue], [NETFILTER_QUEUE_INCLUDE=" -I /usr/include/libnetfilter_queue"], [])
    8291        AC_CHECK_LIB([ipq], [ipq_get_packet],,[AC_MSG_ERROR([cannot find libipq, probably you need to install iptables-dev(el) first])])
    83         AC_CHECK_FILE([/usr/include/libipq], [NETFILTER_QUEUE_INCLUDE=" -I /usr/include/libipq"], [])
    8492fi
    8593
  • protlib/trunk/src/Makefile.am

    r6765 r6771  
    9191endif
    9292
     93if ENABLE_LOG_TRACE
     94AM_CXXFLAGS += -DTRACE_ENABLED
     95endif
     96
     97
    9398if PROTLIB_DISABLE_LOGGING
    9499AM_CXXFLAGS += -D_NO_LOGGING
Note: See TracChangeset for help on using the changeset viewer.